codex-team / codex-team/editor.js
Not possible to reorder built-in toolbar actions
- Dominant language
- TypeScript
- Stars
- 31.9k
- Forks
- 2.2k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Hi, went through many issues and discussion threads here on github + docs and some blog posts, but could not figure out, how to change default order of move up, move down and delete toolbar actions. some screenshots show delete under move up and move down actions but in my projects its always move up, delete and move down. `inlineToolbar` option seems to do nothing, the only working solution seems to be manual reordering of the above mentioned actions using css which i would like to avoid:
```
.ce-popover__items {
display: flex;
flex-direction: column;
.ce-popover-item {
&[data-item-name="move-down"] {
order: 1;
}
&[data-item-name="delete"] {
order: 3;
}
&[data-item-name="move-down"] {
order: 2;
}
}
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.