react-tiptap-base-editor 1.3.1 → 1.3.3
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/assets/index-DgxxYiuK.css +1 -0
- package/dist/assets/index-iWUyV8z0.js +248 -0
- package/dist/components/tiptap-icons/video-icon.d.ts +3 -0
- package/dist/components/tiptap-icons/video-icon.d.ts.map +1 -0
- package/dist/components/tiptap-node/video-embed-node/index.d.ts +2 -0
- package/dist/components/tiptap-node/video-embed-node/index.d.ts.map +1 -0
- package/dist/components/tiptap-node/video-embed-node/video-embed-component.d.ts +4 -0
- package/dist/components/tiptap-node/video-embed-node/video-embed-component.d.ts.map +1 -0
- package/dist/components/tiptap-node/video-embed-node/video-embed-extension.d.ts +22 -0
- package/dist/components/tiptap-node/video-embed-node/video-embed-extension.d.ts.map +1 -0
- package/dist/components/tiptap-templates/simple/simple-editor.d.ts +1 -0
- package/dist/components/tiptap-templates/simple/simple-editor.d.ts.map +1 -1
- package/dist/components/tiptap-ui/video-embed-button/index.d.ts +3 -0
- package/dist/components/tiptap-ui/video-embed-button/index.d.ts.map +1 -0
- package/dist/components/tiptap-ui/video-embed-button/use-video-embed.d.ts +16 -0
- package/dist/components/tiptap-ui/video-embed-button/use-video-embed.d.ts.map +1 -0
- package/dist/components/tiptap-ui/video-embed-button/video-embed-button.d.ts +8 -0
- package/dist/components/tiptap-ui/video-embed-button/video-embed-button.d.ts.map +1 -0
- package/dist/components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.d.ts +1 -1
- package/dist/components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.d.ts.map +1 -1
- package/dist/components/tiptap-ui-primitive/popover/popover.d.ts.map +1 -1
- package/dist/components/tiptap-ui-primitive/tooltip/tooltip.d.ts.map +1 -1
- package/dist/contexts/rtbe-portal-context.d.ts +7 -0
- package/dist/contexts/rtbe-portal-context.d.ts.map +1 -0
- package/dist/index.cjs +50 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.html +14 -0
- package/dist/index.js +5316 -4850
- package/dist/index.js.map +1 -1
- package/dist/lib/rtbe-scope.d.ts +3 -0
- package/dist/lib/rtbe-scope.d.ts.map +1 -0
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export { ListDropdownMenu } from './components/tiptap-ui/list-dropdown-menu';
|
|
|
8
8
|
export { MarkButton } from './components/tiptap-ui/mark-button';
|
|
9
9
|
export { TextAlignButton } from './components/tiptap-ui/text-align-button';
|
|
10
10
|
export { UndoRedoButton } from './components/tiptap-ui/undo-redo-button';
|
|
11
|
+
export { VideoEmbedButton } from './components/tiptap-ui/video-embed-button';
|
|
11
12
|
export { Button } from './components/tiptap-ui-primitive/button';
|
|
12
13
|
export { Toolbar, ToolbarGroup, ToolbarSeparator } from './components/tiptap-ui-primitive/toolbar';
|
|
13
14
|
export { Card } from './components/tiptap-ui-primitive/card';
|
|
@@ -15,4 +16,6 @@ export { useIsMobile } from './hooks/use-mobile';
|
|
|
15
16
|
export { useWindowSize } from './hooks/use-window-size';
|
|
16
17
|
export { useTiptapEditor } from './hooks/use-tiptap-editor';
|
|
17
18
|
export { onUploadImage, MAX_FILE_SIZE } from './lib/tiptap-utils';
|
|
19
|
+
/** 編輯器根節點 className,樣式與 CSS 變數皆綁在此選擇器下 */
|
|
20
|
+
export { RTBE_ROOT_CLASS } from './lib/rtbe-scope';
|
|
18
21
|
//# 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,KAAK,iBAAiB,EAAE,MAAM,oDAAoD,CAAA;AAGzG,OAAO,EAAE,gBAAgB,EAAE,MAAM,0C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E,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;AAEjE,0CAA0C;AAC1C,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAA"}
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Vite + React + TS</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-iWUyV8z0.js"></script>
|
|
9
|
+
<link rel="stylesheet" crossorigin href="/assets/index-DgxxYiuK.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|