Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutenberg Conflict With Experminatal Disable TinyMCE Feature #285

Open
1 task done
BrookeDot opened this issue Oct 24, 2023 · 0 comments
Open
1 task done

Gutenberg Conflict With Experminatal Disable TinyMCE Feature #285

BrookeDot opened this issue Oct 24, 2023 · 0 comments
Labels
type:bug Something isn’t working.

Comments

@BrookeDot
Copy link

Describe the bug

I've been experiencing a bug that was driving me mad and finally was able to replicate it. I was unable to set the "message" field in the plugin's settings. Instead I just saw an empty field.

Screenshot 2023-10-24 153914

I was able to set a message with CLI;

~$ wp rsa set-mode message --text="Site is under development, please login"
Success: Site showing message to visitors.

When I started disabling plugin's I disabled Gutenberg and the filed returned:

Screenshot 2023-10-24 154923

Looking through the Gutenberg settings I found the "Disable TinyMCE and Classic block" setting. When this setting is enabled the message field does not appear.

Screenshot 2023-10-24 154008

Looking at the 's files I found the following:
https://github.com/WordPress/gutenberg/blob/ae7df52f58baf6289c58b5da76a884ff400cfa3f/lib/experimental/disable-tinymce.php#L10-L20

I'm assuming the solution here is to ensure the "Reading" page is set to require the classic editor (or to upgrade the message field to use the Block Editor)

Steps to Reproduce

  1. Install Gutenberg
  2. Under Gutenberg > Experiences make sure TinyMCE is disabled (checkbox is checked)
  3. Make sure RSA is enabled
  4. Visit Settings > Reading and notice the missing message field/TinyMCE editor
  5. Disable the Gutenberg TinyMCE box (uncheck the box)
  6. Notice the settings return for RSA.

Screenshots, screen recording, code snippet

No response

Environment information

Tested on Windows, MacOS (several versions). Firefox, Brave, Edge, etc.

WordPress information

WordPress Version | 6.4
WordPress Multisite | No
WordPress Memory Limit | 512M
WordPress Debug Mode | No
WordPress Debug Log | No
WordPress Script Debug Mode | No
WordPress Cron | Yes
WordPress Alternate Cron | No
Background tasks | Yes

NGINX

PHP 8.2.11

Code of Conduct

  • I agree to follow this project's Code of Conduct
@BrookeDot BrookeDot added the type:bug Something isn’t working. label Oct 24, 2023
@Sidsector9 Sidsector9 added this to the Future Release milestone Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn’t working.
Projects
None yet
Development

No branches or pull requests

2 participants