You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you load already saved data into the editor and there is a code-block, you cannot delete characters with backspace (with del you can), neither can you navigate with the arrow-keys inside the code-block. It simply jumps to the block above instantly (in my example a header block).
Example:
const editor = new EditorJS({
data: {
"time":1700475383740,
"blocks":[
{"id":"aRMoZePSTD","type":"header","data":{"text":"My title","level":2}},
{"id":"fcG8CCR5F8","type":"code","data":{"code":"here is some code"}}
],
"version":"2.28.2"
},
tools: {
code: CodeTool,
header: Header
}
});
Versions:
editorjs: 2.28.2
code: 2.9.0
header: 2.8.1
esbuild: 0.19.6
Firefox: 119.0.1
Bundled with: esbuild, like this: ./node_modules/.bin/esbuild src/index.js --bundle --outfile=dist/index.js
Browser: Latest Firefox, it works in Chrome
The text was updated successfully, but these errors were encountered:
When you load already saved data into the editor and there is a code-block, you cannot delete characters with backspace (with del you can), neither can you navigate with the arrow-keys inside the code-block. It simply jumps to the block above instantly (in my example a header block).
Example:
Versions:
Bundled with: esbuild, like this: ./node_modules/.bin/esbuild src/index.js --bundle --outfile=dist/index.js
Browser: Latest Firefox, it works in Chrome
The text was updated successfully, but these errors were encountered: