UNPKG

ra-input-rich-text

Version:

<RichTextInput> component for react-admin, useful for editing HTML code in admin GUIs.

6 lines 248 B
/** * A hook that returns the current text selection in the editor. * @returns {(string|null)} The current text selection if any, or null. */ export declare const useEditorSelection: () => string; //# sourceMappingURL=useEditorSelection.d.ts.map