Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Lenya Wiki" for change 
notification.

The following page has been changed by JörnNettingsmeier:
http://wiki.apache.org/lenya/EditorRoadmap

------------------------------------------------------------------------------
  
  each editor module that wishes to use the generic usecase implementations 
'''must''' provide the following callbacks in a file named 
{{{resources/javascript/editorCallbacks.js}}}:
  {{{
-  function insertImage(imageData) {};
+  function LenyaInsertImage(imageData) {};
   where 
     imageData = { 
       'src': "/some/path/to/an/image.jpeg", 
@@ -47, +47 @@

  }}}
  
  {{{
-  function insertLink(linkData) {};
+  function LenyaInsertLink(linkData) {};
   where
     linkData = {
       'href': "/some/path/to/a/document.html",
@@ -59, +59 @@

  }}}
  
  These functions need to take care of passing the data back to the editor.
- 
+ In the generic javascript, each global object or function bears the "Lenya" 
prefix to avoid naming clashes with editor-specific code.
  
  The passing of objects instead of parameter lists allows for easy extension 
if necessary.
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to