Hi,
Pasting text from Google Docs into a Block
field works quite well, but I noticed that additional <p>
tags will be added like this:
<li><p>text</p></li>
instead of <li>text</li>
<td><p>text</p></td>
instead of <td>text</td>
(Tables also include all the inline styles from Google Docs, but these I could remove with an HTML cleaning tool.)
Is there a way to remove the additional <p>
tags by default? Having them there makes styling more difficult.
Cheers,
Stefan
That’s a ProseMirror issue:
Thanks for the link!
For now, I might just convert the text on Google Docs to Markdown and then use a Markdown field.
Cheers,
Stefan