mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: blockquote button implementation
Previously clicking on blockquote in the middle of sentence would result in incorrect formatting
This commit is contained in:
@@ -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'});
|
||||
|
||||
Reference in New Issue
Block a user