|
Add the following Javascript method to your page:
var editor = null; // this function is called from pinEdit after init // objEditor is the internal editor object // id is the current control id function editOnEditorLoaded(objEditor,id) { // save the internal editor object for later use editor = objEditor; // now you have access to all API functions like setting default font editor.editSetDefaultFont("Arial","10"); }
You have access to all API functions by using the global variable "editor".
|