import RichEditor2 from 'ceo-core/application/components/common/rich-editor2/index.js'
RichEditor2
Extends:
Constructor Summary
Public Constructor | ||
public |
constructor(props: *) |
Member Summary
Public Members | ||
public |
editor: * |
|
public |
plugins: * |
|
public |
serializer: * |
|
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 |
isShiftDown(): * |
|
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:
Name | Type | Attribute | Description |
props | * |
Public Members
public editor: * source
public plugins: * source
public serializer: * source
public state: * source
Public Methods
public handleExport(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public handleFeedback() source
public handleHelp(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public handleMarkClick(type: *, e: *) source
Params:
Name | Type | Attribute | Description |
type | * | ||
e | * |
public handleNodeClick(type: *, e: *) source
Params:
Name | Type | Attribute | Description |
type | * | ||
e | * |
public onChange(e: *) source
Params:
Name | Type | Attribute | Description |
e | * |
public onKeyDown(e: *, editor: *, next: *): * source
Params:
Name | Type | Attribute | Description |
e | * | ||
editor | * | ||
next | * |
Return:
* |
public onKeyUp(e: *, editor: *, next: *): * source
Params:
Name | Type | Attribute | Description |
e | * | ||
editor | * | ||
next | * |
Return:
* |
public onPaste(e: *, editor: *, next: *): * source
Params:
Name | Type | Attribute | Description |
e | * | ||
editor | * | ||
next | * |
Return:
* |
public renderMark(props: *, editor: *, next: *): * source
Params:
Name | Type | Attribute | Description |
props | * | ||
editor | * | ||
next | * |
Return:
* |
public renderNode(props: *, editor: *, next: *): * source
Params:
Name | Type | Attribute | Description |
props | * | ||
editor | * | ||
next | * |
Return:
* |
public resetEditorContent(value: *) source
Params:
Name | Type | Attribute | Description |
value | * |