mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
parent
6d3cd84309
commit
00667f5bd1
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@
|
||||||
if (isImage) {
|
if (isImage) {
|
||||||
hasMarker = line.text.match(markerRegex);
|
hasMarker = line.text.match(markerRegex);
|
||||||
|
|
||||||
if (hasMarker && mode === 'paste') {
|
if (hasMarker && (mode === 'paste' || mode === 'undo')) {
|
||||||
// this could be a duplicate, and won't be a real marker
|
// this could be a duplicate, and won't be a real marker
|
||||||
markerMgr.stripMarkerFromLine(line);
|
markerMgr.stripMarkerFromLine(line);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue