London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
Hi, I have created a plugin which lets the editors embed a youtube clip in the editor and are having some troubles.
I created the plugin this way; I've created a tool to the editor that opens an aspx in an dialog in which the user enters the url of the youtube clip and the aspx returns the embed-html...
Like this;
...
var range = plugin.editorDocument.selection.createRange();
var embedHtml = OpenDialog(dialogUrl, null, 400, 200);
if (!embedHtml) {
return;
}
range.pasteHTML(embedHtml);
...
The problem is that my <param> tags gets removed when i pasteHTML... I've read on various forums that this is because of a "feature" in IE:s "pasteHTML".. Have anyone done an editorplugin like this and having solved this?
Btw, this in in EPiServer 4.61 :)