RichEditor: Image Handling and Structure

First of all, it’s great to see that inline styles have made it into the RichEditor. However, in my opinion, the long-term goal should be to move away from the Froala editor.

I do have a few questions:
• How can I ensure that images in the RichEditor are not wrapped in a p-tag? Unfortunately, the “no_wrap_tags” option doesn’t work.
• Is there a way to manipulate images using the resizer? Or alternatively, is it possible to output images inside a figure-tag?

Hey @Amin

The Froala editor handles basic markup functions, and it is not a perfect solution.

the long-term goal should be to move away from the Froala editor.

Can you recommend a better solution?

• How can I ensure that images in the RichEditor are not wrapped in a p-tag? Unfortunately, the “no_wrap_tags” option doesn’t work.

Why do you need this, generally all text should be inside a <p> tag, except in a <table>.

• Is there a way to manipulate images using the resizer? Or alternatively, is it possible to output images inside a figure-tag?

Do you mean the media manager image editor? We could add this.

Best regards

For me is CKEditor good solution. There are figure-figcaption tags in editor as you can see here.

A solid alternative to Froala would be CKEditor, especially since it supports <figure> and <figcaption> out of the box. It also offers better flexibility with image handling and cleaner markup. @ color rush

Nope. Alternative to Froala would be Editor js. Btw, my friend Nikita released Editor js plugin for October CMS: The EditorJS plugin was updated to V2.0

But the licenses and prices are huge…