froala / wysiwyg-editor

The next generation Javascript WYSIWYG HTML Editor.
https://www.froala.com/wysiwyg-editor
Other
5.3k stars 675 forks source link

Removed style of table row after pasting the content in editor #4634

Open kundanSinghFworks opened 1 year ago

kundanSinghFworks commented 1 year ago
Expected behavior.

Pasting content should be same style.

Actual behavior.

When we are pasting some content from other website, After pasted the content I see style of table row tag got removed.

Steps to reproduce the problem.

JsFiddle Link :- https://jsfiddle.net/e7453bxn/ In Html there There are two content one is Froala Editor and other is our content. I just copy the other content and pasted in editor.

Editor version.

Any Version

Browser.

Chrome

Recording.

(A recording showing how to reproduce the problem)

HTML content file :- content.txt

Same thing copied to other rich text editor, It is working fine.

Copied table row element screenshot in website from where we copy:-

image

Pasted table row element screenshot in Froala:-

image
ramachandran-nagaraj commented 1 year ago

Jsfiddle with just the affected table rows: https://jsfiddle.net/sriram91/a1vx3zjf/7/ Looks like issue with class MsoNormal applied to content.