|
@@ -18,6 +18,9 @@ import isElementOpen from './isElementOpen';
|
|
|
import setActiveElementTab from './setActiveElementTab';
|
|
|
import setCustomFonts from './setCustomFonts';
|
|
|
import setAnnotator from './setAnnotator';
|
|
|
+import getToolColor from './getToolColor';
|
|
|
+import getTool from './getTool';
|
|
|
+import getActiveTool from './getActiveTool';
|
|
|
|
|
|
export default () => {
|
|
|
const { locale } = i18n.global
|
|
@@ -55,6 +58,9 @@ export default () => {
|
|
|
setActiveElementTab: setActiveElementTab(useViewer),
|
|
|
setCustomFonts: setCustomFonts(useViewer),
|
|
|
setAnnotator: setAnnotator(useDocument),
|
|
|
+ getActiveTool: getActiveTool(useDocument),
|
|
|
+ getToolColor: getToolColor(useDocument),
|
|
|
+ getTool: getTool(useDocument),
|
|
|
}
|
|
|
const documentViewer = core.getDocumentViewer(1);
|
|
|
|