@dxos/react-ui-editor 0.8.4-main.1da679c → 0.8.4-main.1f223c7
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/lib/browser/index.mjs +4 -4
- package/dist/lib/browser/index.mjs.map +1 -1
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +4 -4
- package/dist/lib/node-esm/index.mjs.map +1 -1
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +32 -33
@@ -3646,19 +3646,19 @@ import { EditorView as EditorView21, keymap as keymap9 } from "@codemirror/view"
|
|
3646
3646
|
import { useCallback as useCallback2, useMemo as useMemo2 } from "react";
|
3647
3647
|
import { debounceAndThrottle } from "@dxos/async";
|
3648
3648
|
var formattingEquals = (a, b) => a.blockType === b.blockType && a.strong === b.strong && a.emphasis === b.emphasis && a.strikethrough === b.strikethrough && a.code === b.code && a.link === b.link && a.listStyle === b.listStyle && a.blockQuote === b.blockQuote;
|
3649
|
-
var Inline = /* @__PURE__ */
|
3649
|
+
var Inline = /* @__PURE__ */ function(Inline2) {
|
3650
3650
|
Inline2[Inline2["Strong"] = 0] = "Strong";
|
3651
3651
|
Inline2[Inline2["Emphasis"] = 1] = "Emphasis";
|
3652
3652
|
Inline2[Inline2["Strikethrough"] = 2] = "Strikethrough";
|
3653
3653
|
Inline2[Inline2["Code"] = 3] = "Code";
|
3654
3654
|
return Inline2;
|
3655
|
-
}
|
3656
|
-
var List = /* @__PURE__ */
|
3655
|
+
}({});
|
3656
|
+
var List = /* @__PURE__ */ function(List2) {
|
3657
3657
|
List2[List2["Ordered"] = 0] = "Ordered";
|
3658
3658
|
List2[List2["Bullet"] = 1] = "Bullet";
|
3659
3659
|
List2[List2["Task"] = 2] = "Task";
|
3660
3660
|
return List2;
|
3661
|
-
}
|
3661
|
+
}({});
|
3662
3662
|
var setHeading = (level) => {
|
3663
3663
|
return ({ state, dispatch }) => {
|
3664
3664
|
const { selection: { ranges }, doc } = state;
|