Hi guys,
I have a question, how do I call the unlink method of CKEditor? For example, I have inserted an image (wrapped around with <a> tag) to the editor, then I select that image and I executed this method:
//editorName is the editor id
CKEDITOR.instances[editorName].document.$.execCommand( 'unlink', false, null );
It works fine on FF but in IE it doesn't remove the <a> tag. Are there any alternative for this? Am I missing something? Hope someone will enlighten me on this. Thank you and more power.
Greetz,
Kennyth01
I have a question, how do I call the unlink method of CKEditor? For example, I have inserted an image (wrapped around with <a> tag) to the editor, then I select that image and I executed this method:
//editorName is the editor id
CKEDITOR.instances[editorName].document.$.execCommand( 'unlink', false, null );
It works fine on FF but in IE it doesn't remove the <a> tag. Are there any alternative for this? Am I missing something? Hope someone will enlighten me on this. Thank you and more power.
Greetz,
Kennyth01