I have a custom plugin that do some stuff and at the end of it's processing it should create a link in HTML using the selected text (the selected HTML, actually) if some text is currently selected. The selected HTML formating must be preserved (i.e. the HTML tags and attributes must not be lost) and the link must be created around all the elements. In the FCKEditor (old version of CKEDITOR) it was possible to do:
FCK.CreateLink("mylink");
I posted the same question in Stackoverflow: http://stackoverflow.com/questions/11852465/how-to-create-a-link-in-ckeditor-via-api
Re: How to create a link in CKEDITOR via API
Re: How to create a link in CKEDITOR via API
Thanks. That worked fine!!!
Any idea why this wouldn't be
Any idea why this wouldn't be working in IE?
The error I am getting is:
Error: Unable to get value of the property 'createBookmarks': object is null or undefined
I am using version 3.6.5.
Thanks for any help.