Home Reference Source
public class | source

RichEditor2

Extends:

react~React.Component → RichEditor2

Constructor Summary

Public Constructor
public

constructor(props: *)

Member Summary

Public Members
public

editor: *

public

plugins: *

public
public

state: *

Method Summary

Public Methods
public

handleExport(e: *)

public
public

handleHelp(e: *)

public

handleMarkClick(type: *, e: *)

public

handleNodeClick(type: *, e: *)

public

hasBlock(type: *): *

public

hasInline(type: *): *

public

hasMark(type: *): *

public
public

onChange(e: *)

public

onKeyDown(e: *, editor: *, next: *): *

public

onKeyUp(e: *, editor: *, next: *): *

public

onPaste(e: *, editor: *, next: *): *

public

render(): *

public

renderMark(props: *, editor: *, next: *): *

public

renderNode(props: *, editor: *, next: *): *

public

resetEditorContent(value: *)

Public Constructors

public constructor(props: *) source

Params:

NameTypeAttributeDescription
props *

Public Members

public editor: * source

public plugins: * source

public serializer: * source

public state: * source

Public Methods

public handleExport(e: *) source

Params:

NameTypeAttributeDescription
e *

public handleFeedback() source

public handleHelp(e: *) source

Params:

NameTypeAttributeDescription
e *

public handleMarkClick(type: *, e: *) source

Params:

NameTypeAttributeDescription
type *
e *

public handleNodeClick(type: *, e: *) source

Params:

NameTypeAttributeDescription
type *
e *

public hasBlock(type: *): * source

Params:

NameTypeAttributeDescription
type *

Return:

*

public hasInline(type: *): * source

Params:

NameTypeAttributeDescription
type *

Return:

*

public hasMark(type: *): * source

Params:

NameTypeAttributeDescription
type *

Return:

*

public isShiftDown(): * source

Return:

*

public onChange(e: *) source

Params:

NameTypeAttributeDescription
e *

public onKeyDown(e: *, editor: *, next: *): * source

Params:

NameTypeAttributeDescription
e *
editor *
next *

Return:

*

public onKeyUp(e: *, editor: *, next: *): * source

Params:

NameTypeAttributeDescription
e *
editor *
next *

Return:

*

public onPaste(e: *, editor: *, next: *): * source

Params:

NameTypeAttributeDescription
e *
editor *
next *

Return:

*

public render(): * source

Return:

*

public renderMark(props: *, editor: *, next: *): * source

Params:

NameTypeAttributeDescription
props *
editor *
next *

Return:

*

public renderNode(props: *, editor: *, next: *): * source

Params:

NameTypeAttributeDescription
props *
editor *
next *

Return:

*

public resetEditorContent(value: *) source

Params:

NameTypeAttributeDescription
value *