codex-team/editor.js
Vedi su GitHub`inlineToolbar` always show convertTo, inconsist behavior with config value, and cannot be removed
Open
#2833 aperta il 29 set 2024
buggood first issue
Metriche repository
- Star
- (26.602 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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.