mirror of
https://github.com/flarum/core.git
synced 2025-07-30 13:10:24 +02:00
Update for Editor Drivers Abstraction (#61)
This commit is contained in:
committed by
GitHub
parent
b06f6470e7
commit
d4db946c31
@@ -20,7 +20,8 @@ function insertMention(post, composer, quote) {
|
||||
Array(precedingNewlines).join('\n') + // Insert up to two newlines, depending on preceding whitespace
|
||||
(quote
|
||||
? '> ' + mention + quote.trim().replace(/\n/g, '\n> ') + '\n\n'
|
||||
: mention)
|
||||
: mention),
|
||||
false
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user