Commit Graph

686 Commits

Author SHA1 Message Date
Andrew Ozz efbfde27eb Quicktags: fix closing of the first tag in an empty textarea, allow closing of all tags without the button, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18727 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-20 02:22:43 +00:00
Andrew Ozz 268911c313 Fix quicktags buttons fir self-closing tags, remove unneeded arg when adding a button, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18725 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 20:47:20 +00:00
Andrew Ozz 945d4500b4 Add TinyMCE command to handle opening of the upload/insert popup, fix the shortcut "Alt+Shift+M", fix the "image" button in DFW, fixes #17992, fixes #18697, see $17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18710 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-19 00:47:23 +00:00
Daryl Koopersmith 342180470d Add pointers feature, and pointer to admin bar, props nacin for PHP bits, see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@18707 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 21:17:09 +00:00
Andrew Ozz c0f4b1a326 Improve the image drag-resize detection in the visual editor (supported in FF and IE only), remove the size-* class if the image is soft-resized, see #18107
git-svn-id: https://develop.svn.wordpress.org/trunk@18702 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 03:00:13 +00:00
Andrew Ozz 1948c952a4 Update plupload to 1.5b and add "drop area" for drag and drop uploading, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18701 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-18 02:25:23 +00:00
Andrew Ozz d20435eb03 Improve handling of plupload init and add a filter, stop including cookies in the init (not needed with plupload), see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18674 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-15 05:30:58 +00:00
Andrew Ozz 5c2de1a6fc TinyMCE 3.4.5, fixes #18107
git-svn-id: https://develop.svn.wordpress.org/trunk@18660 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-09 20:08:40 +00:00
Jon Cave 82c0f09c09 Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: https://develop.svn.wordpress.org/trunk@18639 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-05 19:08:15 +00:00
Andrew Nacin 46773a16ea s/hask/hack/. props scribu, see #16695.
git-svn-id: https://develop.svn.wordpress.org/trunk@18629 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 21:25:42 +00:00
Andrew Ozz 1205b09cf6 More quicktags back-compat, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18628 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-02 20:40:47 +00:00
Andrew Ozz fb2a6c0f6d Fix typo in quicktags.js, props westi, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18623 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-30 17:50:12 +00:00
Andrew Ozz 8e64c7199c Fix silverlight uploading when not resizing files on the fly, props kurtpayne, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18620 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-29 23:59:22 +00:00
Andrew Ozz ea03cd66fd Fix styling and quicktags error in press this, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18619 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-28 20:48:05 +00:00
Andrew Ozz 2419657db5 Properly reset vars, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18612 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-27 16:30:36 +00:00
Andrew Ozz ec6fc2ea80 Improve quicktags back-compat, add method instance.getButtonElement(id), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18611 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 23:30:01 +00:00
Andrew Ozz dde77fd41b Merge most admin css files, first run, see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@18577 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-21 03:46:43 +00:00
Andrew Ozz 3f921df606 Fix QTags.closeAllTags(), replace 'tb' with 'ed' in quicktags,js to make it clear it is the editor instance not the toolbar, small comments quick edit fixes, see #16695, fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@18576 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-20 19:55:51 +00:00
Andrew Ozz 4bff812918 Fix the "close tags" button in quicktags, props SergeyBiryukov, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18575 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-19 21:23:31 +00:00
Andrew Ozz aabac42c0f Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18518 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-07 16:26:31 +00:00
Andrew Ozz 6ce85719a7 Fix back-compat for quicktags, introduce QTags.addButton(), see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18511 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-05 04:09:22 +00:00
Andrew Ozz 5b4ac17cc5 Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18503 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 23:56:21 +00:00
Andrew Ozz 461ceba60d Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18498 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:19:00 +00:00
Andrew Ozz d5a6cf3dfd Refactor Quicktags, props garyc40, see #16695
git-svn-id: https://develop.svn.wordpress.org/trunk@18497 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-03 10:11:12 +00:00
Andrew Ozz 6ed41b7ed1 Admin bar: fix the Shortlink menu when using jQuery, see #18299
git-svn-id: https://develop.svn.wordpress.org/trunk@18495 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-01 23:33:56 +00:00
Andrew Ozz 804284c665 Admin bar: use jQuery if loaded to improve UX, fixes #18299
git-svn-id: https://develop.svn.wordpress.org/trunk@18488 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 22:57:30 +00:00
Andrew Ozz 57bff0b6d8 Add SWFUpload back for plugins that queue it directly, fix some escaping in media.php, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18484 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 19:21:21 +00:00
Andrew Ozz 12a7d989e0 Pluploader take 1, props jacobwg, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@18482 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-29 08:59:35 +00:00
Andrew Ozz 3fff132530 Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
git-svn-id: https://develop.svn.wordpress.org/trunk@18474 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-27 23:02:54 +00:00
Andrew Ozz 06f33f29ba Use json_encode() for adding script data (formerly l10n). Add the same functionality to WP_Styles for adding inline css after a stylesheet has been outputted. See #11520
git-svn-id: https://develop.svn.wordpress.org/trunk@18464 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-25 00:36:06 +00:00
Andrew Ozz 9bcfc3da39 <!DOCTYPE html> for all, fixes #18202
git-svn-id: https://develop.svn.wordpress.org/trunk@18460 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-22 00:25:41 +00:00
Andrew Ozz dc77ebee3a Fix DFW autoresizing in WebKit when zoom != 100%, fixes #17927
git-svn-id: https://develop.svn.wordpress.org/trunk@18379 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 07:33:08 +00:00
Andrew Ozz 131af255ff Add the new TinyMCE icons to two more buttons, fixes #17925
git-svn-id: https://develop.svn.wordpress.org/trunk@18373 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-29 16:10:57 +00:00
Andrew Nacin 087ad68a23 Move the sekrit full screen editor width shortcut keys below the common bold/italic/etc keys on the editor keyboard shortcuts help tab. No strings were harmed in the making of this commit.
git-svn-id: https://develop.svn.wordpress.org/trunk@18316 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-16 10:28:29 +00:00
Andrew Ozz e3a1054bef Add context to _e('Name'), props valentinas, fixes #16531
git-svn-id: https://develop.svn.wordpress.org/trunk@18247 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 22:13:26 +00:00
Andrew Ozz 48951ad388 DFW: show the toolbar only when the mouse is near the top of the window, see #17503
git-svn-id: https://develop.svn.wordpress.org/trunk@18241 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:08:49 +00:00
Andrew Ozz 2f3a53166f background-color = transparent, fixes #17726
git-svn-id: https://develop.svn.wordpress.org/trunk@18197 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:35:48 +00:00
Andrew Ozz ebd705f0b5 Fix style of the <!--more--> tag replacement image in TinyMCE so it doesn't show horizontal scrollbar in FF and IE.
git-svn-id: https://develop.svn.wordpress.org/trunk@18196 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 17:16:22 +00:00
Daryl Koopersmith d528a78cbe Show post editor inset shadow in visual mode.
git-svn-id: https://develop.svn.wordpress.org/trunk@18180 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-07 20:29:54 +00:00
Andrew Ozz 9565d6364b DFW: don't prepend comma if content_css is empty, props duck_, fixes #17690
git-svn-id: https://develop.svn.wordpress.org/trunk@18151 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 18:13:15 +00:00
Andrew Ozz 98d58b4edd Fix WebKit browsers reporting document.body height shorter than it is, add classes to TinyMCE's body: 'wp-editor' or 'wp-fullscreen-editor', fix mousemove event in IE, fixes #17664
git-svn-id: https://develop.svn.wordpress.org/trunk@18142 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-05 00:06:28 +00:00
Andrew Ozz 35ba083b00 DFW: restore editor width shortcuts, restore limited overwriting of the theme styling in TinyMCE, show the toolbar on mouse move in TinyMCE, improve the help, fixes #17503, fixes #17644, fixes #17664, fixes #17596
git-svn-id: https://develop.svn.wordpress.org/trunk@18137 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 00:46:47 +00:00
Andrew Ozz f33bfbb86f Make DFW use the exact same style as the normal editor, remove width resizing in DFW as it would clash with editor-style.css for some themes, fixes #17644
git-svn-id: https://develop.svn.wordpress.org/trunk@18103 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-01 20:01:29 +00:00
Andrew Ozz ee6db8dcaf Add some delay to allow the flash uploader swf to load in FF4, fixes #17329
git-svn-id: https://develop.svn.wordpress.org/trunk@18073 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 02:23:45 +00:00
Andrew Ozz 25431a16bb s/Colse/Close/, props nacin, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18070 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 05:07:32 +00:00
Andrew Ozz 1596867751 Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: https://develop.svn.wordpress.org/trunk@18069 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-29 02:04:52 +00:00
Andrew Ozz 69d133d6f0 Fix the spellchecker button for the visual editor.
Fix focusing the editor in IE, props greuben, fixes #17467

git-svn-id: https://develop.svn.wordpress.org/trunk@18066 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-28 16:46:13 +00:00
Andrew Ozz 3db61a5880 Fix regression: the visual editor removes empty paragraphs, fix CSS for the spellchecker button, fixes #17368
git-svn-id: https://develop.svn.wordpress.org/trunk@18064 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-27 19:27:19 +00:00
Andrew Ozz 3a20d6aa17 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: https://develop.svn.wordpress.org/trunk@18027 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 01:04:12 +00:00
Andrew Ozz c81d44279d Fix updating of custom fields, fixes #17483
git-svn-id: https://develop.svn.wordpress.org/trunk@17981 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-21 14:38:56 +00:00