1 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns=
"http://www.w3.org/1999/xhtml">
4 <title>Option: init_instance_callback
</title>
5 <link href=
"css/screen.css" rel=
"stylesheet" type=
"text/css" />
10 <h1>Option: init_instance_callback
</h1>
15 This option should contain a function name to be executed each time a editor instance is initialized. The format of this function is: initInstance(inst) where inst is the editor instance object reference.
18 <div class=
"separator"></div>
20 <h3>Example of usage of the init_instance_callback option:
</h3>
23 function
<strong>myCustomInitInstance
</strong>(inst) {
24 alert(
"Editor: " + inst.editorId +
" is now initialized.");
29 <strong>init_instance_callback :
"myCustomInitInstance"</strong>
36 <div class=
"helpindexlink"><a href=
"index.html">Index
</a></div>
37 <div class=
"copyright">Copyright
© 2003-
2006 <a href=
"http://www.moxiecode.com">Moxiecode Systems AB
</a></div>
38 <br style=
"clear: both" />