WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.56k stars 4.22k forks source link

ACF (Free) fields not displaying properly #3731

Closed maddisondesigns closed 6 years ago

maddisondesigns commented 7 years ago

Issue Overview

I created three simply custom fields. An input field, a text area and a TinyMCe field. The TinyMCE field isn't displaying correctly. There's no toolbar buttons displaying. Not only that, but the field is incredibly long.

There are also adhoc icons displaying at the bottom left-hand of the screen. I don't know if these icons are from the TinyMCE field or whether they're from Gutenberg

screenshot_540

Steps to Reproduce (for bugs)

  1. Install ACF
  2. Add new Field Group
  3. Create a TinyMCE (WYSIWYG) field
  4. Set Field Group to display on Pages
  5. Edit a page and view the custom fields that don't display properly

Expected Behavior

I expect to see all my ACF fields being displayed properly

Current Behavior

Not all ACF fierlds are being displyed properly

Related Issues and/or PRs

3728

Firefox Quantum 57.0 Gutenberg Version 1.8.1 macOS Sierra 10.12.1

chthonic-ds commented 7 years ago

Related: https://github.com/WordPress/gutenberg/issues/3302

This display issue with a TinyMCE/WYSIWYG field occurs for the Pods and Custom Field Suite plugins as well.

youknowriad commented 7 years ago

Yes I think it's a duplicate of #3302 Most TinyMCE fields don't display properly because TinyMCE is not used the same way in Gutenberg compared to the classic Editor.

Using the same version for TinyMCE for Gutenberg and those fields (we're temporarily using the most recent TinyMCE for Gutenberg compared to Core's version) might improve the situatation here. But I still expect some TinyMCE metaboxes to be incompatible with Gutenberg and should be marked as such to fallback to the classic editor.

maddisondesigns commented 7 years ago

So you're saying that because you've implement TinyMCE differently, this one field is going to force any use of ACF, PODS and CFS to revert back to the classic editor?

youknowriad commented 7 years ago

I'm saying, most likely no since I suspect that using the same version of TinyMCE might fix these fields. But some metaboxes using the global TinyMCE and old selectors might break and we have two options for these:

maddisondesigns commented 7 years ago

Thanks for clarifying that