Rich Text Editor
Get started Quick Toolbar
<!-- Video --> <a rel='nofollow' href="https://vimeo.com/115041822" class="glightbox2"> <img src="small.jpg" alt="image">
An idea solution would be to just insert a picture and reference it, then the script makes the hard job!
<iframe> is also a lovely solution in my oppinion, but I don't know how to insert any of this with the editor. I tried with the source code, but it just deletes it.
But, I reckon, I would just need the this.InsertHTML("") command, how do I get there? Still don't know.|
window.Richtexteditor = {
…
rteObj: null,
saveSelection: null,
created: function () {
window.Richtexteditor.rteObj = document.getElementById('RteDefault').ej2_instances[0];
window.Richtexteditor.selection = window.Richtexteditor.rteObj.formatter.editorManager.nodeSelection;
…
}
...
};
|