UNPKG

@edtr-io/plugin-text

Version:
18 lines 1.26 kB
/// <reference types="react" /> import { Editor } from 'slate'; export declare const isBlockquote: (editor: Editor, pluginClosure: import("react").RefObject<{ overlayContext: import("@edtr-io/editor-ui").OverlayContextValue; name: string; parent?: import("../factory/editor").SlateEditorAdditionalProps | undefined; replace?: ((options?: import("@edtr-io/core").DocumentState | undefined) => void) | undefined; plugins: Record<string, import("@edtr-io/core").Plugin<import("@edtr-io/core/dist/plugin-state").StateDescriptor<any, any, unknown>, any>>; }>) => boolean; export declare const createBlockquote: (editor: Editor, name: string) => void; export declare const removeBlockquote: (editor: Editor, pluginClosure: import("react").RefObject<{ overlayContext: import("@edtr-io/editor-ui").OverlayContextValue; name: string; parent?: import("../factory/editor").SlateEditorAdditionalProps | undefined; replace?: ((options?: import("@edtr-io/core").DocumentState | undefined) => void) | undefined; plugins: Record<string, import("@edtr-io/core").Plugin<import("@edtr-io/core/dist/plugin-state").StateDescriptor<any, any, unknown>, any>>; }>) => Editor | undefined; //# sourceMappingURL=blockquote.d.ts.map