Sergiu Paraschiv
Sergiu Paraschiv
+1
I set Template to "FOO BAR BAZ" and nothing happened. I also tried stuff like "" and nothing happened. No exceptions thrown either. Atom 1.7.3 on Ubuntu 14.04.
This fix breaks parsing. For this input: ``` Line one. Line two link. Line three link one and link two. ``` Notice the text `" and "` between the links...
Later: my fix does not work.
But this patch does: ``` diff --git a/node_modules/draft-js-import-element/esm/stateFromElement.js b/node_modules/draft-js-import-element/esm/stateFromElement.js index eccabfd..d14b574 100644 --- a/node_modules/draft-js-import-element/esm/stateFromElement.js +++ b/node_modules/draft-js-import-element/esm/stateFromElement.js @@ -513,8 +513,9 @@ function collapseWhiteSpace(text, characterMeta) { text = _trimTrailingSpace.text; characterMeta = _trimTrailingSpace.characterMeta;...
It gets "stuck" because you are moving the pointer outside the viewport. Browsers don't support reporting `mousemove` events outside the viewport. There's no way of fixing this.