I'm trying to set up a custom block that uses a TinyMCE as the text editable component, rather than using RichEditor.

I can't find anything that really details how to go about this and need pointing in the right direction. I can't see anything in either the wp.editor or wp.components objects that would relate to the TinyMCE, so am guessing it needs importing somehow, but struggling to find how.

As an idea, int ehe edit function react, I would hope for something like this:

    placeholder={ 'Write title here…' ) }
    value={ title }
    onChange={ onChangeTitle }

Any information would be greatly appreciated.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.