Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error: Failed to execute 'setStart' on 'Range': There is no child at offset 12. #3793

Open
jiang-yuntao opened this issue Apr 20, 2024 · 0 comments

Comments

@jiang-yuntao
Copy link

Description

An unexpected error occurred in the renderer process.

Stack Trace

Error: Failed to execute 'setStart' on 'Range': There is no child at offset 12.
    at Object.classList [as select] (file:///opt/MarkText/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/selection/index.js:339:28)
    at Object.setCursorRange (file:///opt/MarkText/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/selection/index.js:485:79)
    at Rs.key [as setCursor] (file:///opt/MarkText/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/index.js:198:5)
    at Rs.cursor [as partialRender] (file:///opt/MarkText/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/index.js:260:59)
    at Rs.e.clickHandler (file:///opt/MarkText/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/contentState/clickCtrl.js:176:24)
    at HTMLDivElement.<anonymous> (file:///opt/MarkText/resources/app.asar/dist/electron/webpack:/marktext/src/muya/lib/eventHandler/clickEvent.js:224:52)

Version

MarkText: v0.17.1 (N/A)
Operating system: Linux x64 6.1.0-20-amd64 (linux)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant