...
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//... 'editor.quickInsert': [ // OCR 버튼 'ocr', //... ], // ... |
플러그인 설정
URL, API Key 설정
요청을 보낼 API의 URL, API Key를 설정합니다.
URL은 OCR 프로모션의 URL이고 API Key는 발급 받은 키를 설정합니다.
에디터 설정 객체에 OCR API를 사용하기 위한 값들을 설정해야 합니다.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//... 'ocr.config': { 'url': '프로모션 UrlURL' 'apiKey': 'API 발급 Key' } // ... |
...