Script not loading with ACF WYSIWYG editor
-
Liking your plug-in so far but ran into a snag. I’m using Advanced Custom Fields to place an MCE editor (WYSIWYG editor field) on an options page which is wp-admin/admin.php?page=xxx, not wp-admin/post.php?post=xxx. It seems that content-cards.js only loads for wp-admin/post.php. However, the button script gets attached to every MCE editor, so I’m ending up with “Uncaught ReferenceError: contentcards is not defined” on any editor that’s not on a wp-admin/post.php page.
Is there a way to not load content-cards-button.js if content-cards.js is not loaded?
Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Script not loading with ACF WYSIWYG editor’ is closed to new replies.