Skip to content

TinyMCE Rich Text Editor - with an empty content field when using x-tool-toggle ^ #127

Open
@eire69k

Description

@eire69k

Bug report

Summary

The content of the TinyMCE Editor disappears in the ressource document when the toggle-funktion is used.

Step to reproduce

  1. Install the new "TinyMCE Rich Text Editor 2.0.8 or 2.0.9" in "Modx Revolution 3.0.1 or 3.0.2" and post any content in the contentfield of any ressource document and press save.
  2. Press the upper arrow on the right side to toggle the content- and the title fields, than open it again.

Observed behavior

The content of the "TinyMCE Rich Text Editor" is gone. But even when I save the ressource document or I refresh the browser the whole content is back. Fortunately, the content disappears only temporarily in the browser but not in the database.

Expected behavior

The content should not be deleted. This would otherwise confuse any user.

Environment

I test it with MODX 3.0.1, 3.0.2 and MODX 2.8.4, in Firefox (105.01), Firefox developer edition (106.0b5), Safari (16) and Chrome (106.0.5249.61) .
This issue with "TinyMCE Rich Text Editor 2.0.8 and 2.0.9" only occurs in Modx 3.0.1 and 3.0.2. in any browser.
(php environment is 8.0.8)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions