Closed rrees closed 9 years ago
I think this is a good idea personally. Not sure how @theefer feels about this. But it does seem right that all plugins are optional.
All patches should surely be loaded? If you mean commands, they could be option if it's not a feature accessible natively, and assume the user would add the command if they add support for it (e.g. via toolbar, shortcut, etc). Is undo/redo accessible with shortcuts though?
Sorry. Yeah patches should be loaded. That makes sense with commands. Undo/redo is definitely accessible in Chrome - it might not be in Firefox.
:+1:
Looks good :+1:
As discussed with Hugo there's a question about whether we should be loading plugins or commands at all here but I've tried to make it easier to see what is happening and to add new mandatory plugins.
Apologies for the explicit loops, I might try and fix that at some point. forEach failed the tests.