guardian / scribe

DEPRECATED: A rich text editor framework for the web platform

Home Page:http://guardian.github.io/scribe/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Edge compatibility

danburzo opened this issue · comments

Hi, has anyone tried to tackle Microsoft Edge compatibility? Right now the demo behaves erratically on Edge (testing on 15.15063). I'd like to look into it, but would appreciate any pointers.

I narrowed it down to this combination of placeMarkers() and selectMarkers() in pushHistory:

scribe/src/scribe.js

Lines 180 to 182 in f60e071

selection.placeMarkers();
var content = scribe.getHTML();
selection.removeMarkers();

Commenting them out fixes the Edge problem, now investigating what's tripping it up.