import { Node as t, mergeAttributes as e } from "../../../../../@tiptap_core@2.14.0_@tiptap_pm@2.14.0/node_modules/@tiptap/core/dist/index.js";
const o = t.create({
  name: "paragraph",
  priority: 1e3,
  addOptions() {
    return {
      HTMLAttributes: {}
    };
  },
  group: "block",
  content: "inline*",
  parseHTML() {
    return [
      { tag: "p" }
    ];
  },
  renderHTML({ HTMLAttributes: r }) {
    return ["p", e(this.options.HTMLAttributes, r), 0];
  },
  addCommands() {
    return {
      setParagraph: () => ({ commands: r }) => r.setNode(this.name)
    };
  },
  addKeyboardShortcuts() {
    return {
      "Mod-Alt-0": () => this.editor.commands.setParagraph()
    };
  }
});
export {
  o as Paragraph,
  o as default
};
//# sourceMappingURL=index.js.map
