mirror of
https://github.com/priyanshujain/margin.git
synced 2026-10-02 19:17:03 +00:00
changes
This commit is contained in:
1 parent
aa44696803
commit
47710970c2
5 files changed
+65
-30
No files matched your search
@@ -2,6 +2,7 @@ import type { Extensions } from "@tiptap/core";
|
||||
import StarterKit from "@tiptap/starter-kit";
|
||||
import Placeholder from "@tiptap/extension-placeholder";
|
||||
import { Figure } from "./figure";
|
||||
import { ParagraphIndent } from "./indent";
|
||||
|
||||
export const editorExtensions: Extensions = [
|
||||
StarterKit.configure({
|
||||
@@ -13,4 +14,5 @@ export const editorExtensions: Extensions = [
|
||||
placeholder: ({ node }) => (node.type.name === "heading" ? "" : "Begin your chapter…"),
|
||||
}),
|
||||
Figure,
|
||||
ParagraphIndent,
|
||||
];
|
||||
Reference in new issue
Block a user