mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
Koenig - Fixed _emphasis_ and link text expansions not cancelling
refs https://github.com/TryGhost/Ghost/issues/9505 - the `_` emphasis and link text expansions were toggling the wrong markup on completion
This commit is contained in:
parent
dbfca4fc82
commit
945e8316a7
@ -189,7 +189,7 @@ export default function (editor) {
|
||||
|
||||
// must be scheduled so that the toggle isn't reset automatically
|
||||
run.schedule('actions', this, function () {
|
||||
editor.toggleMarkup('code');
|
||||
editor.toggleMarkup('em');
|
||||
});
|
||||
}
|
||||
}
|
||||
@ -251,7 +251,7 @@ export default function (editor) {
|
||||
|
||||
// must be scheduled so that the toggle isn't reset automatically
|
||||
run.schedule('actions', this, function () {
|
||||
editor.toggleMarkup('code');
|
||||
editor.toggleMarkup('a');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user