DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:wysiwyg_nicedit

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:wysiwyg_nicedit [2017-12-03 09:31] – [How does it work with DokuWiki?] 178.6.95.183plugin:wysiwyg_nicedit [2021-08-28 00:52] (current) Klap-in
Line 1: Line 1:
-dawritezor, wysiwyg +====== WYSIWYG nicedit plugin ====== 
-tags       : editing, wysiwyg+ 
 +---- plugin ---- 
 +description: WYSIWYG-type editor adaptation for DokuWiki 
 +author     : Pauld 
 +email      :  
 +type       : syntax 
 +lastupdate : 2008-06-28 
 +compatible :  
 +depends    : No Perl required! 
 +conflicts  :  
 +similar    : fckg, fckw, grensladawritezor, wysiwyg 
 +tags       : !obsolete, editing, wysiwyg
 ---- ----
  
 :!: See below for a [[#self-contained_plugin]] :!: See below for a [[#self-contained_plugin]]
  
 +====== General description ======
 +
 +
 +This is a preliminary version of the NicEdit's ([[http://nicedit.com/]]) integration for DokuWiki. One feature of this module is that
 +it has no Perl dependency at all.
 +NicEdit is a nice, little editor, which is highly customizable, and has many features that are supported by DokuWiki. Check the demos 
 +page at [[http://nicedit.com/demos.php]].
 +Please note that the work on integration is still going on. __**You may join the discussion at:**__ http://forum.dokuwiki.org/thread/2230
 +
 +====== How does it work with DokuWiki? ======
 +
 +The scheme is the following:
 +When a page is loaded for editing in DokuWiki, NicEdit (see the code below in ''html.php''), which is written in JavaScript, is started. It overlays the DokuWiki editing window (textarea), and captures the text that was passed from DokuWiki. Inside NicEdit, an event is fired to convert text (which is in DokuWiki markup) into HTML. This is where conversion from DokuWiki to HTML takes place. After conversion, the user can edit the page. After pressing the Preview or Save button, an event is fired to convert from HTML to DokuWiki markup, and the proper routine inside NicEdit is executed to write the converted text back into the textarea of the editing page. This text is passed back to the DokuWiki's server-side PHP script, etc.
  
-sible to correct any issues one may have with improper styles and markup when editing in the WYSIWYG mode.+NicEdit includes a button (''XHTML button'') that allows the user to edit the page in the original DokuWiki markup, that is, to edit the source. This feature makes it possible to correct any issues one may have with improper styles and markup when editing in the WYSIWYG mode.
  
 ====== What features are working now? ====== ====== What features are working now? ======
Line 46: Line 70:
  
 **These download Links do not work. Anyone might know another location to download the code ?** regards, Lukas **These download Links do not work. Anyone might know another location to download the code ?** regards, Lukas
-@Lukas: At their Website you can download the Packet (check the bbCode PLUGIN9+@Lukas: At [[http://nicedit.com/|their Website]] you can download the Packet (check the bbCode PLUGIN9).
 ===== Changes in /inc/form.php: ===== ===== Changes in /inc/form.php: =====
  
plugin/wysiwyg_nicedit.1512289872.txt.gz · Last modified: 2017-12-03 09:31 by 178.6.95.183

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki