3.6.6 EWEBEDITOR_EVENT Callback
The eWebEditor instance callback is usually used for interface method of eWebEditor editor instance, which can be used after the editor is loaded.
Sample Code:
<head> <script type="text/javascript"> function EWEBEDITOR_EVENT(ev){ var editor = EWEBEDITOR.Instances[ev.id]; switch(ev.flag){ case "LoadComplete": editor.focus(); //focus to editing area //... break; case "Remove": //... break; default:
} } </script> </head> |