Coder Social home page Coder Social logo

Comments (6)

syntaxseed avatar syntaxseed commented on July 19, 2024

Hello.
Which version of DokuWiki are you using?

Can you confirm.... if you disable just this plugin, it works?

What happens if all plugins are disabled EXCEPT this one.. .does the issue still happen?

Thanks!

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

Also... does this happen only on pages that have an encrypted block.... or on all pages?

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

Nevermind... I can reproduce it myself.
Huh. I have literally never used the internal link button. lol

I will look into this! Thanks @rrakso.

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

Well, this has been a rabbit hole.

For reference in the future:

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

  • The moving of the text area out of the form makes the toolbar link button unable to find it and therefor dw_linkwiz.textArea.form.id.value is Null.

  • The moving of the textarea is done when the edit form is initialized.

  • I changed it so that it is now moved just before submission.

It is possible that if a Save is aborted for some reason, the link button will be broken again... but this is as fixed as I'm going to get it at this time.

Issuing a new release of the plugin with these changes soon.

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

Fixed and released version 2021-05-18.
@rrakso - please re-install the plugin. Clear your browser cache and give that a try.

from dokucrypt2.

syntaxseed avatar syntaxseed commented on July 19, 2024

Closing.

from dokucrypt2.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.