ellatrix / wp-front-end-editor

Front-end Editor for WordPress
https://wordpress.org/plugins/wp-front-end-editor/
340 stars 87 forks source link

W3 Total Cache's HTML minification breaks the media lightbox. #222

Closed fastlinemedia closed 9 years ago

fastlinemedia commented 9 years ago

When W3 Total Cache's HTML minification is on, the media lightbox doesn't appear when trying to add a photo. There aren't any JavaScript errors so I'm suspecting that this has something to do with the Underscores templates being minified.

fastlinemedia commented 9 years ago

It looks like a temporary bandaid could be to tell W3 not to minify like so...

define( 'DONOTMINIFY', true );

ellatrix commented 9 years ago

Sounds like a problem with the plugin or configuration then.

fastlinemedia commented 9 years ago

I did some testing with other plugins that minify the HTML and it appears that this issue is only happening with W3. I'll file a ticket with them. Thanks!