Replies: 0
I have a wysiwyg field that I added to posts using the advanced custom fields plugin. I can see the “add collages” button over these new fields but nothing gets triggered when I click these buttons. Only the button in the original content field triggers all the collage functionality. Is there a way around this. Here is what the code for the custom fields looks like. I changed the data-editor to its corresponding field but that didn’t do anything.
<div id="wp-acf-editor-58408e53c1c38-editor-tools" class="wp-editor-tools hide-if-no-js">
<div id="wp-acf-editor-58408e53c1c38-media-buttons" class="wp-media-buttons">
<button type="button" class="button insert-media add_media" data-editor="acf-editor-58408e53c1c38"><span class="wp-media-buttons-icon"></span> Add Media</button><a href="#" id="eic-button" class="button" data-editor="acf-editor-58408610a3db8" title="Add Image Collage">Add Image Collage</a> </div>
<div class="wp-editor-tabs">
<button id="acf-editor-58408e53c1c38-tmce" class="wp-switch-editor switch-tmce" data-wp-editor-id="acf-editor-58408e53c1c38" type="button">Visual</button>
<button id="acf-editor-58408e53c1c38-html" class="wp-switch-editor switch-html" data-wp-editor-id="acf-editor-58408e53c1c38" type="button">Text</button>
</div>
</div>