Upgrading TipTap indent extension
This commit is contained in:
1 parent
f9b6aae927
commit
87f9119b0b
1 file changed
+5
-3
@@ -25,9 +25,11 @@ declare module "@tiptap/core" {
|
||||
export default Extension.create<IndentOptions>({
|
||||
name: "indent",
|
||||
|
||||
defaultOptions: {
|
||||
types: ["paragraph", "heading"],
|
||||
margin: 40
|
||||
addOptions() {
|
||||
return {
|
||||
types: ["paragraph", "heading"],
|
||||
margin: 40
|
||||
}
|
||||
},
|
||||
|
||||
addGlobalAttributes() {
|
||||
|
||||
Reference in new issue
Block a user