froala / wysiwyg-editor

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

Indentation convert the element into a list #4220

Closed mounir-ul closed 1 year ago

mounir-ul commented 3 years ago
Expected behavior.

The indent option should either add a class or a style attribute to the selected element <p style="margin-left: 20px;">SOME TEXT</p>

Actual behavior.

The indent option wraps the selected element on a bulleted list <ul><li style="list-style-type: none;"><ul><li><p style="margin-left: 20px;">SOME TEXT</p></li></ul></li></ul>

Steps to reproduce the problem.
  1. Go to https://froala.com/wysiwyg-editor
  2. Add some lines of data
  3. Click on Increase Indent option
Editor version.

v3.2.3 and above

Browser.

All major browsers

Recording.

https://www.awesomescreenshot.com/video/3521214

kishorethecoder commented 3 years ago

4186, same issue

AkshayCM commented 2 years ago

Thanks for your feedback. This issue is not reproducible or have been found to be fixed on the latest Froala release v4.0.8.
Can you please upgrade and check?

mounir-ul commented 1 year ago

Thank you! Yes we have upgraded to the v4.0.5 and the bug have been fixed.