arthvadrr/easy-html-table-maker

MS Word formatting on paste

Closed this issue · 1 comments

Whenever pasting from Word into the editor inputs, styles (fonts, text-size, etc.) are being pasted as html, usually from text as a span.

The real problem is how messy the new HTML and styles are. Style properties are not allowed on child elements of the table element, only classes. The whole point of this tool is easy and clean html, after all.

It will likely be easier to disallow formatting to be pasted somehow, instead of trying to match it.

This will need to be done on paste (into the input), or maybe inputs support this out of the box somehow.

This has been solved by optionally disallowing tags