codex-team/editor.js

`inlineToolbar` always show convertTo, inconsist behavior with config value, and cannot be removed

Open

#2,833 建立於 2024年9月29日

在 GitHub 查看
 (4 留言) (1 反應) (0 負責人)TypeScript (26,602 star) (1,985 fork)batch import
buggood first issue

描述

Describe a bug.

const editor = new EditorJS({
  holder: 'editor',
  tools: {
    paragraph: {
      // built-in inline tools: link, bold, italic
      // disable inline tools: false,
      inlineToolbar: ['bold', 'link'],
    },
  },
})

Expected behavior:

convertTo should also follow inlineToolbar config, which control it show or hide.

Screenshots:

image

As you see, it even show when no convertor available.

Device, Browser, OS:

Editor.js version:

Plugins you use with their versions:

貢獻者指南

`inlineToolbar` always show convertTo, inconsist behavior with config value, and cannot be removed · codex-team/editor.js#2833 | Good First Issue