Как я могу добавить заполнитель в React CKEDITOR - PullRequest
0 голосов
/ 23 октября 2018

Я прочитал документацию ckeditor относительно контекста React, но я не смог найти, как сделать Placeholder на CKEditor.

Это ссылка на реагирующий ckeditor реагирующий ckeditor

Это пример кода:

<CKEditor
    onInit={editor => {
        // Insert the toolbar before the editable area.
        editor.ui.view.editable.element.parentElement.insertBefore(
        editor.ui.view.toolbar.element,
        editor.ui.view.editable.element);}}
        name={this.state.body}
        onChange={this.handleEditorChange}
        editor={DecoupledEditor}
        data={this.state.body}
        />
...