DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:prosemirror

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:prosemirror [2019-11-29 10:47] – [USER REQUESTS & COMMENTS] x.rootplugin:prosemirror [2024-02-19 19:35] (current) 2a02:a44a:3b00:1:1008:8b34:6656:544
Line 1: Line 1:
-====== prosemirror Plugin ======+====== Prosemirror Plugin ======
  
 ---- plugin ---- ---- plugin ----
-description: A WYSIWYG editor for DokuWiki+description: A WYSIWYG editor for DokuWiki, usable but currently only in beta state
 author     : Andreas Gohr, Michael Große author     : Andreas Gohr, Michael Große
 email      : dokuwiki@cosmocode.de  email      : dokuwiki@cosmocode.de 
 type       : action type       : action
-lastupdate : 2019-08-21 +lastupdate : 2024-02-05 
-compatible : Greebo+compatible : Jack Jackrum, Kaos
 depends    :  depends    : 
 conflicts  : codemirror, ckgedit conflicts  : codemirror, ckgedit
Line 20: Line 20:
 ---- ----
  
-[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ http://cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]+[[https://www.cosmocode.de/en/open-source/dokuwiki-plugins/|{{ https://www.cosmocode.de/static/img/dokuwiki/dwplugins.png?recache|A CosmoCode Plugin}}]]
  
 This plugin implements a WYSIWYG editor. Unlike other WYSIWYG plugins, it does not repurpose a HTML editor but uses an editor component written specifically for DokuWiki utilizing the ProseMirror framework. You can learn more about the approach at [[https://wysiwyg.wiki.cosmocode.de/doku.php?id=en:why|Why a new WYSIWYG plugin?]]. This plugin implements a WYSIWYG editor. Unlike other WYSIWYG plugins, it does not repurpose a HTML editor but uses an editor component written specifically for DokuWiki utilizing the ProseMirror framework. You can learn more about the approach at [[https://wysiwyg.wiki.cosmocode.de/doku.php?id=en:why|Why a new WYSIWYG plugin?]].
Line 54: Line 54:
  
 ==== Utilized DokuWiki Events ==== ==== Utilized DokuWiki Events ====
 +
 +  * [[devel:event:ACTION_ACT_PREPROCESS]]
 +  * [[devel:event:ACTION_HEADERS_SEND]]
   * [[devel:event:AJAX_CALL_UNKNOWN]]   * [[devel:event:AJAX_CALL_UNKNOWN]]
-  * [[devel:event:ACTION_HEADERS_SEND]] 
-  * [[devel:event:HTML_EDITFORM_OUTPUT]] 
-  * [[devel:event:ACTION_ACT_PREPROCESS]] 
   * [[devel:event:DRAFT_SAVE]]   * [[devel:event:DRAFT_SAVE]]
 +  * [[devel:event: FORM_EDIT_OUTPUT]]
 +  * [[devel:event:HTML_EDITFORM_OUTPUT]] (deprecated)
   * [[devel:event:TPL_ACT_RENDER]]   * [[devel:event:TPL_ACT_RENDER]]
  
  
-==== USER REQUESTS & COMMENTS ==== 
- 
-Really great plugin! It's already a must have, I really appreciate the approach compared to ckgedit ! The downside for us is the loss of paste image from clipboard (we're using https://www.dokuwiki.org/plugin:imgpaste), is there a chance to have imgpaste or similar in the roadmap ? 
-Thanks again for your work! 
- 
-This is excellent, thank you Andrea and Michael.  Please consider: 
-  - Instead of the big yellow 'Toggle WYSIWYG Editor' rectangle, please consider a button on the editor toolbar, which should also make it more compatible with other good relevant plugins like FastWiki https://www.dokuwiki.org/plugin:fastwiki 
-  - In Extension Manager, the notice 'Update: New version 2018-10-19 is available.' remains after updating 
- 
- --- dd //2018-10-22 04:22// 
- 
-> Instead of the big yellow 'Toggle WYSIWYG Editor' rectangle, please consider a button on the editor toolbar, which should also make it more compatible with other good relevant plugins like FastWiki https://www.dokuwiki.org/plugin:fastwiki 
- 
-I just added the following line to ''script.js'' and removed the styles of ''.plugin_prosemirror_useWYSIWYG'' from ''style.less'': 
- 
-  jQuery(".button.plugin_prosemirror_useWYSIWYG").appendTo("#wiki__editbar .editButtons"); 
- 
- --- [[user>teatall|teatall]] //2019-07-21 14:41// 
plugin/prosemirror.1575020848.txt.gz · Last modified: 2019-11-29 10:47 by x.root

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