You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched for any related issues and avoided creating a duplicate issue.
Please give us a description of what happened.
ACF Extended Pro extension of Advanced Custom Field (ACF) allows the Text Editor to filter and only allow certain HTML characters (p,strong,b,em,i,br,h2,h3,h4,h5,h6). When we specify these tags, the eye highlight fails to highlight content in the editor.
When you disable this feature, clicking the eye-icon works again!
Please describe what you expected to happen and why.
Eye Highlight should work even when those tags are set.
Within this field type setting, enable the Valid Elements setting and input the HTML tags (p,strong,b,em,i,br,h2,h3.. etc) that you want to allow in the editor.
Input some text in the ACF WYSIWYG editor and click the eye icon. Eye highlight fails to highlight content.
When you disable this feature, clicking the eye-icon works again!
I'm not quite sure how to reproduce the issue, as I don't use Yoast Premium. The "readability" icon is green on my side when using Yoast Free + ACF Yoast + ACF Extended Pro "Valid Elements" in the WYSIWYG. So maybe this was fixed?
In case it wasn't, here are some insights on how the ACFE "Valid Elements" feature works:
It uses the native ACF JS hook wysiwyg_tinymce_settings which can be found here: /advanced-custom-fields-pro/assets/build/js/acf-input.js:8913 in order to get in the TinyMCE editor settings (which is the JS version of the tiny_mce_before_init WP PHP hook), and pass the valid_elements setting (see documentation).
The setting is only set in Javascript, there is no PHP involved in this feature.
Please give us a description of what happened.
ACF Extended Pro extension of Advanced Custom Field (ACF) allows the Text Editor to filter and only allow certain HTML characters (p,strong,b,em,i,br,h2,h3,h4,h5,h6). When we specify these tags, the eye highlight fails to highlight content in the editor.
When you disable this feature, clicking the eye-icon works again!
Please describe what you expected to happen and why.
Eye Highlight should work even when those tags are set.
How can we reproduce this behavior?
When you disable this feature, clicking the eye-icon works again!
Technical info
The text was updated successfully, but these errors were encountered: