Skip to content
SyntaxSeed edited this page Jul 20, 2022 · 3 revisions

General Plugin Info

Moving Of Textarea and Interference With Toolbar

  • The plugin puts the wiki text into a hidden input and then moves the original textarea out of the form just before submission. (See DokuCrypt2's script.js ~ line 57). This is to try to make sure that the unencrypted text isn't accidentally submitted.

  • In the past the moving of the text area out of the form made some toolbar buttons unable to find it and therefore dw_linkwiz.textArea.form.id.value was Null. The moving of the textarea was done when the edit form is initialized. I changed it so that it is now moved just before submission.

Clone this wiki locally