We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6eece6 commit 1e6d038Copy full SHA for 1e6d038
panel/src/components/Forms/Input/TextareaInput.vue
@@ -335,7 +335,7 @@ export default {
335
end: this.$refs.input.selectionEnd
336
};
337
},
338
- toggle(before, after) {
+ async toggle(before, after) {
339
after = after ?? before;
340
const selection = this.selection();
341
@@ -352,8 +352,8 @@ export default {
352
upload() {
353
this.$panel.upload.pick(this.uploadOptions);
354
355
- wrap(before, after) {
356
- this.insert(before + this.selection() + (after ?? before));
+ async wrap(before, after) {
+ return this.insert(before + this.selection() + (after ?? before));
357
}
358
359
0 commit comments