Skip to content
This repository has been archived by the owner on Nov 16, 2024. It is now read-only.

How can I disable the plugin for specific tools? #32

Open
UmizDemud opened this issue Dec 13, 2023 · 1 comment
Open

How can I disable the plugin for specific tools? #32

UmizDemud opened this issue Dec 13, 2023 · 1 comment

Comments

@UmizDemud
Copy link

UmizDemud commented Dec 13, 2023

Say I am using the quote tool, can I disable coloring of the quotes in a simple manner?
Of course I want to keep it for the normal text/heading ..

image

Regards!

@sebmeister2077
Copy link

You can disable it by doing

const editor = new EditorJS({
    tools: {
        someOtherTool: {
            //...
            tunes: [
                /* all other tunes except those you dont want, this can be empty array*/
            ],
        },
    },
})

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants