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

------------------------------------------------------------------------------
  === contract between generic editor functions (insertImage, insertLink) and 
editor modules ===
  
  each editor module '''must''' implement the following callbacks in javascript:
- 
+ {{{
   function insertImage(imageData) {};
   where 
     imageData = { 
@@ -33, +33 @@

       'width': "150", /* in pixels */
       'height': "233" /* in pixels */
     };
+ }}}
  
+ {{{
   function insertLink(linkData) {};
   where
     linkData = {
@@ -43, +45 @@

       'name': "someFragmentIdentifier",
       'lang': "en"
     };
+ }}}
  
  we should tackle this in the immediate future.
  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