codex-team / codex-team/editor.js

Ability to disable internal tools, see example 💡

Open
#1,656 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hi all,

It would be nice if we could disable internal tools via the config rather than having to forking and commenting out this bit of code https://github.com/codex-team/editor.js/blob/next/src/components/modules/tools.ts#L206-L210.

I've used the above mentioned approach to allow a `customParagraph` tool to bind to the `onPaste()` handler.

If there's a better way to do this, please let me know.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.