mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 18:17:20 +00:00
fix: bug introduced with 88812092fd
fixes #6419 (#6420)
This commit is contained in:
parent
9fce8153df
commit
6452eb56a9
@ -13,8 +13,8 @@ Text editor operation to wrap the selected lines with a prefix and suffix
|
||||
"use strict";
|
||||
|
||||
exports["wrap-lines"] = function(event,operation) {
|
||||
var prefix = operation.paramObject.prefix || "",
|
||||
suffix = operation.paramObject.suffix || "";
|
||||
var prefix = event.paramObject.prefix || "",
|
||||
suffix = event.paramObject.suffix || "";
|
||||
// Cut just past the preceding line break, or the start of the text
|
||||
operation.cutStart = $tw.utils.findPrecedingLineBreak(operation.text,operation.selStart);
|
||||
// Cut to just past the following line break, or to the end of the text
|
||||
|
Loading…
Reference in New Issue
Block a user