AztecEditor-Android icon indicating copy to clipboard operation
AztecEditor-Android copied to clipboard

Remove `style` attribute on html nodes when pasting

Open maxme opened this issue 6 years ago • 1 comments

Copy/paste with formatting works ok but we should think about removing the style and class attributes that come from the copied source. This will likely not work on the targeted site and this is a source of issues that makes paste with formatting a broken experience.

Demo video: https://bia.is/s/sTUo/paste-with-formatting-aztec.webm

maxme avatar Dec 05 '19 17:12 maxme

This related to this comment: https://github.com/wordpress-mobile/AztecEditor-Android/issues/829#issuecomment-517957383 (style="whitespace: pre").

maxme avatar Dec 05 '19 17:12 maxme