SetContent in tiptap removes styles

Viewed 737

I want to put some html into a tiptap editor, as I want edit what I have saved earlier. But if I have some inline styles inside, tiptap deletes it. Does anybody know what I can do with it?

this.editor.setContent('<p style="text-align: center">fffff</p>')
1 Answers
Related