Giter Club home page Giter Club logo

Comments (1)

tobbexiv avatar tobbexiv commented on July 30, 2024 1

Hi benedu,

thanks for your feedback. I also thought about this problem and found different possible solutions for it.

  1. Introduce a new field for description / comment. This field will be always shown in the modal and in the editor, but not evaluated by the includer. So you can enter freely any text you want.
  2. Do not hide the title if you tick "hide title". This means that you can enter and see the title in the modal even if you do not want to use it. The disavantage I see is that if you want to use the title you can not enter additional information. Or if you want to use the default title you should not enter anything in this field. So it can not be used in every situation.
  3. You can see the default title in the Modal. So copying it to a field which is invisible in the modal, but visible in the editor ensures that you can always see the title. Disadvantage is that you can not customize it.

What will not work is your second suggestion. (pluginname){...} is a generic template in Pagekit for editor plugins. So changing it from edito to something else will break the recognition of the plugin.

So I tend to implement solution (1) which means that you have a comment field in the modal and editor which has no influence on the plugin itself. What is your opinion on these suggestions? Or do you have improvements to one of them?

from pagekit-widget-includer.

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.