reactjs-tiptap-editor 0.0.18 → 0.0.20
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
CHANGED
|
@@ -1651,11 +1651,6 @@ declare module '@tiptap/core' {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
|
|
1654
|
-
declare namespace DropdownMenuShortcut {
|
|
1655
|
-
var displayName: string;
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
1654
|
declare module '@tiptap/core' {
|
|
1660
1655
|
interface Commands<ReturnType> {
|
|
1661
1656
|
fontSize: {
|
|
@@ -1692,9 +1687,8 @@ declare module '@tiptap/core' {
|
|
|
1692
1687
|
|
|
1693
1688
|
declare module '@tiptap/core' {
|
|
1694
1689
|
interface Commands<ReturnType> {
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
unsetLineHeight: () => ReturnType;
|
|
1690
|
+
videoUpload: {
|
|
1691
|
+
setVideoUpload: () => ReturnType;
|
|
1698
1692
|
};
|
|
1699
1693
|
}
|
|
1700
1694
|
}
|
|
@@ -1716,15 +1710,6 @@ declare module '@tiptap/core' {
|
|
|
1716
1710
|
}
|
|
1717
1711
|
|
|
1718
1712
|
|
|
1719
|
-
declare module '@tiptap/core' {
|
|
1720
|
-
interface Commands<ReturnType> {
|
|
1721
|
-
imageUpload: {
|
|
1722
|
-
setImageUpload: () => ReturnType;
|
|
1723
|
-
};
|
|
1724
|
-
}
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
1713
|
declare module '@tiptap/core' {
|
|
1729
1714
|
interface Commands<ReturnType> {
|
|
1730
1715
|
painter: {
|
|
@@ -1736,9 +1721,9 @@ declare module '@tiptap/core' {
|
|
|
1736
1721
|
|
|
1737
1722
|
declare module '@tiptap/core' {
|
|
1738
1723
|
interface Commands<ReturnType> {
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1724
|
+
lineHeight: {
|
|
1725
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1726
|
+
unsetLineHeight: () => ReturnType;
|
|
1742
1727
|
};
|
|
1743
1728
|
}
|
|
1744
1729
|
}
|
|
@@ -1746,14 +1731,9 @@ declare module '@tiptap/core' {
|
|
|
1746
1731
|
|
|
1747
1732
|
declare module '@tiptap/core' {
|
|
1748
1733
|
interface Commands<ReturnType> {
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
*/
|
|
1753
|
-
setIframe: (options: {
|
|
1754
|
-
src: string;
|
|
1755
|
-
service: string;
|
|
1756
|
-
}) => ReturnType;
|
|
1734
|
+
tableCellBackground: {
|
|
1735
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
1736
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1757
1737
|
};
|
|
1758
1738
|
}
|
|
1759
1739
|
}
|
|
@@ -1761,8 +1741,9 @@ declare module '@tiptap/core' {
|
|
|
1761
1741
|
|
|
1762
1742
|
declare module '@tiptap/core' {
|
|
1763
1743
|
interface Commands<ReturnType> {
|
|
1764
|
-
|
|
1765
|
-
|
|
1744
|
+
columns: {
|
|
1745
|
+
setColumns: () => ReturnType;
|
|
1746
|
+
setLayout: (layout: ColumnLayout) => ReturnType;
|
|
1766
1747
|
};
|
|
1767
1748
|
}
|
|
1768
1749
|
}
|
|
@@ -1784,9 +1765,23 @@ declare module '@tiptap/core' {
|
|
|
1784
1765
|
|
|
1785
1766
|
declare module '@tiptap/core' {
|
|
1786
1767
|
interface Commands<ReturnType> {
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1768
|
+
imageUpload: {
|
|
1769
|
+
setImageUpload: () => ReturnType;
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
declare module '@tiptap/core' {
|
|
1776
|
+
interface Commands<ReturnType> {
|
|
1777
|
+
iframe: {
|
|
1778
|
+
/**
|
|
1779
|
+
* Add an iframe
|
|
1780
|
+
*/
|
|
1781
|
+
setIframe: (options: {
|
|
1782
|
+
src: string;
|
|
1783
|
+
service: string;
|
|
1784
|
+
}) => ReturnType;
|
|
1790
1785
|
};
|
|
1791
1786
|
}
|
|
1792
1787
|
}
|
|
@@ -1811,3 +1806,8 @@ declare module '@tiptap/core' {
|
|
|
1811
1806
|
};
|
|
1812
1807
|
}
|
|
1813
1808
|
}
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
declare namespace DropdownMenuShortcut {
|
|
1812
|
+
var displayName: string;
|
|
1813
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1651,11 +1651,6 @@ declare module '@tiptap/core' {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
|
|
1653
1653
|
|
|
1654
|
-
declare namespace DropdownMenuShortcut {
|
|
1655
|
-
var displayName: string;
|
|
1656
|
-
}
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
1654
|
declare module '@tiptap/core' {
|
|
1660
1655
|
interface Commands<ReturnType> {
|
|
1661
1656
|
fontSize: {
|
|
@@ -1692,9 +1687,8 @@ declare module '@tiptap/core' {
|
|
|
1692
1687
|
|
|
1693
1688
|
declare module '@tiptap/core' {
|
|
1694
1689
|
interface Commands<ReturnType> {
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
unsetLineHeight: () => ReturnType;
|
|
1690
|
+
videoUpload: {
|
|
1691
|
+
setVideoUpload: () => ReturnType;
|
|
1698
1692
|
};
|
|
1699
1693
|
}
|
|
1700
1694
|
}
|
|
@@ -1716,15 +1710,6 @@ declare module '@tiptap/core' {
|
|
|
1716
1710
|
}
|
|
1717
1711
|
|
|
1718
1712
|
|
|
1719
|
-
declare module '@tiptap/core' {
|
|
1720
|
-
interface Commands<ReturnType> {
|
|
1721
|
-
imageUpload: {
|
|
1722
|
-
setImageUpload: () => ReturnType;
|
|
1723
|
-
};
|
|
1724
|
-
}
|
|
1725
|
-
}
|
|
1726
|
-
|
|
1727
|
-
|
|
1728
1713
|
declare module '@tiptap/core' {
|
|
1729
1714
|
interface Commands<ReturnType> {
|
|
1730
1715
|
painter: {
|
|
@@ -1736,9 +1721,9 @@ declare module '@tiptap/core' {
|
|
|
1736
1721
|
|
|
1737
1722
|
declare module '@tiptap/core' {
|
|
1738
1723
|
interface Commands<ReturnType> {
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1724
|
+
lineHeight: {
|
|
1725
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1726
|
+
unsetLineHeight: () => ReturnType;
|
|
1742
1727
|
};
|
|
1743
1728
|
}
|
|
1744
1729
|
}
|
|
@@ -1746,14 +1731,9 @@ declare module '@tiptap/core' {
|
|
|
1746
1731
|
|
|
1747
1732
|
declare module '@tiptap/core' {
|
|
1748
1733
|
interface Commands<ReturnType> {
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
*/
|
|
1753
|
-
setIframe: (options: {
|
|
1754
|
-
src: string;
|
|
1755
|
-
service: string;
|
|
1756
|
-
}) => ReturnType;
|
|
1734
|
+
tableCellBackground: {
|
|
1735
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
1736
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1757
1737
|
};
|
|
1758
1738
|
}
|
|
1759
1739
|
}
|
|
@@ -1761,8 +1741,9 @@ declare module '@tiptap/core' {
|
|
|
1761
1741
|
|
|
1762
1742
|
declare module '@tiptap/core' {
|
|
1763
1743
|
interface Commands<ReturnType> {
|
|
1764
|
-
|
|
1765
|
-
|
|
1744
|
+
columns: {
|
|
1745
|
+
setColumns: () => ReturnType;
|
|
1746
|
+
setLayout: (layout: ColumnLayout) => ReturnType;
|
|
1766
1747
|
};
|
|
1767
1748
|
}
|
|
1768
1749
|
}
|
|
@@ -1784,9 +1765,23 @@ declare module '@tiptap/core' {
|
|
|
1784
1765
|
|
|
1785
1766
|
declare module '@tiptap/core' {
|
|
1786
1767
|
interface Commands<ReturnType> {
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1768
|
+
imageUpload: {
|
|
1769
|
+
setImageUpload: () => ReturnType;
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
declare module '@tiptap/core' {
|
|
1776
|
+
interface Commands<ReturnType> {
|
|
1777
|
+
iframe: {
|
|
1778
|
+
/**
|
|
1779
|
+
* Add an iframe
|
|
1780
|
+
*/
|
|
1781
|
+
setIframe: (options: {
|
|
1782
|
+
src: string;
|
|
1783
|
+
service: string;
|
|
1784
|
+
}) => ReturnType;
|
|
1790
1785
|
};
|
|
1791
1786
|
}
|
|
1792
1787
|
}
|
|
@@ -1811,3 +1806,8 @@ declare module '@tiptap/core' {
|
|
|
1811
1806
|
};
|
|
1812
1807
|
}
|
|
1813
1808
|
}
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
declare namespace DropdownMenuShortcut {
|
|
1812
|
+
var displayName: string;
|
|
1813
|
+
}
|