diff --git a/NOTICE.txt b/NOTICE.txt index 731cb600..ae67cad0 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -1,2 +1,5 @@ OpenSearch (https://opensearch.org/) Copyright OpenSearch Contributors + +This product includes software developed by +naptha (https://github.com/naptha/tesseract.js/) diff --git a/common/tesseract/.gitignore b/common/tesseract/.gitignore new file mode 100644 index 00000000..d6b7ef32 --- /dev/null +++ b/common/tesseract/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/package.json b/package.json index 518d70dc..8bdc0072 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "cypress:run": "cypress run", "cypress:open": "cypress open", "plugin-helpers": "node ../../scripts/plugin_helpers", - "postinstall": "node ./scripts/patch-html2canvas.js" + "postinstall": "node ./scripts/postinstall.js" }, "dependencies": { "babel-polyfill": "^6.26.0", @@ -38,7 +38,8 @@ "react-router-dom": "^5.3.0", "react-toast-notifications": "^2.4.0", "set-interval-async": "1.0.33", - "showdown": "^1.9.1" + "showdown": "^1.9.1", + "tesseract.js": "^4.0.2" }, "devDependencies": { "@elastic/eslint-import-resolver-kibana": "link:../../packages/osd-eslint-import-resolver-opensearch-dashboards", diff --git a/public/components/context_menu/context_menu_ui.js b/public/components/context_menu/context_menu_ui.js index 119b7bae..2dfd798f 100644 --- a/public/components/context_menu/context_menu_ui.js +++ b/public/components/context_menu/context_menu_ui.js @@ -8,7 +8,7 @@ import { i18n } from '@osd/i18n'; export const getMenuItem = (name) => { return ` `; }; @@ -46,7 +46,7 @@ export const popoverMenu = (savedObjectAvailable) => {