{"action":"closed","issue":{"url":"https://api.github.com/repos/fraywing/textAngular/issues/733","repository_url":"https://api.github.com/repos/fraywing/textAngular","labels_url":"https://api.github.com/repos/fraywing/textAngular/issues/733/labels{/name}","comments_url":"https://api.github.com/repos/fraywing/textAngular/issues/733/comments","events_url":"https://api.github.com/repos/fraywing/textAngular/issues/733/events","html_url":"https://github.com/fraywing/textAngular/issues/733","id":88502651,"number":733,"title":"Rangy warning: Module SaveRestore: Marker element has been removed.","user":{"login":"JoelParke","id":12278498,"avatar_url":"https://avatars.githubusercontent.com/u/12278498?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelParke","html_url":"https://github.com/JoelParke","followers_url":"https://api.github.com/users/JoelParke/followers","following_url":"https://api.github.com/users/JoelParke/following{/other_user}","gists_url":"https://api.github.com/users/JoelParke/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelParke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelParke/subscriptions","organizations_url":"https://api.github.com/users/JoelParke/orgs","repos_url":"https://api.github.com/users/JoelParke/repos","events_url":"https://api.github.com/users/JoelParke/events{/privacy}","received_events_url":"https://api.github.com/users/JoelParke/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-06-15T18:25:52Z","updated_at":"2016-07-09T21:30:50Z","closed_at":"2016-07-09T21:30:50Z","body":"I am seeing this a lot recently:\r\nrangy-core.js:129  Rangy warning: Module SaveRestore: Marker element has been removed. Cannot restore selection.\r\n\r\nTO duplicate, simply create a text doc:\r\n\r\n    <p>asdfasdf</p>\r\n    <p>second</p>\r\n    <p><span><br></span></p>\r\n\r\nThen with the cursor at the end of the second, hit the indent button and you see:\r\n\r\n    rangy-core.js:129  Rangy warning: Module SaveRestore: Marker element has been removed. Cannot restore selection.\r\n\r\nThen hit the Decrease Indent button and you see:\r\n\r\n    Error: Failed to execute 'insertBefore' on 'Node': Only one element on document allowed.\r\n    at Error (native)\r\n    at insertNodeAtPosition (http://parke.dynu.com:9000/bower_components/rangy/rangy-core.js:1025:19)\r\n    at RangePrototype.util.extend.insertNode (http://parke.dynu.com:9000/bower_components/rangy/rangy-core.js:1512:41)\r\n    at insertRangeBoundaryMarker (http://parke.dynu.com:9000/bower_components/rangy/rangy-selectionsaverestore.js:54:27)\r\n    at saveRange (http://parke.dynu.com:9000/bower_components/rangy/rangy-selectionsaverestore.js:77:25)\r\n    at saveRanges (http://parke.dynu.com:9000/bower_components/rangy/rangy-selectionsaverestore.js:144:33)\r\n    at Object.saveSelection (http://parke.dynu.com:9000/bower_components/rangy/rangy-selectionsaverestore.js:172:30)\r\n    at Scope.scope.startAction (http://parke.dynu.com:9000/bower_components/textAngular/dist/textAngular.js:2196:38)\r\n    at Scope.executeAction (http://parke.dynu.com:9000/bower_components/textAngular/dist/textAngular.js:421:43)\r\n    at $parseFunctionCall (http://parke.dynu.com:9000/bower_components/angular/angular.js:12404:18)(anonymous function) @ angular.js:11655(anonymous function) @ textAngular.js:427$parseFunctionCall @ angular.js:12404(anonymous function) @ hint.js:798Scope.$eval @ angular.js:14466Scope.$apply @ angular.js:14565scopePrototype.$apply @ hint.js:1478(anonymous function) @ hint.js:797jQuery.event.dispatch @ jquery.js:4435elemData.handle @ jquery.js:4121\r\n \r\nI believe that there me some work going on to improve the Rangy restore selection when the html has changed.  Since I suspect this is at the heart of the issue... but I haven't had time to look yet."}}
{"actor":{"display_login":"JoelParke"}}