reactjs-tiptap-editor 0.0.6 → 0.0.7
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/lib/index.d.cts +20 -20
- package/lib/index.d.ts +20 -20
- package/lib/reactjs-tiptap-editor.cjs +1 -1
- package/lib/reactjs-tiptap-editor.js +60 -56
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -603,6 +603,22 @@ declare module '@tiptap/core' {
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
|
|
606
|
+
declare module '@tiptap/core' {
|
|
607
|
+
interface Commands<ReturnType> {
|
|
608
|
+
indent: {
|
|
609
|
+
/**
|
|
610
|
+
* Set the indent attribute
|
|
611
|
+
*/
|
|
612
|
+
indent: () => ReturnType;
|
|
613
|
+
/**
|
|
614
|
+
* Set the outdent attribute
|
|
615
|
+
*/
|
|
616
|
+
outdent: () => ReturnType;
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
|
|
606
622
|
declare module '@tiptap/core' {
|
|
607
623
|
interface Commands<ReturnType> {
|
|
608
624
|
lineHeight: {
|
|
@@ -615,15 +631,8 @@ declare module '@tiptap/core' {
|
|
|
615
631
|
|
|
616
632
|
declare module '@tiptap/core' {
|
|
617
633
|
interface Commands<ReturnType> {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
* Set the indent attribute
|
|
621
|
-
*/
|
|
622
|
-
indent: () => ReturnType;
|
|
623
|
-
/**
|
|
624
|
-
* Set the outdent attribute
|
|
625
|
-
*/
|
|
626
|
-
outdent: () => ReturnType;
|
|
634
|
+
imageUpload: {
|
|
635
|
+
setImageUpload: () => ReturnType;
|
|
627
636
|
};
|
|
628
637
|
}
|
|
629
638
|
}
|
|
@@ -647,8 +656,8 @@ declare module '@tiptap/core' {
|
|
|
647
656
|
|
|
648
657
|
declare module '@tiptap/core' {
|
|
649
658
|
interface Commands<ReturnType> {
|
|
650
|
-
|
|
651
|
-
|
|
659
|
+
videoUpload: {
|
|
660
|
+
setVideoUpload: () => ReturnType;
|
|
652
661
|
};
|
|
653
662
|
}
|
|
654
663
|
}
|
|
@@ -683,15 +692,6 @@ declare module '@tiptap/core' {
|
|
|
683
692
|
}
|
|
684
693
|
|
|
685
694
|
|
|
686
|
-
declare module '@tiptap/core' {
|
|
687
|
-
interface Commands<ReturnType> {
|
|
688
|
-
videoUpload: {
|
|
689
|
-
setVideoUpload: () => ReturnType;
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
|
|
695
695
|
declare module '@tiptap/core' {
|
|
696
696
|
interface Commands<ReturnType> {
|
|
697
697
|
iframe: {
|
package/lib/index.d.ts
CHANGED
|
@@ -603,6 +603,22 @@ declare module '@tiptap/core' {
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
|
|
606
|
+
declare module '@tiptap/core' {
|
|
607
|
+
interface Commands<ReturnType> {
|
|
608
|
+
indent: {
|
|
609
|
+
/**
|
|
610
|
+
* Set the indent attribute
|
|
611
|
+
*/
|
|
612
|
+
indent: () => ReturnType;
|
|
613
|
+
/**
|
|
614
|
+
* Set the outdent attribute
|
|
615
|
+
*/
|
|
616
|
+
outdent: () => ReturnType;
|
|
617
|
+
};
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
|
|
606
622
|
declare module '@tiptap/core' {
|
|
607
623
|
interface Commands<ReturnType> {
|
|
608
624
|
lineHeight: {
|
|
@@ -615,15 +631,8 @@ declare module '@tiptap/core' {
|
|
|
615
631
|
|
|
616
632
|
declare module '@tiptap/core' {
|
|
617
633
|
interface Commands<ReturnType> {
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
* Set the indent attribute
|
|
621
|
-
*/
|
|
622
|
-
indent: () => ReturnType;
|
|
623
|
-
/**
|
|
624
|
-
* Set the outdent attribute
|
|
625
|
-
*/
|
|
626
|
-
outdent: () => ReturnType;
|
|
634
|
+
imageUpload: {
|
|
635
|
+
setImageUpload: () => ReturnType;
|
|
627
636
|
};
|
|
628
637
|
}
|
|
629
638
|
}
|
|
@@ -647,8 +656,8 @@ declare module '@tiptap/core' {
|
|
|
647
656
|
|
|
648
657
|
declare module '@tiptap/core' {
|
|
649
658
|
interface Commands<ReturnType> {
|
|
650
|
-
|
|
651
|
-
|
|
659
|
+
videoUpload: {
|
|
660
|
+
setVideoUpload: () => ReturnType;
|
|
652
661
|
};
|
|
653
662
|
}
|
|
654
663
|
}
|
|
@@ -683,15 +692,6 @@ declare module '@tiptap/core' {
|
|
|
683
692
|
}
|
|
684
693
|
|
|
685
694
|
|
|
686
|
-
declare module '@tiptap/core' {
|
|
687
|
-
interface Commands<ReturnType> {
|
|
688
|
-
videoUpload: {
|
|
689
|
-
setVideoUpload: () => ReturnType;
|
|
690
|
-
};
|
|
691
|
-
}
|
|
692
|
-
}
|
|
693
|
-
|
|
694
|
-
|
|
695
695
|
declare module '@tiptap/core' {
|
|
696
696
|
interface Commands<ReturnType> {
|
|
697
697
|
iframe: {
|