This is my solution using ACF repeater fields with subfields WYSIWYG editor.
media-button.php
– Changed id attribute to class
pdfjs-media-button.js
– Add code below
acf.addAction('load', function(){
$('.your-class').on('click', function(e){
openMediaWindow();
});
});
Hope this will help others.
-
This reply was modified 3 years, 2 months ago by imj13.
Do we have any updates regarding the issue? Thank you
Hi Jason,
Thanks for your great plugin.
Can you also add field name in exported file.
Thanks.
Thread Starter
imj13
(@imj13)
Hi,
Thank you for the quick response.
Do we have other options to dequeue the style using themes function.php?
-
This reply was modified 7 years, 5 months ago by imj13.
-
This reply was modified 7 years, 5 months ago by imj13.