studiokit-scaffolding-js 7.0.8-alpha.3 → 7.0.8-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -236,7 +236,16 @@ var CustomToolbar = function (props) {
|
|
|
236
236
|
var _b = react_1.useState(false), isShowingMoreOptions = _b[0], setIsShowingMoreOptions = _b[1];
|
|
237
237
|
var toolbarRef = react_1.default.createRef();
|
|
238
238
|
react_1.useEffect(function () {
|
|
239
|
-
|
|
239
|
+
console.log('CustomToolbar', {
|
|
240
|
+
isInitialized: isInitialized,
|
|
241
|
+
toolbarRef: toolbarRef,
|
|
242
|
+
toolbar: toolbarRef.current,
|
|
243
|
+
reactQuillRef: reactQuillRef,
|
|
244
|
+
editor: reactQuillRef === null || reactQuillRef === void 0 ? void 0 : reactQuillRef.getEditor(),
|
|
245
|
+
disabled: disabled,
|
|
246
|
+
isVisibleWhenDisabled: isVisibleWhenDisabled
|
|
247
|
+
});
|
|
248
|
+
// initialize the toolbar after toolbarRef and reactQuill editor exist and the buttons are displayed
|
|
240
249
|
if (!isInitialized && toolbarRef.current && reactQuillRef && (!disabled || isVisibleWhenDisabled)) {
|
|
241
250
|
accessibilityFix_1.applyAccessibilityHacks(toolbarRef, reactQuillRef.getEditor());
|
|
242
251
|
// manually modify the table picker select svg icon
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "studiokit-scaffolding-js",
|
|
3
|
-
"version": "7.0.8-alpha.
|
|
3
|
+
"version": "7.0.8-alpha.4",
|
|
4
4
|
"description": "Common scaffolding for Studio apps at Purdue",
|
|
5
5
|
"repository": "https://gitlab.com/purdue-informatics/studiokit/studiokit-scaffolding-js",
|
|
6
6
|
"license": "MIT",
|