Skip to content

Commit

Permalink
changed icons
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-baumberger committed Feb 2, 2024
1 parent 99b3028 commit caf9949
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit caf9949

Please sign in to comment.