PHP 8.2.30
Preview: useEditor.d.ts Size: 1.38 KB
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@tiptap/react/dist/useEditor.d.ts

import { type EditorOptions, Editor } from '@tiptap/core';
import { DependencyList } from 'react';
/**
 * The options for the `useEditor` hook.
 */
export type UseEditorOptions = Partial<EditorOptions> & {
    /**
     * Whether to render the editor on the first render.
     * If client-side rendering, set this to `true`.
     * If server-side rendering, set this to `false`.
     * @default true
     */
    immediatelyRender?: boolean;
    /**
     * Whether to re-render the editor on each transaction.
     * This is legacy behavior that will be removed in future versions.
     * @default true
     */
    shouldRerenderOnTransaction?: boolean;
};
/**
 * This hook allows you to create an editor instance.
 * @param options The editor options
 * @param deps The dependencies to watch for changes
 * @returns The editor instance
 * @example const editor = useEditor({ extensions: [...] })
 */
export declare function useEditor(options: UseEditorOptions & {
    immediatelyRender: true;
}, deps?: DependencyList): Editor;
/**
 * This hook allows you to create an editor instance.
 * @param options The editor options
 * @param deps The dependencies to watch for changes
 * @returns The editor instance
 * @example const editor = useEditor({ extensions: [...] })
 */
export declare function useEditor(options?: UseEditorOptions, deps?: DependencyList): Editor | null;
//# sourceMappingURL=useEditor.d.ts.map

Directory Contents

Dirs: 0 × Files: 34

Name Size Perms Modified Actions
544 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
635 B lrw-r--r-- 2026-02-28 11:47:12
Edit Download
1.01 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
751 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
564 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
647 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
873 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
704 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
534 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
610 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
61.72 KB lrw-r--r-- 2026-02-28 11:47:08
Edit Download
108.65 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
491 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
395 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
60.45 KB lrw-r--r-- 2026-02-28 11:47:10
Edit Download
108.31 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
63.05 KB lrw-r--r-- 2026-02-28 11:47:10
Edit Download
108.61 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
236 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
329 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
236 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
329 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
3.92 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
2.08 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
1.93 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
1.27 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
250 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
328 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
1.38 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
618 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
1.81 KB lrw-r--r-- 2026-02-28 11:47:14
Edit Download
864 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
386 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download
335 B lrw-r--r-- 2026-02-28 11:47:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).