codex-team / codex-team/editor.js

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

Open
#2,833 4 comments 1 reaction 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

### Describe a bug.

```js
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](https://github.com/user-attachments/assets/140cb210-c115-4d15-93ab-3b5afd9b7398)

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

### Device, Browser, OS:

### Editor.js version:

### Plugins you use with their versions:

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.