I have the following code called from a button external to the editor. What are the steps to move this to be a Toolbar button/item?
function star_click(){
var oEditor = FCKeditorAPI.GetInstance'FCKeditor1');
var oImage = oEditor.CreateElement('IMG');
oImage.src = '/images/star.gif';
oEditor.InsertHTML(oImage);
}
Also, where can I find the IMG element properties documented?
function star_click(){
var oEditor = FCKeditorAPI.GetInstance'FCKeditor1');
var oImage = oEditor.CreateElement('IMG');
oImage.src = '/images/star.gif';
oEditor.InsertHTML(oImage);
}
Also, where can I find the IMG element properties documented?