Skip to content

RichTextArea doesn't work in Quickedit #342

Open
@mboynes

Description

@mboynes

Tested using the following code:

add_action( 'fm_quickedit_post', function() {
    $fm = new Fieldmanager_RichTextArea( array(
        'name' => 'demo',
    ) );
    $fm->add_quickedit_box(
        'Custom Fields',
        'post',
        function( $values ) {
            return ! empty( $values['demo'] ) ? $values['demo'] : '';
        }
    );
} );

The visual editor kicks in when you switch to Text mode and back to Visual mode, but Text mode never works. The editor stops working if you attempt to open a second quickedit box on the same screen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions