Skip to content

Ajax loaded editor is not refreshing API managed content #1491

Open
@dermicha56

Description

@dermicha56

Description

OS: Windows, MacOS
Browser: Chrome

Initially, when typing any content and checking the value with .trumbowyg('html'), it will return the empty string ''

The loaded Trumbowyg editor is not visibly populated by using .trumbowyg('html', '<p>Content</p>')
After setting the value with the above command, .trumbowyg('html') returns '<p>Content</p>'

How to reproduce?

Load Trumbowyg form via Ajax -> Manage Content with custom JS function

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug:coreBug in core (trumbowyg.js)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions