You are not logged in.
Pages: 1
I understand that Xinha will not activate an editor when a page loads- and I understand there are reasons behind that.
But, what I am hoping to activate the editor manually, by clicking on something outside of the editor.
Basically, I want people to be able to drag and drop images into the editor. Everything works fine, but they need to click inside the editor first.
If I could set up some other function to activate the editor, I could trigger that when needed- for instance, on a mouseOver when they want to drag the picture in.
Is there a way to manually activate the editor?
Thank you,
Karl Krist
Offline
you just need to call the activateEditor() method on the editor object you want to activate
xinha_editors.myEditor.activateEditor();
(after the editor has been initialized etc of course)
James Sleeman
Offline
Pages: 1