From fa21dde52ec65d530ebf210962496101849afba3 Mon Sep 17 00:00:00 2001 From: iseulde Date: Wed, 5 Dec 2018 09:23:31 +0100 Subject: [PATCH] RichText: fix onSetup doc --- packages/editor/src/components/rich-text/index.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages/editor/src/components/rich-text/index.js b/packages/editor/src/components/rich-text/index.js index 7fc04677d84b7..d471250a3222e 100644 --- a/packages/editor/src/components/rich-text/index.js +++ b/packages/editor/src/components/rich-text/index.js @@ -134,12 +134,9 @@ export class RichText extends Component { } /** - * Handles the onSetup event for the TinyMCE component. + * Sets a reference to the TinyMCE editor instance. * - * Will setup event handlers for the TinyMCE instance. - * An `onSetup` function in the props will be called if it is present. - * - * @param {tinymce} editor The editor instance as passed by TinyMCE. + * @param {Editor} editor The editor instance as passed by TinyMCE. */ onSetup( editor ) { this.editor = editor;