Hi,
I have to make 2 additional buttons BLINK and MARQUEE. I couldn't find any plugin
which will do this.
I've tried to write my own plugin using getSelection and InsertHtml and it works but
it removes tags - gives mi only plain text.
To get current selection i'm using:
var sTag = (FCKBrowserInfo.IsIE ? FCK.EditorDocument.selection.createRange().text : new String(FCK.EditorWindow.getSelection()));
and then:
html = '<'+this._tagname+'>' + sTag + '</'+this._tagname+'>';
FCK.InsertHtml( html ) ;
Maybe i should do this using Nodes but i can't fins any nice explanation how to this.
Basicly i wan't to have functionality like STRONG button.
Thanks in advance for any comments and suggestions.
I have to make 2 additional buttons BLINK and MARQUEE. I couldn't find any plugin
which will do this.
I've tried to write my own plugin using getSelection and InsertHtml and it works but
it removes tags - gives mi only plain text.
To get current selection i'm using:
var sTag = (FCKBrowserInfo.IsIE ? FCK.EditorDocument.selection.createRange().text : new String(FCK.EditorWindow.getSelection()));
and then:
html = '<'+this._tagname+'>' + sTag + '</'+this._tagname+'>';
FCK.InsertHtml( html ) ;
Maybe i should do this using Nodes but i can't fins any nice explanation how to this.
Basicly i wan't to have functionality like STRONG button.
Thanks in advance for any comments and suggestions.
Adding the blink text in CK editor
Now I my project I am using the ckeditor 4.2.2 .
Can any body let me know how to inlucde the BLink text in the CK editor
Thanks In Advance.