Field length check bug
-
The plugin didn’t work until I changed
if (editorfelder == iframefelder)
toif (editorfelder >= iframefelder)
as editorfelder is returning a value higher than iframefelder in this instance.For my own purposes I also changed
var fieldname = jQuery(this).attr('data-name');
tovar fieldname = jQuery(this).attr('id');
to use the id wrapper instead of the field name.Otherwise, a great plugin that’s solved a big headache for me!
https://wordpress.org/plugins/advanced-custom-fields-custom-wysiwyg-styles/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Field length check bug’ is closed to new replies.