AesopInteractive / lasso

Code Repository for Editus (formerly Lasso) Commercial Plugin
https://edituswp.com
GNU General Public License v2.0
147 stars 25 forks source link

Document insertion putting spurious jQuery code in the_content #87

Closed zamoose closed 9 years ago

zamoose commented 9 years ago

When I add e.g. a PDF, save, and then reload the page, the following is inserted into the content, in the raw:

            jQuery(document).ready(function($){
                $('.aesop-doc-reveal-2-1').click(function(e){
                    e.preventDefault;
                    $( "#aesop-doc-collapse-2-1" ).slideToggle();
                    return false;
                });
            });
bearded-avenger commented 9 years ago

what up mr doug! Yep noticed this a couple days ago, and pushed a fix into Aesop 1.6.3 branch, should be out in the next week or so. https://github.com/bearded-avenger/aesop-core/commit/e4f7b68b339519fb8e436c1688591874b8371806

michaelbeil commented 9 years ago

We already have something in the que for ASE 1.6.3 that works out this doc issue.

michaelbeil commented 9 years ago

@bearded-avenger wins the Internet with fastest reply.

bearded-avenger commented 9 years ago

giphy

michaelbeil commented 9 years ago

giphy-1 giphy

zamoose commented 9 years ago

Nice! I'll wait for it patiently.

yaymchale

bearded-avenger commented 9 years ago

OK Aesop Story Engine 1.6.3 just went out with this fix.

michaelbeil commented 9 years ago

Yay! image