tui.editor
tui.editor copied to clipboard
customHTMLRenderer don't work on wysiwyg mode?
Summary
I'm using the editor only as wysiwyg editor, without markdown vertical. In some of my uses, i need to add custom variables like {{client.name}} that had to be shown as 'Cliente: Nome'. I've tryed using customHTMLRenderer to do that, but it only works when showing as markdown.
I have a sidebar variables that the user can click and it add to the document. I'd like that the wysiwyg editor, was shown like the third screenshot
Screenshots
Version
latest "^3.2.2"
I ran into the same problem and found this: https://github.com/nhn/tui.editor/issues/1991 Apparently, the widget functionality is better suited for this task.