Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

Issue: Javascript and icon images load on every page call

This discussion is related to the Vanilla MarkitUp addon.
crmarkscrmarks New
edited May 2011 in Vanilla 2.0 - 2.2
This has been a nice plugin to provide at least basic buttons to help with formatting. One thing I noticed though is that its javascript, and subsequent icons, are loaded on every single page, even when a text entry box is not displayed or needed. In hopes of improving page load times, is there any way to correct this?

This is in the header of every page:
<script type="text/javascript"> $(document).ready(function() { $("#Form_Body").markItUp(mySettings); }); </script>

It really should only be initialized on pages that can use it.

I guess if we're making feature requests, the ability to pick and choose which formatting buttons are displayed would be great.
Sign In or Register to comment.