guardian / scribe

DEPRECATED: A rich text editor framework for the web platform
http://guardian.github.io/scribe/
Apache License 2.0
3.51k stars 245 forks source link

Undo: allow undo to be switched off #453

Closed rrees closed 8 years ago

rrees commented 8 years ago

Fixes #452 by simply putting an if condition around the history interaction in setHTML.

Adds an example page that disables the undo manager.

nedrocks commented 8 years ago

Bunch of unit test failures but they don't appear to be related to this change -- are these known failures?

rrees commented 8 years ago

@nedrocks Yeah, unfortunately it's a long story. See #454 for an unsatisfactory fix for the unit tests

nedrocks commented 8 years ago

LGTM!