This commit is contained in:
2020-04-24 19:44:21 +00:00
parent 957ff4a5d9
commit a94792d77c
2 changed files with 6 additions and 6 deletions

View File

@@ -497,6 +497,8 @@ export default {
this.selection.end - this.selection.start,
newString
);
//emit input event to parent form for dirty tracking
this.handleInput(this.localVal);
},
getSelectedBlock() {
let selectedText = "";
@@ -515,6 +517,8 @@ export default {
this.selection.endOfBlock - this.selection.startOfBlock,
newString
);
//emit input event to parent form for dirty tracking
this.handleInput(this.localVal);
},
handleDoubleClick(i) {
//the purpose of this is only to change the selection if it's got an extra space to the right
@@ -791,8 +795,8 @@ export default {
break;
}
//emit input event to parent form for dirty tracking
this.handleInput(this.localVal);
// //emit input event to parent form for dirty tracking
// this.handleInput(this.localVal);
},
openLinkMenu(e) {
e.preventDefault();
@@ -849,7 +853,6 @@ export default {
window.$gz.errorHandler.handleFormError(error);
});
},
onDrop(ev) {
//Drop image file
var files = Array.from(ev.dataTransfer.files);
@@ -901,8 +904,6 @@ export default {
this.replaceSelectedText("<" + url + ">\n");
}
}
//trigger dirty change
this.handleInput(this.localVal);
}
//handle accordingly