Skip to Main Content
Customer Feedback

We love feedback from you on our products and the problems in your daily work that you would like us to solve. Please describe the challenge you're encountering and your desired outcome. Be as detailed as possible.

For technical issues or bugs please head to Support or our Developer Community. You can assign up to 20 votes in total. Thank you for your feedback.

Status explanation: 'Future Consideration' = Continuing to collect further feedback, not planned at this time. 'Investigating' = Prioritized for deeper customer and feasibility investigations ahead of planning development.

Categories Editing
Created by Guest
Created on May 8, 2024

TinyMCE - Customized tags when inserting html (drop block)

It's already possible to drag and drop blocks into the TinyMCE editor - its inserted like this: `div.epi-contentfragment` and replaced by the actual content during rendering.

This doesnt work well for blocks that should be rendered as an inline values. Since its not valid markup to have a <div> inside a <p>, TinyMCE splits the <p> if you try to drop a block as a part of the paragraph - because of the epi-contentfragment.

With the help of event listeners in TinyMCE its possible to rewrite the div.epi-contentfragment to a span.epi-contentfragment but some functionality is lost, for example the edit button because it is queried by this selector: `div.epi-contentfragment:not([mceItem]`

If custom tags were allowed, blocks could be used like inline values.