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/GenericEditorAPI

------------------------------------------------------------------------------
  
  Each editor module can access and use the generic insertImage and insertLink 
implementations in the editors module. The most common way to do that is to use 
a javascript window.open call to create a separate window for the usecase:
  {{{
-   <img src="linkbutton.gif" 
onclick="window.open('?lenya.usecase=editors.insertLink&lenya.editorModule=$YOUREDITOR')"
 /><br />
+   <img src="linkbutton.gif" 
onclick="window.open('?lenya.usecase=editors.insertLink)" /><br />
-   <img src="imagebutton.gif" 
onclick="window.open('?lenya.usecase=editors.insertImage&lenya.editorModule=$YOUREDITOR')"
 /><br />
+   <img src="imagebutton.gif" 
onclick="window.open('?lenya.usecase=editors.insertImage)" /><br />
  }}}
  
  Each editor module that wishes to use the generic usecase implementations 
'''must''' provide the following callbacks in the context of the opening window:

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

Reply via email to