GithubHelp home page GithubHelp logo

Custom Components/Parsers about wink HOT 2 CLOSED

themsaid avatar themsaid commented on May 3, 2024
Custom Components/Parsers

from wink.

Comments (2)

themsaid avatar themsaid commented on May 3, 2024

Well it isn't aimed for only developers, it's generally for all content creators.

What you showcase here is very interesting indeed, if we can allow custom editor components to be added and configured just like adding an image or custom HTML that would be great.

Might look into this soon :)

from wink.

mattrabe avatar mattrabe commented on May 3, 2024

If the target is all content creators then I agree that maybe this could be added to the editor components. Perhaps allow the user to enter a Key and a Value, where in my example above the Key would be "OGBadge" and the Value would be "{ "src": "https://completecodesolutions.com/" }". Allow for flexibility so that the Value might accept a string or a number or JSON, etc. Or, probably better, somehow "register" a custom editor component using a Controller/Model/Trait/something, and then that results in a custom button next to Image & HTML in the editor. Clicking on it reveals some sort of input, potentially also defined by the Controller/Model/Trait. At that point, we're pretty much talking about creating "plugins," which I don't know if you have put much thought into yet.

By the way, though I don't like Wordpress's naming conventions, the equivalent to the wrapped-JSON-in-post-body in Wordpress is called a "shortcode". There's nothing "short" about it, but it is a code. I think I'll refer to my JSON POC above as a "custom code" moving forward.

from wink.

Related Issues (20)

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.