GithubHelp home page GithubHelp logo

how to add new tools? about nova-editor-js HOT 6 CLOSED

advoor avatar advoor commented on May 24, 2024 2
how to add new tools?

from nova-editor-js.

Comments (6)

roelofr avatar roelofr commented on May 24, 2024 2

Basic steps are really, add the new tool to the package.json, and then add the relevant config in FormField.vue.

Sadly this stops users from being able to fluently update their dependencies and add support for new fields. It would be awesome if some kind of hook-form could be worked out (maybe make the EditorJs macroable?)

I'll try to puzzle something together next week, because I too want to add a bunch of in-house tools.

from nova-editor-js.

advoor avatar advoor commented on May 24, 2024 1

@rik43 @nilsE , have a look at: bbbdd69

Basic steps are really, add the new tool to the package.json, and then add the relevant config in FormField.vue.

The output of the tool should then be handled in 'src/NovaEditorJs.php'. The above commit is a perfect example.

What tool are you looking to implement? I can potentially look at integrating some more tools

from nova-editor-js.

nilsE avatar nilsE commented on May 24, 2024

would like to do that, too

from nova-editor-js.

advoor avatar advoor commented on May 24, 2024

@roelofr If you can, it would be awesome! I've not had any time at all recently to work on this, so any help is greatly appreciated!

from nova-editor-js.

roelofr avatar roelofr commented on May 24, 2024

For now I figured out a possible way to solve this, but I'm absolutely not sure about this method, since it requires Javascript that changes stuff on the window.

However, as Nova doesn't re-compiles assets, I'm very afraid it's the only plausible method to use...
Look into #33 for more information, and please discuss the fix there.

from nova-editor-js.

TheDeadCode avatar TheDeadCode commented on May 24, 2024

See #41

from nova-editor-js.

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.