gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

CFS WYSIWYG field displays differently in Gutenberg

Open chthonic-ds opened this issue 9 years ago • 7 comments

Issue Overview

CFS (Custom Field Suite) WYSIWYG field displays differently in Gutenberg vs. Classic Editor.

Steps to Reproduce (for bugs)

  1. Install and activate Custom Field Suite plugin: https://wordpress.org/plugins/custom-field-suite/.
  2. Create a WYSIWYG field and enable for posts/pages.

Expected Behaviour

The WYSIWYG field will render with equivalent functionality in Classic Editor and Gutenberg.

Current Behaviour

The WYSIWYG field renders with TinyMCE buttons in Classic Editor and without TinyMCE buttons in Gutenberg.

Gutenberg 1.6.0 Windows 10 Chrome 61.0.3163.100 (Official Build) (64-bit)

Classic Editor

cfs-wysiwyg-view-classic-editor

Gutenberg

cfs-wysiwyg-view-gutenberg

chthonic-ds avatar Nov 02 '17 01:11 chthonic-ds

Hi @chthonic-ds,

Thank you for the report. Most likely TinyMCE is not being enqueued properly or something of that nature. I will look into it. Is CFS on the WordPress.org Plugins Repository?

BE-Webdesign avatar Nov 02 '17 15:11 BE-Webdesign

Thanks @BE-Webdesign. The repository link is noted in the issue: https://wordpress.org/plugins/custom-field-suite/.

chthonic-ds avatar Nov 02 '17 19:11 chthonic-ds

This is not the issue with this plugin only. Any plugin that uses wp_editor() to embed TinyMCE editor in metaboxes is broken, sometimes completely, in some cases, only TinyMCE Visual tab is broken and Text tab shows toolbar, but no content area.

dev4press avatar Nov 16 '17 10:11 dev4press

This is the same for ACF WYSIWYG fields. It also prevents the Add media, insert images, and add forms from working in using Gravity Forms, and Unsplash Image plugin.

Unfortunately because of this issue. This plugin is unusable for me.

adampatterson avatar Nov 17 '17 03:11 adampatterson

Yep Pods is broken too. See below for an example, I had to click into Text tab since Visual tab is empty to type that text shown.

screen shot 2017-11-29 at 4 01 29 pm

sc0ttkclark avatar Nov 29 '17 22:11 sc0ttkclark

Yep, it's for any metabox with a wp_editor() function call as said by @dev4press. Too time consuming for me to look into the code, I don't know the tinymce part of WP, either Gutenberg at all, but it's a major issue, no doubt about that.

nderambure avatar Feb 07 '18 23:02 nderambure

I will do my best to resolve this somehow, hopefully before the end of the month.

BE-Webdesign avatar Feb 08 '18 19:02 BE-Webdesign