@editorcn/editor 0.5.1 → 0.5.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/README.md CHANGED
@@ -53,13 +53,12 @@ Make sure your `components.json` includes the editorcn registry:
53
53
 
54
54
  import { useEditor } from "@tiptap/react";
55
55
  import { StarterKit } from "@tiptap/starter-kit";
56
- import { Underline } from "@tiptap/extension-underline";
57
56
  import { RichTextEditor, Link } from "@editorcn/editor";
58
57
  import "@editorcn/editor/style.css";
59
58
 
60
59
  export function MyEditor() {
61
60
  const editor = useEditor({
62
- extensions: [StarterKit, Link, Underline],
61
+ extensions: [StarterKit.configure({ link: false }), Link],
63
62
  content: "<p>Start typing...</p>",
64
63
  });
65
64
 
package/dist/index.cjs CHANGED
@@ -1050,6 +1050,7 @@ var BubbleMenu = ({ editor }) => {
1050
1050
  return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
1051
1051
  import_menus.BubbleMenu,
1052
1052
  {
1053
+ className: "z-50",
1053
1054
  editor,
1054
1055
  options: { offset: 8, placement: "top" },
1055
1056
  shouldShow,