@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.
@@ -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: UseEditorOptions['contentType']) => void;
104
+ setContent: (value: string, type?: UseEditorOptions['contentType']) => void;
105
105
  getContent: () => string;
106
106
  getMarkdown: () => string;
107
107
  getText: () => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctzhian/tiptap",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "基于 Tiptap 二次开发的编辑器组件",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",