javascript error when using Classic mode and post containing credit
-
Hi,
This plugin has been really useful, and it’s functioning well for us in Gutenberg, except when we go into an old post that has an image that’s been given a credit, and is being edited in classic mode under Gutenberg. In that situation, the post cannot be re-saved/saved after editing, and there is a javascript console error:
media-credit-tinymce.min.js?wp-mce-4940-20190515:3 Uncaught (in promise) TypeError: t.breplace is not a function
at media-credit-tinymce.min.js?wp-mce-4940-20190515:3
at RegExp.[Symbol.replace] (<anonymous>)
at String.replace (<anonymous>)
at o (media-credit-tinymce.min.js?wp-mce-4940-20190515:3)
at zw.A.wpGetImgCaption (media-credit-tinymce.min.js?wp-mce-4940-20190515:3)
at zw.<anonymous> (media-credit-tinymce.min.js?wp-mce-4940-20190515:3)
at dp.c.fire (tinymce.min.js?ver=4940-20190515:2)
at zw.fire (tinymce.min.js?ver=4940-20190515:2)
at vp (tinymce.min.js?ver=4940-20190515:2)
at sy (tinymce.min.js?ver=4940-20190515:2)I’ve disabled all other plugins, and still experience the error if Media Credit is enabled (but not if it’s disabled). Any help or thoughts in fixing much appreciated!
Thanks
The topic ‘javascript error when using Classic mode and post containing credit’ is closed to new replies.