Commit Graph

757 Commits

Author SHA1 Message Date
Ryan Boren d26f0a4c40 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@19577 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 23:02:33 +00:00
Andrew Ozz cd59832859 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: https://develop.svn.wordpress.org/trunk@19533 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 21:27:19 +00:00
Andrew Ozz 4b0fc55339 Include wp-admin-bar-secondary-* when closing non-current submenus, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19508 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 01:07:43 +00:00
Andrew Ozz 70dadbd5e8 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19505 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:43:18 +00:00
Andrew Ozz 83aa770282 Fix the tabbing JS to work as described in the W3 ARIA draft: Tab to select, Enter to show submenu, Esc to close submenu, return to top menu and focus it. See #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19483 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:21:38 +00:00
Daryl Koopersmith dfc7eb6125 Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19482 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 19:43:24 +00:00
Andrew Nacin 3118dd18d7 Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.
git-svn-id: https://develop.svn.wordpress.org/trunk@19481 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:56:13 +00:00
Andrew Ozz b8a1940ac7 Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227
git-svn-id: https://develop.svn.wordpress.org/trunk@19476 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:06:56 +00:00
Andrew Nacin 447d1d7b96 Don't open a pointer when the target element is hidden. see #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19467 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 17:50:49 +00:00
Andrew Nacin 9ec00c3d9f preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369.
git-svn-id: https://develop.svn.wordpress.org/trunk@19460 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:37:46 +00:00
Andrew Ozz 6bb6916409 Admin bar: change the tabbing to behave as if the admin bar menus were click-to-open (Tab to select, Enter to open/close), fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19458 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:31:11 +00:00
Andrew Ozz 8319988a27 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19457 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:21:36 +00:00
Andrew Ozz d2e0a6feab Rename the problematic "unload" event in Thickbox to "tb_unload", making it a true custom event, fixes #19189
git-svn-id: https://develop.svn.wordpress.org/trunk@19456 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-26 17:49:50 +00:00
Andrew Ozz 6f06a70ecc Revert [19264] to keep back-compat. Any improperly fired window.unload will have to be dealt with on a case by case basis.
git-svn-id: https://develop.svn.wordpress.org/trunk@19451 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-25 17:33:31 +00:00
Daryl Koopersmith 81d35742c3 Allow access to any admin bar menu level by tabbing. fixes #19088.
git-svn-id: https://develop.svn.wordpress.org/trunk@19427 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:29:33 +00:00
Andrew Ozz 79462f00a1 jQuery 1.7.1, fixes #19326
git-svn-id: https://develop.svn.wordpress.org/trunk@19423 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:36:15 +00:00
Andrew Nacin fc9bd67e14 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: https://develop.svn.wordpress.org/trunk@19420 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:06:52 +00:00
Andrew Ozz 114083df17 Change the drop target border color, props ocean90, fixes #19298
git-svn-id: https://develop.svn.wordpress.org/trunk@19367 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 19:16:35 +00:00
Andrew Ozz 50a35b02b6 Fix return value in Plupload when using the html4 runtime, fixes #19302
git-svn-id: https://develop.svn.wordpress.org/trunk@19362 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 01:10:50 +00:00
Andrew Ozz e0d1c530da Remove old styling for rtl progress bar, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19360 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 21:50:33 +00:00
Andrew Ozz 4ded511eff Uploader: show the progress bars as soon as files are queued, attempt to make the progress bar more precise, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19346 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 03:15:42 +00:00
Andrew Ozz 9007ab3e75 When queueing too large files in the multi-file uploader in IE or Opera, show error message and remove the file from the queue, fixes #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19329 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:10:25 +00:00
Daryl Koopersmith b9e3cf466a Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.
git-svn-id: https://develop.svn.wordpress.org/trunk@19328 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 00:12:57 +00:00
Andrew Ozz a77387cac7 Make the Save All Changes initially hidden on Media -> Add New screen, improve the progress bar "progress" to 1px ticks, see #19190
git-svn-id: https://develop.svn.wordpress.org/trunk@19306 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:22:27 +00:00
Andrew Ozz 1ccfd1739c Workaround for WebKit bug when previewing posts, props SergeyBiryukov, fixes #18341
git-svn-id: https://develop.svn.wordpress.org/trunk@19299 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 18:48:55 +00:00
Andrew Ozz 5ca57a6fac Prevent errors in QTags.closeAllTags(), make it remove button states but not modify the content (as that often is wrong anyways), fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@19290 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 01:15:10 +00:00
Andrew Ozz 3d33362b52 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19286 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:21:16 +00:00
Andrew Nacin b52ab851ec ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: https://develop.svn.wordpress.org/trunk@19278 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:40:31 +00:00
Daryl Koopersmith 0ebb52f9a3 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19270 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 11:05:37 +00:00
Daryl Koopersmith 4bc2fdb619 New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19269 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 10:30:14 +00:00
Andrew Ozz 82f5175bf7 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Andrew Ozz 3e06696012 Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Andrew Ozz 38ddbaca4e Thickbox: do .triggerHandler() instead of .trigger(), props duck_, fixes #19189
git-svn-id: https://develop.svn.wordpress.org/trunk@19264 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:48:04 +00:00
Andrew Ozz bd7f04548b Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: https://develop.svn.wordpress.org/trunk@19263 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 06:15:15 +00:00
Andrew Ozz 0620dbb5eb Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Andrew Ozz 93e5c50ad8 Send the 'wp-remove-post-lock' XHR only when the main window is unloaded (unloading the Thickbox iframe triggers it too), see #18515
git-svn-id: https://develop.svn.wordpress.org/trunk@19258 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:52:12 +00:00
Andrew Ozz 448af8627c Uploader: fix progress bar JS and update the style (light blue bars), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19247 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 20:33:26 +00:00
Andrew Ozz 940cb38514 Fix styling in the MCE help popup, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19227 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-09 14:38:37 +00:00
Andrew Ozz d2d9926055 Revert [19223] and only stop showing the checkbox, props nacin, see #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19225 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:34:09 +00:00
Andrew Ozz 4c66628f35 Remove the Resize files checkbox for now (revisit in 3.4), fixes #19174
git-svn-id: https://develop.svn.wordpress.org/trunk@19223 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 22:23:40 +00:00
Andrew Ozz a56cd15128 Bring back the Fullscreen button in Quicktags, fixes #19194
git-svn-id: https://develop.svn.wordpress.org/trunk@19215 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-08 16:53:31 +00:00
Andrew Ozz b1af3610ec Fix a:focus styling and backwards tabbing, add tabindex arg for <a>, see #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19207 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 20:38:38 +00:00
Andrew Nacin 808c8dc6a5 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: https://develop.svn.wordpress.org/trunk@19203 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-07 17:32:24 +00:00
Andrew Ozz 5c18d3b4f4 Uploader: update to 1.5.1.1, remove plupload.full.js (we cannot use it), rename the script handle in script-loader to avoid any confusion, fixes #19187
git-svn-id: https://develop.svn.wordpress.org/trunk@19194 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 21:46:24 +00:00
Andrew Nacin 15622fb001 Correct TinyMCE anchor (as in <a name>) image. props jakemgold, fixes #18419.
git-svn-id: https://develop.svn.wordpress.org/trunk@19190 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-06 20:14:13 +00:00
Andrew Ozz f31c4b00c8 Fix js error on mousedown in the editor, props joehoyle, fixes #19165
git-svn-id: https://develop.svn.wordpress.org/trunk@19180 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 19:49:42 +00:00
Andrew Ozz d58037ff4a Update the spellchecker plugin for TinyMCE to 2.0.6, fixes #19105
git-svn-id: https://develop.svn.wordpress.org/trunk@19178 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 18:32:47 +00:00
Andrew Ozz a410b455a4 Phpdoc fix for quicktags.js, see #19098
git-svn-id: https://develop.svn.wordpress.org/trunk@19173 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:26:00 +00:00
Andrew Ozz bbb51b1807 Improve handling of init and adding buttons to Quicktags, fixes #19098
git-svn-id: https://develop.svn.wordpress.org/trunk@19172 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 16:00:38 +00:00
Andrew Nacin 50c56deeeb jQuery 1.7.
props ocean90, fixes #19144.


git-svn-id: https://develop.svn.wordpress.org/trunk@19165 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-05 03:25:14 +00:00