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

Trying to delete text after making part of it a link causes syntax errors #1303

Closed
notnownikki opened this issue Jun 20, 2017 · 4 comments
Closed
Labels
[Type] Bug An existing feature does not function as intended

Comments

@notnownikki
Copy link
Member

error on backspace

Pressing backspace multiple times, the syntax error pops up. The text eventually does get deleted, but only after multiple backspaces, and after trying 2 or 3 times, it appears to the user that it's not doing anything at all.

@notnownikki
Copy link
Member Author

If you press backspace just once, and then wait, you eventually see this in the dev console:

  Uncaught RangeError: Maximum call stack size exceeded
      at String.replace (<anonymous>)
      at Function.a [as find] (tinymce.min.js:2)
      at init.find (tinymce.min.js:3)
      at init (tinymce.min.js:3)
      at l (tinymce.min.js:3)
      at k (tinymce.min.js:12)
      at Object.m [as hide] (tinymce.min.js:12)
      at I (tinymce.min.js:13)
      at p.<anonymous> (tinymce.min.js:12)
      at b.e [as fire] (tinymce.min.js:10)

@jasmussen
Copy link
Contributor

Nicely captured, this must be what I ran into here: #1246 (comment)

Thanks for opening this.

@jasmussen jasmussen added the [Type] Bug An existing feature does not function as intended label Jun 20, 2017
@jasmussen jasmussen added this to the Beta 2 milestone Jun 20, 2017
@mtias mtias removed this from the Beta 2 milestone Jun 22, 2017
@spocke
Copy link

spocke commented Jul 18, 2017

We are working on this it seems to be related to another case.

@youknowriad
Copy link
Contributor

This seems fixed to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

5 participants