Commit Graph

395 Commits

Author SHA1 Message Date
nacin 770a48b281 Bail from wp-langs.php if we don't already have a WordPress environment. fixes #20119.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20601 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 21:40:20 +00:00
nacin 5d2090ee53 Move to pixels to avoid off-by-one rendering in Chrome. props trepmal. fixes #20402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20597 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 20:56:26 +00:00
nacin 841cda2d1a Remove monospace from TinyMCE caption/alignment image edit popup. see #18311.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20593 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 19:54:04 +00:00
bumpbot 715efd86f0 Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20521 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:58:24 +00:00
azaozz b85e997156 Remove extra slash when opening the gallery thickbox popup from the visual editor, props SergeyBiryukov, fixes #19850
git-svn-id: http://svn.automattic.com/wordpress/trunk@20519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-18 20:43:28 +00:00
bumpbot a8dff3cb86 Compress scripts/styles: 3.4-beta1-20390. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 23:58:19 +00:00
azaozz 4d785dac0b Add the "aside,audio,canvas,figcaption,figure,nav,output,video" tags that shouldn't be wrapped in <p> to the internal blocks list in TinyMCE, fixes #20381
git-svn-id: http://svn.automattic.com/wordpress/trunk@20389 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-06 22:59:22 +00:00
bumpbot 32e1568691 Compress scripts/styles: 3.4-alpha-20343.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-02 22:58:19 +00:00
azaozz 06aedd898e Editor: fix adding a link in WebKit to floated image, fixes #16569
git-svn-id: http://svn.automattic.com/wordpress/trunk@20341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-02 22:16:30 +00:00
bumpbot 411853beb6 Compress scripts/styles: 3.4-alpha-20178. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 01:00:22 +00:00
azaozz 5f196c6e2d Update TinyMCE to 3.4.9, fixes #20239, fixes #19717
git-svn-id: http://svn.automattic.com/wordpress/trunk@20177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-15 00:47:06 +00:00
bumpbot d675c19762 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-14 22:00:22 +00:00
azaozz ca3ab6c5c2 Add support for line breaks to the caption textareas, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-14 21:53:11 +00:00
bumpbot a7de50f6b0 Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:30:29 +00:00
azaozz dcb5dc204c Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: http://svn.automattic.com/wordpress/trunk@20166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-09 23:23:10 +00:00
azaozz b6eb388ac4 Revert change to the default font in the visual editor, see #20184
git-svn-id: http://svn.automattic.com/wordpress/trunk@20125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-06 20:33:19 +00:00
bumpbot 769e6a9a39 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20115 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:45:20 +00:00
azaozz 9f4408c741 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20114 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-05 07:31:31 +00:00
bumpbot 8c1c5bc112 Compress scripts/styles: 3.4-alpha-20056.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20056 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:15:21 +00:00
azaozz 839edd2e27 Improve adding more css classes to the editor body, add "rtl", "ie7", "ie8", "ie9" so they can be targeted in editor-style.css, see #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@20054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:06:24 +00:00
bumpbot b7b715a262 Compress scripts/styles: 3.4-alpha-20014.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 14:18:24 +00:00
azaozz 488c1f5a5a HTML in image captions: improve converting the caption html elements to a shortcode, catch some rare cases where image with a caption is pasted in the visual editor, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@20013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 08:03:40 +00:00
bumpbot b4a66348d4 Compress scripts/styles: 3.4-alpha-19998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 04:31:03 +00:00
nacin ef5749ed57 Correct [19952]. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 04:15:08 +00:00
azaozz f9ba569d9c Use json_encode when outputting translated strings for use in TinyMCE, fixes #20119
git-svn-id: http://svn.automattic.com/wordpress/trunk@19993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 02:11:29 +00:00
bumpbot 91dfc846a0 Compress scripts/styles: 3.4-alpha-19991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 00:01:02 +00:00
azaozz 5745a57dc4 TinyMCE: move the WordPress plugins styles to the theme's stylesheet, fixes #20118
git-svn-id: http://svn.automattic.com/wordpress/trunk@19990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 23:46:04 +00:00
bumpbot 0a3212997c Compress scripts/styles: 3.4-alpha-19989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 22:30:59 +00:00
azaozz a91e7ab246 Close TinyMCE popups/dialogs when clicking on the background, fixes #20117
git-svn-id: http://svn.automattic.com/wordpress/trunk@19988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 22:29:46 +00:00
azaozz b92a47ee83 Add new string to the proper i18n object, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 20:42:36 +00:00
bumpbot fa3d2e0df3 Compress scripts/styles: 3.4-alpha-19985.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 19:30:59 +00:00
azaozz 77133d2c96 Don't show edit/remove image buttons in the visual editor when an image is floated, doesn't have a caption and there is text in the same paragraph, props solarissmoke, fixes #19611
git-svn-id: http://svn.automattic.com/wordpress/trunk@19984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 19:18:59 +00:00
bumpbot a24bfc4d47 Compress scripts/styles: 3.4-alpha-19983.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 02:00:58 +00:00
azaozz 73c87020c7 HTML in image captions, first run, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
bumpbot 346c855a40 Compress scripts/styles: 3.4-alpha-19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 03:15:57 +00:00
azaozz 151b1088cc Use native TinyMCE popup for the image properties dialog, fixes #20096, see #20094
git-svn-id: http://svn.automattic.com/wordpress/trunk@19977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 03:05:25 +00:00
nacin 6e2416cb7e Update wp-tinymce.js.gz.
* Plugins are now sorted alphabetically during concatenation, to ensure consistent generation.
 * Key tinymce/wp-tinymce.js.gz off the revision number, rather than the date.
