Ext.onReady(function() {
Ext.DomHelper.append(document.body,'<form><textarea id="fckEditor" name="fckEditor" class="fckEditor"> </textarea></form>', false);
APP.init();
});
...
Ext.select('.editable').on('mousedown', function (e){
var blockData = this.innerHTML;
....
try
{
oEditor = FCKeditorAPI.GetInstance('fckEditor');
oEditor.SetHTML( blockData );
}
catch(err)
{
error(err.toString());
}
}
...



Re: oEditor.SetHTML fails on first click
oFCKeditor = new FCKeditor('fckEditor') ; oFCKeditor.BasePath = "/bai_cms/support/javascripts/fckeditor/"; oFCKeditor.ToolbarSet = "CMS" ; oFCKeditor.Height = "317"; oFCKeditor.ReplaceTextarea();Re: oEditor.SetHTML fails on first click
Re: oEditor.SetHTML fails on first click
Your code look's great,
I wanted to use your code, but, sorry you don't say which file
we do use, for adding your code.
Can you specify where we put your code please.
Personally I use FckEditor in Php, does your code working with it?
Thanks a lot
Re: oEditor.SetHTML fails on first click