@bizapps/design-system-testing 1.7.1 → 1.7.2
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.
- package/dist/editor.cjs +3 -1
- package/dist/editor.cjs.map +1 -1
- package/dist/editor.d.cts +10 -1
- package/dist/editor.d.ts +10 -1
- package/dist/editor.js +3 -1
- package/dist/editor.js.map +1 -1
- package/package.json +1 -1
package/dist/editor.cjs
CHANGED
|
@@ -1034,7 +1034,8 @@ function useRichTextEditor({
|
|
|
1034
1034
|
extraExtensions = [],
|
|
1035
1035
|
extraToolbar = [],
|
|
1036
1036
|
contentClassName,
|
|
1037
|
-
allowBase64Images = false
|
|
1037
|
+
allowBase64Images = false,
|
|
1038
|
+
editorProps
|
|
1038
1039
|
}) {
|
|
1039
1040
|
const [linkNeedsText, setLinkNeedsText] = react.useState(false);
|
|
1040
1041
|
const editor = react$1.useEditor({
|
|
@@ -1057,6 +1058,7 @@ function useRichTextEditor({
|
|
|
1057
1058
|
// repaint as the selection and attributes change.
|
|
1058
1059
|
shouldRerenderOnTransaction: true,
|
|
1059
1060
|
editorProps: {
|
|
1061
|
+
...editorProps,
|
|
1060
1062
|
attributes: {
|
|
1061
1063
|
// ProseMirror's editable div needs its own accessible name: a
|
|
1062
1064
|
// visible <Label> beside it is decoration, and a screen reader
|