From caf994994d32f018f41b1fa337b9d74634948b88 Mon Sep 17 00:00:00 2001 From: Dario Baumberger Date: Fri, 2 Feb 2024 18:16:42 +0100 Subject: [PATCH] changed icons --- src/main.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 660e563..0d5589f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -33,7 +33,7 @@ export default class ImageToTextOcrPlugin extends Plugin { this.addCommand({ id: "replace", name: "Image To Text: Replace Selection", - icon: "table", + icon: "image-minus", editorCallback: async (editor: Editor) => { const selection = editor.getSelection(); const imagePath = await this.getSelectedImagePath(selection); @@ -71,7 +71,7 @@ export default class ImageToTextOcrPlugin extends Plugin { this.addCommand({ id: "replace-select-language", name: "Image To Text: Replace Selection - custom language", - icon: "table", + icon: "image-minus", editorCallback: async (editor: Editor) => { const selection = editor.getSelection(); const imagePath = await this.getSelectedImagePath(selection); @@ -118,7 +118,7 @@ export default class ImageToTextOcrPlugin extends Plugin { this.addCommand({ id: "append", name: "Image To Text: Append Selection", - icon: "table", + icon: "image-plus", editorCallback: async (editor: Editor) => { const selection = editor.getSelection(); const imagePath = await this.getSelectedImagePath(selection); @@ -155,7 +155,7 @@ export default class ImageToTextOcrPlugin extends Plugin { this.addCommand({ id: "append-select-language", name: "Image To Text: Append Selection - custom language", - icon: "table", + icon: "image-plus", editorCallback: async (editor: Editor) => { const selection = editor.getSelection(); const imagePath = await this.getSelectedImagePath(selection);