-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
Description
Thanks for amazing editor!
I tried to customize adjusting font size
But the tag is being rendered as plain text.
Is there any way to insert HTML without it being escaped?
const editor = editorRef.current.getInstance(); const selectedText = editor.getSelectedText(); const wy = editor.getCurrentModeEditor(); const htmlToInsert = ${selectedText}; wy.replaceSelection(htmlToInsert);
This is what i've done.
It is rendered as plain text.
Reactions are currently unavailable