npm install tiptap-extension-margin -S
import Margin from "tiptap-extension-margin";
const editor = new Editor({
element: document.querySelector(".editor"),
extensions: [StarterKit, Margin],
});
// { top, bottom, left, right }
editor.chain().focus().setMargin({ top: "10px" }).run();
tiptap: https://tiptap.dev/
tiptap-appmsg-editor: https://github.com/KID-1912/tiptap-appmsg-editor