reactjs-tiptap-editor 0.0.19 → 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
|
@@ -1669,16 +1669,6 @@ declare module '@tiptap/core' {
|
|
|
1669
1669
|
}
|
|
1670
1670
|
|
|
1671
1671
|
|
|
1672
|
-
declare module '@tiptap/core' {
|
|
1673
|
-
interface Commands<ReturnType> {
|
|
1674
|
-
lineHeight: {
|
|
1675
|
-
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1676
|
-
unsetLineHeight: () => ReturnType;
|
|
1677
|
-
};
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
1672
|
declare module '@tiptap/core' {
|
|
1683
1673
|
interface Commands<ReturnType> {
|
|
1684
1674
|
indent: {
|
|
@@ -1695,15 +1685,6 @@ declare module '@tiptap/core' {
|
|
|
1695
1685
|
}
|
|
1696
1686
|
|
|
1697
1687
|
|
|
1698
|
-
declare module '@tiptap/core' {
|
|
1699
|
-
interface Commands<ReturnType> {
|
|
1700
|
-
imageUpload: {
|
|
1701
|
-
setImageUpload: () => ReturnType;
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
1688
|
declare module '@tiptap/core' {
|
|
1708
1689
|
interface Commands<ReturnType> {
|
|
1709
1690
|
videoUpload: {
|
|
@@ -1713,16 +1694,6 @@ declare module '@tiptap/core' {
|
|
|
1713
1694
|
}
|
|
1714
1695
|
|
|
1715
1696
|
|
|
1716
|
-
declare module '@tiptap/core' {
|
|
1717
|
-
interface Commands<ReturnType> {
|
|
1718
|
-
tableCellBackground: {
|
|
1719
|
-
setTableCellBackground: (color: string) => ReturnType;
|
|
1720
|
-
unsetTableCellBackground: () => ReturnType;
|
|
1721
|
-
};
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
1697
|
declare module '@tiptap/core' {
|
|
1727
1698
|
interface Commands<ReturnType> {
|
|
1728
1699
|
imageResize: {
|
|
@@ -1750,9 +1721,9 @@ declare module '@tiptap/core' {
|
|
|
1750
1721
|
|
|
1751
1722
|
declare module '@tiptap/core' {
|
|
1752
1723
|
interface Commands<ReturnType> {
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1724
|
+
lineHeight: {
|
|
1725
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1726
|
+
unsetLineHeight: () => ReturnType;
|
|
1756
1727
|
};
|
|
1757
1728
|
}
|
|
1758
1729
|
}
|
|
@@ -1760,14 +1731,19 @@ declare module '@tiptap/core' {
|
|
|
1760
1731
|
|
|
1761
1732
|
declare module '@tiptap/core' {
|
|
1762
1733
|
interface Commands<ReturnType> {
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1734
|
+
tableCellBackground: {
|
|
1735
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
1736
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
declare module '@tiptap/core' {
|
|
1743
|
+
interface Commands<ReturnType> {
|
|
1744
|
+
columns: {
|
|
1745
|
+
setColumns: () => ReturnType;
|
|
1746
|
+
setLayout: (layout: ColumnLayout) => ReturnType;
|
|
1771
1747
|
};
|
|
1772
1748
|
}
|
|
1773
1749
|
}
|
|
@@ -1787,15 +1763,25 @@ declare module '@tiptap/core' {
|
|
|
1787
1763
|
}
|
|
1788
1764
|
|
|
1789
1765
|
|
|
1790
|
-
declare
|
|
1791
|
-
|
|
1766
|
+
declare module '@tiptap/core' {
|
|
1767
|
+
interface Commands<ReturnType> {
|
|
1768
|
+
imageUpload: {
|
|
1769
|
+
setImageUpload: () => ReturnType;
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1792
1772
|
}
|
|
1793
1773
|
|
|
1794
1774
|
|
|
1795
1775
|
declare module '@tiptap/core' {
|
|
1796
1776
|
interface Commands<ReturnType> {
|
|
1797
|
-
|
|
1798
|
-
|
|
1777
|
+
iframe: {
|
|
1778
|
+
/**
|
|
1779
|
+
* Add an iframe
|
|
1780
|
+
*/
|
|
1781
|
+
setIframe: (options: {
|
|
1782
|
+
src: string;
|
|
1783
|
+
service: string;
|
|
1784
|
+
}) => ReturnType;
|
|
1799
1785
|
};
|
|
1800
1786
|
}
|
|
1801
1787
|
}
|
|
@@ -1811,3 +1797,17 @@ declare module '@tiptap/core' {
|
|
|
1811
1797
|
};
|
|
1812
1798
|
}
|
|
1813
1799
|
}
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
declare module '@tiptap/core' {
|
|
1803
|
+
interface Commands<ReturnType> {
|
|
1804
|
+
katex: {
|
|
1805
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
declare namespace DropdownMenuShortcut {
|
|
1812
|
+
var displayName: string;
|
|
1813
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -1669,16 +1669,6 @@ declare module '@tiptap/core' {
|
|
|
1669
1669
|
}
|
|
1670
1670
|
|
|
1671
1671
|
|
|
1672
|
-
declare module '@tiptap/core' {
|
|
1673
|
-
interface Commands<ReturnType> {
|
|
1674
|
-
lineHeight: {
|
|
1675
|
-
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1676
|
-
unsetLineHeight: () => ReturnType;
|
|
1677
|
-
};
|
|
1678
|
-
}
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
1672
|
declare module '@tiptap/core' {
|
|
1683
1673
|
interface Commands<ReturnType> {
|
|
1684
1674
|
indent: {
|
|
@@ -1695,15 +1685,6 @@ declare module '@tiptap/core' {
|
|
|
1695
1685
|
}
|
|
1696
1686
|
|
|
1697
1687
|
|
|
1698
|
-
declare module '@tiptap/core' {
|
|
1699
|
-
interface Commands<ReturnType> {
|
|
1700
|
-
imageUpload: {
|
|
1701
|
-
setImageUpload: () => ReturnType;
|
|
1702
|
-
};
|
|
1703
|
-
}
|
|
1704
|
-
}
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
1688
|
declare module '@tiptap/core' {
|
|
1708
1689
|
interface Commands<ReturnType> {
|
|
1709
1690
|
videoUpload: {
|
|
@@ -1713,16 +1694,6 @@ declare module '@tiptap/core' {
|
|
|
1713
1694
|
}
|
|
1714
1695
|
|
|
1715
1696
|
|
|
1716
|
-
declare module '@tiptap/core' {
|
|
1717
|
-
interface Commands<ReturnType> {
|
|
1718
|
-
tableCellBackground: {
|
|
1719
|
-
setTableCellBackground: (color: string) => ReturnType;
|
|
1720
|
-
unsetTableCellBackground: () => ReturnType;
|
|
1721
|
-
};
|
|
1722
|
-
}
|
|
1723
|
-
}
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
1697
|
declare module '@tiptap/core' {
|
|
1727
1698
|
interface Commands<ReturnType> {
|
|
1728
1699
|
imageResize: {
|
|
@@ -1750,9 +1721,9 @@ declare module '@tiptap/core' {
|
|
|
1750
1721
|
|
|
1751
1722
|
declare module '@tiptap/core' {
|
|
1752
1723
|
interface Commands<ReturnType> {
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1724
|
+
lineHeight: {
|
|
1725
|
+
setLineHeight: (lineHeight: string) => ReturnType;
|
|
1726
|
+
unsetLineHeight: () => ReturnType;
|
|
1756
1727
|
};
|
|
1757
1728
|
}
|
|
1758
1729
|
}
|
|
@@ -1760,14 +1731,19 @@ declare module '@tiptap/core' {
|
|
|
1760
1731
|
|
|
1761
1732
|
declare module '@tiptap/core' {
|
|
1762
1733
|
interface Commands<ReturnType> {
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1734
|
+
tableCellBackground: {
|
|
1735
|
+
setTableCellBackground: (color: string) => ReturnType;
|
|
1736
|
+
unsetTableCellBackground: () => ReturnType;
|
|
1737
|
+
};
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
|
|
1742
|
+
declare module '@tiptap/core' {
|
|
1743
|
+
interface Commands<ReturnType> {
|
|
1744
|
+
columns: {
|
|
1745
|
+
setColumns: () => ReturnType;
|
|
1746
|
+
setLayout: (layout: ColumnLayout) => ReturnType;
|
|
1771
1747
|
};
|
|
1772
1748
|
}
|
|
1773
1749
|
}
|
|
@@ -1787,15 +1763,25 @@ declare module '@tiptap/core' {
|
|
|
1787
1763
|
}
|
|
1788
1764
|
|
|
1789
1765
|
|
|
1790
|
-
declare
|
|
1791
|
-
|
|
1766
|
+
declare module '@tiptap/core' {
|
|
1767
|
+
interface Commands<ReturnType> {
|
|
1768
|
+
imageUpload: {
|
|
1769
|
+
setImageUpload: () => ReturnType;
|
|
1770
|
+
};
|
|
1771
|
+
}
|
|
1792
1772
|
}
|
|
1793
1773
|
|
|
1794
1774
|
|
|
1795
1775
|
declare module '@tiptap/core' {
|
|
1796
1776
|
interface Commands<ReturnType> {
|
|
1797
|
-
|
|
1798
|
-
|
|
1777
|
+
iframe: {
|
|
1778
|
+
/**
|
|
1779
|
+
* Add an iframe
|
|
1780
|
+
*/
|
|
1781
|
+
setIframe: (options: {
|
|
1782
|
+
src: string;
|
|
1783
|
+
service: string;
|
|
1784
|
+
}) => ReturnType;
|
|
1799
1785
|
};
|
|
1800
1786
|
}
|
|
1801
1787
|
}
|
|
@@ -1811,3 +1797,17 @@ declare module '@tiptap/core' {
|
|
|
1811
1797
|
};
|
|
1812
1798
|
}
|
|
1813
1799
|
}
|
|
1800
|
+
|
|
1801
|
+
|
|
1802
|
+
declare module '@tiptap/core' {
|
|
1803
|
+
interface Commands<ReturnType> {
|
|
1804
|
+
katex: {
|
|
1805
|
+
setKatex: (arg?: IKatexAttrs) => ReturnType;
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
|
|
1810
|
+
|
|
1811
|
+
declare namespace DropdownMenuShortcut {
|
|
1812
|
+
var displayName: string;
|
|
1813
|
+
}
|