FIX: blockquote button implementation

Previously clicking on blockquote in the middle of sentence
would result in incorrect formatting
This commit is contained in:
Sam
2017-06-27 13:32:20 -04:00
parent 5897ae945a
commit e2f57a154b
3 changed files with 21 additions and 12 deletions

View File

@@ -78,7 +78,7 @@ class Toolbar {
group: 'insertions',
icon: 'quote-right',
shortcut: 'Shift+9',
perform: e => e.applySurround('> ', '', 'code_text')
perform: e => e.applyList('> ', 'blockquote_text')
});
this.addButton({id: 'code', group: 'insertions', shortcut: 'Shift+C', action: 'formatCode'});