Skip to content

Repeatable WYSIWYG field breaks when inserting/cloning new row #356

Description

@tylerdigital

When a WYSIWYG field is inside a repeater, the javascript that creates a new row successfully duplicates and clears the content from the textarea (HTML view) of the WYSIWYG field, but I can't click the Visual tab of the new WYSIWYG field. I think WP does some initial processing when the page is loaded to render/prep a visual editor iFrame?

If I type some content into the text view and publish/save changes to the post, the WYSIWYG visual editor mode works after the page reloads.

Any idea how to get the Visual Editor mode working in a repeater right after a new row is created?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions