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