markdown-notes
markdown-notes copied to clipboard
Fix the codemirror directive
The current directive comes from angular-ui. It needs to be updated to support the following features:
- Clear Ctrl+Z history on note change
- Properly change the model (sometimes the last character doesn't trigger an update) (https://github.com/angular-ui/ui-codemirror/issues/93)
This is not necessary anymore. Ctrl+Z introduced and model changes were simplified.
Ctrl+Z is still broken. I managed to erase my note by Ctrl-Z-ing back to another note.