finally_a_good_wysiwyg_editor_for_dokuwiki

Differences

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

Link to this comparison view

Next revision
Previous revision
finally_a_good_wysiwyg_editor_for_dokuwiki [11.11.2020 14:08] – created Pascal Suterfinally_a_good_wysiwyg_editor_for_dokuwiki [11.11.2020 18:06] (current) Pascal Suter
Line 1: Line 1:
 ====== finally a good WYSIWYG editor for DokuWiki ====== ====== finally a good WYSIWYG editor for DokuWiki ======
 +While I myself really like the Wiki Syntax that DokuWiki uses and am perfectly happy with the raw text editor supplied with DokuWiki, i have some colleagues at work who shy away from using our Wiki because they struggle to get used to the Syntax or to using Text formatting syntax in general i should say. So every now and then I look around for a WYSIWYG editor that would be suitable for others to edit our wiki. 
  
-there are many WYSIWYG editor plug-ins for DokuWiki avaialble, but they all share the same problem: they are actually HTML editors behind the scenes and then convert HTML to Wiki Syntax which in the end is a bit unpredictable to the enduser.+there are many WYSIWYG editor plug-ins for DokuWiki avaialble, but they all share the same problem: they are actually HTML editors behind the scenes and then convert HTML to Wiki Syntax which scares me. I fear that one way or another, such editors will mess up pages that i have written in a nice wiki syntax in a way that either the wiki source code is unusable or even worse, that some things may even get lost, because one of the two converters does not understand tag from a plug-in or whatever. So i never really pushed the use of such a WYSIWYG editor forward, because i was simply too afraid. I think they probably work well as long as you only use WYSIWYG but if people like me like to continue to work in text only mode that's a no-go for me.
  
 That's where [[https://github.com/cosmocode/dokuwiki-plugin-prosemirror|ProseMirror]] Plug-In comes in. It adds a WYSIWYG editor which creates and understands native DokuWiki syntax. So while you write your wiki page, you can switch forth and back between Wiki syntax source and WYSIWYG editor and there is no converting from or to HTML. That's where [[https://github.com/cosmocode/dokuwiki-plugin-prosemirror|ProseMirror]] Plug-In comes in. It adds a WYSIWYG editor which creates and understands native DokuWiki syntax. So while you write your wiki page, you can switch forth and back between Wiki syntax source and WYSIWYG editor and there is no converting from or to HTML.
  
-While I myself really like the Wiki Syntax that DokuWiki uses and am perfectly happy with the raw text editor supplied with DokuWikii have some colleagues at work who shy away from using our Wiki because they struggle to get used to the Syntax or to using Text formatting syntax in general i should say.+{{ pasted:20201111-141013.png?300 |The ProseMirror WYSIWYG editor in Actionclick to enlarge}}
  
 ===== Paste images from Clipboard ===== ===== Paste images from Clipboard =====
Line 13: Line 14:
   - install the ImgPaste plug-in via your extensions manager   - install the ImgPaste plug-in via your extensions manager
   - on your server, navigate to the ''dokuwiki_dir/plugins/imgpaste'' directory   - on your server, navigate to the ''dokuwiki_dir/plugins/imgpaste'' directory
-  - download the patched version i.e. using wget: <code bash>wget https://raw.githubusercontent.com/cosmocode/dokuwiki-plugin-imgpaste/57780240370e8d8be528a6b16211f1fe7edadcc6/script.js</code>+  - download the patched version i.e. using wget: <code bash> 
 +wget https://raw.githubusercontent.com/cosmocode/dokuwiki-plugin-imgpaste/57780240370e8d8be528a6b16211f1fe7edadcc6/script.js 
 +</code>
   - copy/paste your images to the WYSIWYG editor or the text editor :)   - copy/paste your images to the WYSIWYG editor or the text editor :)
- 
- 
  • finally_a_good_wysiwyg_editor_for_dokuwiki.1605100106.txt.gz
  • Last modified: 11.11.2020 14:08
  • by Pascal Suter