TipTap RichText Editor allow p inside div

After migration to umbraco16 my RichTextEditor can no longer put a p element inside a div element during Edit Source Code, i know this is because of TipTap automatic migration

What are my options here, i would like to allow my user to be able to write their custom HTML and put it into the Rich Text Editor?

I know there is a plugin

But i am actually looking at using TipTap instead if possible because it is the built in editor
How do i allow p element inside div

Thank u

1 Like

TipTap is very restrictive in it’s schema, I think you’ll have to use the TinyMCE marketplace plugin

I had similar issues.

No, there isn’t a way of telling TipTap to leave it alone. You can probably stop it removing the class but you can’t prevent it from adding the p tags