@ctzhian/tiptap 1.9.1 → 1.9.2
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/dist/type/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/type/index.d.ts
CHANGED
|
@@ -101,7 +101,7 @@ export type UseTiptapProps = {
|
|
|
101
101
|
export type GetExtensionsProps = ExtensionRelativeProps;
|
|
102
102
|
export type UseTiptapReturn = {
|
|
103
103
|
editor: Editor;
|
|
104
|
-
setContent: (value: string, type
|
|
104
|
+
setContent: (value: string, type?: UseEditorOptions['contentType']) => void;
|
|
105
105
|
getContent: () => string;
|
|
106
106
|
getMarkdown: () => string;
|
|
107
107
|
getText: () => string;
|