mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
Update OCR - Optical Character Recognition.md
This commit is contained in:
@@ -21,7 +21,7 @@ if(!ea.verifyMinimumPluginVersion || !ea.verifyMinimumPluginVersion("1.5.21")) {
|
||||
return;
|
||||
}
|
||||
|
||||
let token = ea.getScriptSettings().token.value??ea.getScriptSettings().token;
|
||||
let token = ea.getScriptSettings().token?.value??ea.getScriptSettings().token;
|
||||
const BASE_URL = "https://ocr.taskbone.com";
|
||||
|
||||
//convert setting to 1.5.21 format
|
||||
@@ -121,4 +121,4 @@ API.zoomToFit(ea.getViewSelectedElements(),1);
|
||||
function notice(message) {
|
||||
new Notice(message,10000);
|
||||
console.log(message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user