Giter VIP home page Giter VIP logo

Comments (4)

six-two avatar six-two commented on June 18, 2024 1

The feature was released in version 0.4.0. It is enabled by default, but can be disabled using the apply_change_on_focus_change setting. It can also be en/disabled by users using the Apply value when focus changes away* checkbox in the settings.

from mkdocs-placeholder-plugin.

six-two avatar six-two commented on June 18, 2024

Hi and thank you for the suggestion!

I will look into it after my holidays (next 2 weeks). One complication that I see is that users may have accidentally edited or partially deleted a long/complex value (for example a randomly generated password that they need) and want to restore the original. For that case there may need to be a key binding to abort/revert the current edit.

If it becomes an optional configuration (instead of the new default) there may also be a need to tell the user when values are saved/applied (“Do I need to press enter?”). Otherwise they would be confused if the site owner changes the configuration or they visit multiple sites with different configs.

from mkdocs-placeholder-plugin.

six-two avatar six-two commented on June 18, 2024

I implemented something like you suggested and it is really useful and way more intuitive. You can try it out on the dev branch's docs: https://dev.mkdocs-placeholder-plugin.six-two.dev/demo/

It may take a couple weeks to ship this feature, since I want to finish the rewrite of the python code for the next release.

from mkdocs-placeholder-plugin.

phiranf avatar phiranf commented on June 18, 2024

Thank you very much, I’ve tried it out on the demo page and it works like a charm!

from mkdocs-placeholder-plugin.

Related Issues (5)

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.