cosmocode / dokuwiki-plugin-prosemirror

A modern WYSIWYG editor for DokuWiki
https://wysiwyg.wiki.cosmocode.de/
54 stars 20 forks source link

Toggle button #186

Closed annda closed 1 year ago

annda commented 1 year ago

This PR moves the toggle button HTML to the beginning of edit form, as suggested in #185. This should work with most templates. Tested with default, sprintdoc and bootstrap3.

prosemirror_toggle_dokuwiki

I have changed the text of the button, making it hopefully more user friendly for those who find the default syntax editor "too technical".

An additional check for readonly attribute of the edit form in ed43ceba1fe3cd2d2a9ce0233dbf13a78b83df84 should fix #86