From 9e26f57b4f998660ddc40702c78efcce1102c28f Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 17 Apr 2020 20:19:41 +0000 Subject: [PATCH] --- ayanova/src/components/wiki-control.vue | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ayanova/src/components/wiki-control.vue b/ayanova/src/components/wiki-control.vue index f4535241..064ccc95 100644 --- a/ayanova/src/components/wiki-control.vue +++ b/ayanova/src/components/wiki-control.vue @@ -39,7 +39,6 @@ > -
@@ -127,17 +126,6 @@ export default { return selectedText; //.trim(); }, replaceSelectedText(newString) { - // @param {String} source string - // @param {number} start Index at which to start changing the string. - // @param {number} delCount An integer indicating the number of old chars to remove. - // @param {string} newSubStr The String that is spliced in. - // @return {string} A new string with the spliced substring. - //stringSplice: function(source, start, delCount, newSubStr) { - - //says replace but in some cases it's just an insert if there is no selection: - - //has a selection so replace it is: - this.localVal = window.$gz.util.stringSplice( this.localVal, this.selection.start, @@ -148,9 +136,7 @@ export default { clickBold() { this.getSelectedRange(); this.replaceSelectedText("**" + this.getSelectedText() + "**"); - //console.log("BOLD CLICK, selection:", this.getSelectedText()); }, - handleDoubleClick(i) { //the purpose of this is only to change the selection if it's got an extra space to the right //because double clicking on a word with another word after it causes the space to be included @@ -168,7 +154,6 @@ export default { this.$emit("input", val); this.localVal = val; }, - switchViewIcon() { //return the icon that indicates what it will change to if you click it //mirror of switchview below