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
Error: Cannot use numerical key for object container
at assert (file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146470:24)
at insertChildMut (file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146509:99)
at drop2 (file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146614:127)
at Object.apply2 [as apply] (file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:146621:9)
at JSONState._apply (file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:147289:44)
at JSONState._flushOperationCache (file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:147442:10)
at file:///F:/tools/marktext/resources/app.asar/out/renderer/assets/index-D8Yzs57g.js:147422:12
Cannot use numerical key for object container means an earlier edit had already left the document in an invalid shape (for example a paragraph placed directly inside a list), and a later edit could not be applied on top of it. The report has no steps and the stack alone doesn't show which edit caused that, but the known ways to get a document into such a state are now fixed on develop:
These will ship in the next release after v0.20.0-rc.2, so I'm closing this for now. If you still hit this error on that release, please open a new issue with the markdown you were editing and the keys you pressed right before the error.
Activity
Jocs commentedon Sep 14, 2026
Thanks for the report!
Cannot use numerical key for object containermeans an earlier edit had already left the document in an invalid shape (for example a paragraph placed directly inside a list), and a later edit could not be applied on top of it. The report has no steps and the stack alone doesn't show which edit caused that, but the known ways to get a document into such a state are now fixed ondevelop:These will ship in the next release after v0.20.0-rc.2, so I'm closing this for now. If you still hit this error on that release, please open a new issue with the markdown you were editing and the keys you pressed right before the error.