Add Components to Rich Text Elements (or collection items)

Hey Christoffer, just in case you’re not aware there is already a similar functionality offered in Finsweet’s Powerful Rich Text lib.

I think that while the idea sounds nice on the surface, it wouldn’t really be useful unless you could solve the CSS isolation issue. Without that, the component placed inside the RTB would look completely different from the same component outside of the RTB.

One way to do that would be to redesign RTB’s. :thinking: If every native RTB element ( paragraphs, headings, lists, etc ) had the RTE’s custom class affixed, they could be exclusively targeted by the CSS so that the RTB’s styling wouldn’t break the embedded components.

I rather like that actually.