fix: insert into correct textarea
This commit is contained in:
parent
eecf0ccce3
commit
1fb3f16f37
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "calckey",
|
"name": "calckey",
|
||||||
"version": "13.0.2",
|
"version": "13.0.3",
|
||||||
"codename": "aqua",
|
"codename": "aqua",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
|
@ -148,7 +148,7 @@ export default defineComponent({
|
||||||
os.api('drive/files/caption-image', {
|
os.api('drive/files/caption-image', {
|
||||||
url: img.src,
|
url: img.src,
|
||||||
}).then(text => {
|
}).then(text => {
|
||||||
insertTextAtCursor(text.slice(0, (512 - ta.value.length)));
|
insertTextAtCursor(ta, text.slice(0, (512 - ta.value.length)));
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue