Hi, in fckeditor i could say the following to insert html into the editor:
With ckeditor i have tried the same (insertHtml not InsertHtml) but it does nothing. If i try:
It works, so i'm guessing in ckeditor the insertHtml method parses the html for valid html. Is there an overload or an alternative method which would allow me to insert my own custom tag. This is requried because i later replace the youtube tag when i display the data.
Appreciate it if someone could help. Thanks
editor.InsertHtml('<youtube url="' + url + '" class="youTube">YouTube Video Place Marker</youtube>');
With ckeditor i have tried the same (insertHtml not InsertHtml) but it does nothing. If i try:
editor.insertHtml('<p>YouTube Video Place Marker</p>');
It works, so i'm guessing in ckeditor the insertHtml method parses the html for valid html. Is there an overload or an alternative method which would allow me to insert my own custom tag. This is requried because i later replace the youtube tag when i display the data.
Appreciate it if someone could help. Thanks
Re: insertHtml parses for valid html
Hope this helps.
Re: insertHtml parses for valid html
This works perfectly when the user first clicks ok but if you switch to code view and then back to the wysiwyg view the image disappears. I also tested the flash plugin and that appears to be working correctly so i'm not sure what i'm doing wrong.
I'd really appreciate it if someone could help. Thanks
Re: insertHtml parses for valid html
Re: insertHtml parses for valid html