preset-wysiwyg
package @remirror/preset-wysiwyg
function wysiwygPreset()
Create the wysiwyg preset which includes all the more exotic extensions provided by the remirror
core library.
Signature:
export declare function wysiwygPreset(options?: GetStaticAndDynamic<WysiwygOptions>): WysiwygPreset[];
Parameters:
Parameter | Type | Description |
---|---|---|
options | GetStaticAndDynamic<WysiwygOptions> | (Optional) |
Returns:
interface WysiwygOptions
Signature:
export interface WysiwygOptions extends BidiOptions, BoldOptions, CodeBlockOptions, DropCursorOptions, FindOptions, HeadingOptions, LinkOptions, TrailingNodeOptions
Extends: BidiOptions, BoldOptions, CodeBlockOptions, DropCursorOptions, FindOptions, HeadingOptions, LinkOptions, TrailingNodeOptions
(Some inherited members may not be shown because they are not represented in the documentation.)
type WysiwygPreset
The union of types for all the extensions provided by the wysiwygPreset
function call.
Signature:
export type WysiwygPreset = GapCursorExtension | HardBreakExtension | HorizontalRuleExtension | ImageExtension | ItalicExtension | StrikeExtension | UnderlineExtension | BlockquoteExtension | CodeExtension | LinkExtension | BidiExtension | BoldExtension | CodeBlockExtension | DropCursorExtension | HeadingExtension | FindExtension | TrailingNodeExtension | IframeExtension | BulletListExtension | OrderedListExtension | TaskListExtension | ShortcutsExtension;