codex-team/editor.js
Ver no GitHub`inlineToolbar` always show convertTo, inconsist behavior with config value, and cannot be removed
Open
#2.833 aberto em 29 de set. de 2024
buggood first issue
Métricas do repositório
- Stars
- (26.602 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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:
As you see, it even show when no convertor available.