[wp-trac] [WordPress Trac] #14232: tiny_mce.js different from wp-tinymce.js.gz
WordPress Trac
noreply at wordpress.org
Fri May 23 23:05:14 UTC 2014
#14232: tiny_mce.js different from wp-tinymce.js.gz
--------------------------+------------------------------
Reporter: ForestMist | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.8.1
Severity: normal | Resolution:
Keywords: close | Focuses: javascript
--------------------------+------------------------------
Changes (by azaozz):
* keywords: reporter-feedback => close
Comment:
In WordPress the localization for TinyMCE is loaded differently. Instead
of "static" JS files, it is generated with PHP so all strings can be
translated in all supported languages. Then the language is "marked as
loaded" in TinyMCE so it doesn't look for the default localization files.
If you load tinymce.min.js or use wp-tinymce.php directly, you'll have to
load the localization file(s) for it too. In WordPress this is done with
https://core.trac.wordpress.org/browser/tags/3.9.1/src/wp-includes/class-
wp-editor.php#L751.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/14232#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list