Code: Select all
The inserted text gets formatted with the style that is selected in the top right section of the editor (Normal, Heading 1, Heading 2, ...)
I need the inserted text to be formatted with whatever style the user selected in the editor (e.g. style "Heading 1" but with a red font and bold)
Inserting the text from the plugin should behave exactly as if the user just typed the text in to the editor directly.
Is this possible? (With PasteHtml or some alternative solution)