forked from smoser/dokucrypt
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
SyntaxSeed edited this page Jul 20, 2022
·
3 revisions
-
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.