see #19592.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-19 01:54:02 +00:00
nacin 82087e02f3 Update TinyMCE mark loaded src. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-19 01:46:48 +00:00
azaozz 70a0c08720 FIx charset in minified file, see #19592
git-svn-id: http://svn.automattic.com/wordpress/trunk@19951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 22:06:17 +00:00
bumpbot a20d926436 Compress scripts/styles: 3.4-alpha-19948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 08:00:17 +00:00
azaozz 98461bd848 Revert [19946], bumpbot may need to be UTF-8 aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 07:48:56 +00:00
bumpbot cd384e2e47 Compress scripts/styles: 3.4-alpha-19946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 07:00:26 +00:00
azaozz 4c10d04190 Load TinyMCE's non-minified "*src.js" plugin files when SCRIPT_DEBUG is defined, part props ericlewis, fixes #20055
git-svn-id: http://svn.automattic.com/wordpress/trunk@19945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 06:43:47 +00:00
azaozz 6b6156b5f4 Add the editor ID and the post type (when available) as classes to the TinyMCE's body, fixes #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@19912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-13 07:22:45 +00:00
azaozz 3a5832e1f2 Update TinyMCE to 3.4.8, fixes #19969, fixes #19936, fixes #19741
git-svn-id: http://svn.automattic.com/wordpress/trunk@19830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 22:23:27 +00:00
ryan e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan 9d03183e6d Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 23:02:33 +00:00
azaozz f8d2a35aaa Make sure editor-buttons.css is loaded even if tiny_mce.js is used directly and the wp_theme skin is selected in the settings, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 21:27:19 +00:00
azaozz dc87dec0a4 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 00:21:36 +00:00
nacin a7c296dd47 Move WP_Editor to a _WP_Editors encapsulation.
* WP_Editor will return in 3.4 as a one true API for editor instances. Stick to wp_editor() for now.
 * TinyMCE can now be forced on with tinymce = true. It defaults to the value for user_can_richedit().
 * Restores wp_default_editor(), wp_link_query(), wp_link_dialog(), wp_fullscreen_html().
fixes #19320.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00