I tried it , but it’s not properly working. After a “inserthtml” the insertion is shown in the tiny editor window, but the tinyeditor.text property is not updated . You have to make some manual keyboard input after the insertion, then the inserted html is in tinyeditor.text.
You can see this in the the attached test project.
good news. We found a way to add this feature to the TinyEditor extension.
Please redownload and rebuild it from our extension page.
Then you can use this.editor.ExecCommand (“insertHTML”, “<b>Test</b>”); to insert any kind of HTML at current position.
Find a list of all commands here: https://developer.mozilla.org/en-US/docs/Web/API/Document/ExecCommand
Hope that helps.
Please login first to submit.