Opened 2 years ago

Last modified 2 years ago

#16578 new enhancement

TinyMCE plugins are not loaded as .dev.js when SCRIPT_DEBUG is enabled

Reported by: solarissmoke Owned by:
Priority: normal Milestone: Awaiting Review
Component: General Version: 3.1
Severity: minor Keywords:
Cc:

Description

In trunk, when SCRIPT_DEBUG is enabled, TinyMCE does not load plugins using .dev.js scripts. It would be nice if it did.

Change History (2)

All the instances in core of TinyMCE plugin loading I could find use the $suffix variable, which add .dev as necessary. Couldn't reproduce on my trunk install either.

http://core.trac.wordpress.org/browser/trunk/wp-includes/script-loader.php#L268

No, there are only a couple of TinyMCE plugins loaded using script-loader.php, and that's because they have dependencies. The rest are loaded differently, and that's where the issue it.

Try any of the other TinyMCE plugins: wpeditimage, wordpress, inlinepopups, spellchecker, tabfocus etc.

Note: See TracTickets for help on using tickets.