Skip to main content

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:

ParameterTypeDescription
optionsGetStaticAndDynamic<WysiwygOptions>(Optional)

Returns:

WysiwygPreset[]

interface WysiwygOptions

Signature:

export interface WysiwygOptions extends BidiOptions, BoldOptions, CodeBlockOptions, DropCursorOptions, HeadingOptions, LinkOptions, SearchOptions, TrailingNodeOptions 

Extends: BidiOptions, BoldOptions, CodeBlockOptions, DropCursorOptions, HeadingOptions, LinkOptions, SearchOptions, 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 | SearchExtension | TrailingNodeExtension | IframeExtension | BulletListExtension | OrderedListExtension | TaskListExtension | ShortcutsExtension;