List Info

Thread: Update of "GenericEditorAPI" by JörnNettingsmeier




Update of "GenericEditorAPI" by JörnNettingsmeier
country flaguser name
United States
2007-07-23 15:27:32
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.insertImag
e&lenya.editorModule=$YOUREDITOR')" /><br
/>
+   <img src="imagebutton.gif"
onclick="window.open('?lenya.usecase=editors.insertImag
e)" /><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: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )