editor.js
editor.js copied to clipboard
Docs: wrong example for convertTo i18n
Steps to reproduce
- Open https://stackblitz.com/edit/nickzn-editorjs?file=src%2Fmain.ts
- Mark "text"
- Hover over "convertTo" inlinetool
- The tooltip displays "Convert to"
Expected behavior
It should display "cccc"
Editor.js version
2.30.x On 2.29.1 it worked.
Plugins you use with their versions
- @editorjs/header: 2.8.7
it was fixed in 2.30.2. Update to the latest version and check again please
@neSpecc just look at the stackblitz, im using 2.30.6 there
Tokens location has been changed.
Use following paths:
i18n: {
messages: {
ui: {
// for block tunes menu
popover: {
"Convert to": "Конвертировать в",
}
},
tools: {
// for inline toolbar hint
convertTo: {
"Convert to": "Конвертировать в",
}
},
}
}
That works, thanks!
Resolved by https://github.com/codex-team/editorjs.io/pull/23