@fileverse-dev/ddoc 3.0.1-patch-1 → 3.0.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/{ccip-jY3-fGAH.mjs → ccip-9tcAEP7t.mjs} +1 -1
- package/dist/{index-Bqtkkoww.mjs → index-D3LbVLSA.mjs} +17041 -17110
- package/dist/index.es.js +1 -1
- package/dist/package/components/editor-utils.d.ts +0 -1
- package/dist/package/extensions/default-extension.d.ts +1 -1
- package/dist/package/hooks/use-editing-context.d.ts +1 -0
- package/dist/package/preview-ddoc-editor.d.ts +4 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/package/components/editor-toolbar-dropdown.d.ts +0 -12
- package/dist/package/extensions/clipboard-text-serializer.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { LucideIconProps } from '@fileverse/ui';
|
|
2
|
-
import { IEditorToolElement } from './editor-utils';
|
|
3
|
-
|
|
4
|
-
declare const EditorToolbarDropdown: ({ tool, isLoading, renderContent, }: {
|
|
5
|
-
tool: IEditorToolElement;
|
|
6
|
-
isLoading: boolean;
|
|
7
|
-
renderContent: (tool: {
|
|
8
|
-
title: string;
|
|
9
|
-
icon: LucideIconProps["name"];
|
|
10
|
-
}) => JSX.Element | null;
|
|
11
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
export default EditorToolbarDropdown;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Extension } from '@tiptap/core';
|
|
2
|
-
|
|
3
|
-
export interface ClipboardTextSerializerOptions {
|
|
4
|
-
blockSeparator?: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* This extension ensures that when copying content with Cmd+C,
|
|
8
|
-
* only the text content is copied instead of the entire DOM.
|
|
9
|
-
* This fixes issues after upgrading to Tiptap v3.
|
|
10
|
-
*/
|
|
11
|
-
export declare const ClipboardTextSerializer: Extension<ClipboardTextSerializerOptions, any>;
|