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

Typing # or - or * in editor silently stops saving the document #716

Closed
btheado opened this issue Dec 20, 2016 · 2 comments
Closed

Typing # or - or * in editor silently stops saving the document #716

btheado opened this issue Dec 20, 2016 · 2 comments

Comments

@btheado
Copy link
Contributor

btheado commented Dec 20, 2016

After any of #, -, or * characters are typed at the start of a line in a documentation section, no future changes to the document are saved until the page is reloaded.

In the console I see errors like:

ide.ts:871 Uncaught Error: The runtime may not add, remove, or move editor controlled spans of type 'heading'. Expected 0 got 1

No other indication is given that changes are no longer being saved.

@btheado
Copy link
Contributor Author

btheado commented Dec 21, 2016

Another way to get the same error and non-functional saving is to create a header followed by an eve block like this:

Header

search

Place the cursor before the 's' and hit backspace. The string "search" will be merged in with the header, but they will also be in the code block. The same uncaught error about "uncontrolled spans of type 'heading'" appears in the console.

Then another uncaught error can be elicited by hitting Ctrl-z to undo. Here is the message:

spans.ts:410 Uncaught Error: Unable to create BlockSpan starting in middle of line at (162, 6)

@joshuafcole
Copy link
Contributor

This is a duplicate of #701. Let's track it there.

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

2 participants