You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above code applying data-editor=1 correctly to P tag when added after Enter key press. But when created a Numbered list / Bullet list and then remove Numbered list / Bullet list by clicking Numbered list / Bullet list icon from editor tools. In that case P tag applied to content without applying data-editor attribute to P tag.
Steps to reproduce issue:
1- Create Numbered list / Bullet list in editor
2- Select all Numbered list / Bullet list content and remove Numbered list / Bullet list by clicking Numbered list / Bullet list icon from editor tools.
The data-editor attribute should be apply to P tag when remove Numbered list / Bullet list by clicking Numbered list / Bullet list icon from editor tools.
The text was updated successfully, but these errors were encountered:
TinyMCE 5.2.0 was released to the community earlier this week, which contained a fix for this issue. Please let us know if you have any further issues.
I have used forced_root_block_attrs option to apply data-editor=1 attribute to P tags like below:
The above code applying data-editor=1 correctly to P tag when added after Enter key press. But when created a Numbered list / Bullet list and then remove Numbered list / Bullet list by clicking Numbered list / Bullet list icon from editor tools. In that case P tag applied to content without applying data-editor attribute to P tag.
Steps to reproduce issue:
1- Create Numbered list / Bullet list in editor
2- Select all Numbered list / Bullet list content and remove Numbered list / Bullet list by clicking Numbered list / Bullet list icon from editor tools.
You can check this on TinyMCE fiddle:
http://fiddle.tinymce.com/SQgaab/
Expected behavior:
The data-editor attribute should be apply to P tag when remove Numbered list / Bullet list by clicking Numbered list / Bullet list icon from editor tools.
The text was updated successfully, but these errors were encountered: