react-tiptap-base-editor 1.0.0 → 1.1.0
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/README.md +384 -68
- package/dist/components/tiptap-node/resizable-image-node/index.d.ts +4 -0
- package/dist/components/tiptap-node/resizable-image-node/index.d.ts.map +1 -0
- package/dist/components/tiptap-node/resizable-image-node/resizable-image-component.d.ts +4 -0
- package/dist/components/tiptap-node/resizable-image-node/resizable-image-component.d.ts.map +1 -0
- package/dist/components/tiptap-node/resizable-image-node/resizable-image-extension.d.ts +29 -0
- package/dist/components/tiptap-node/resizable-image-node/resizable-image-extension.d.ts.map +1 -0
- package/dist/components/tiptap-templates/simple/simple-editor.d.ts +10 -1
- package/dist/components/tiptap-templates/simple/simple-editor.d.ts.map +1 -1
- package/dist/components/tiptap-ui/blockquote-button/use-blockquote.d.ts +1 -1
- package/dist/components/tiptap-ui/code-block-button/use-code-block.d.ts +1 -1
- package/dist/hooks/use-tiptap-editor.d.ts +6 -6
- package/dist/hooks/use-tiptap-editor.d.ts.map +1 -1
- package/dist/index.cjs +213 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25402 -3536
- package/dist/index.js.map +1 -1
- package/dist/lib/tiptap-utils.d.ts +1 -1
- package/dist/lib/tiptap-utils.d.ts.map +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
-
export { TiptapEditor } from './components/tiptap-templates/simple/simple-editor';
|
|
2
|
+
export { TiptapEditor, type TiptapEditorProps } from './components/tiptap-templates/simple/simple-editor';
|
|
3
3
|
export { BlockquoteButton } from './components/tiptap-ui/blockquote-button';
|
|
4
4
|
export { CodeBlockButton } from './components/tiptap-ui/code-block-button';
|
|
5
5
|
export { HeadingDropdownMenu } from './components/tiptap-ui/heading-dropdown-menu';
|
|
@@ -14,5 +14,5 @@ export { Card } from './components/tiptap-ui-primitive/card';
|
|
|
14
14
|
export { useIsMobile } from './hooks/use-mobile';
|
|
15
15
|
export { useWindowSize } from './hooks/use-window-size';
|
|
16
16
|
export { useTiptapEditor } from './hooks/use-tiptap-editor';
|
|
17
|
-
export {
|
|
17
|
+
export { onUploadImage, MAX_FILE_SIZE } from './lib/tiptap-utils';
|
|
18
18
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAA;AAGpB,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,aAAa,CAAA;AAGpB,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAGzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAA;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAA;AAClF,OAAO,EAAE,iBAAiB,EAAE,MAAM,4CAA4C,CAAA;AAC9E,OAAO,EAAE,gBAAgB,EAAE,MAAM,2CAA2C,CAAA;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAA;AAC/D,OAAO,EAAE,eAAe,EAAE,MAAM,0CAA0C,CAAA;AAC1E,OAAO,EAAE,cAAc,EAAE,MAAM,yCAAyC,CAAA;AAGxE,OAAO,EAAE,MAAM,EAAE,MAAM,yCAAyC,CAAA;AAChE,OAAO,EAAE,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,0CAA0C,CAAA;AAClG,OAAO,EAAE,IAAI,EAAE,MAAM,uCAAuC,CAAA;AAG5D,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAG3D,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA"}
|