Commit Graph

33 Commits

Author SHA1 Message Date
Andrew Nacin 7f34c3e8ec Media: Introduce wp.media.editor.open(editor_id) and leverage it in distraction-free writing (fullscreen). props azaozz, koopersmith. fixes #22541.
git-svn-id: https://develop.svn.wordpress.org/trunk@22875 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-27 19:09:00 +00:00
Andrew Nacin e82d5080b8 New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
Be on the lookout for weirdness.
props lessbloat. see #21456.



git-svn-id: https://develop.svn.wordpress.org/trunk@22019 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 19:57:44 +00:00
Andrew Nacin db981a3b27 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: https://develop.svn.wordpress.org/trunk@21592 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:04:18 +00:00
bumpbot 1ae155013d Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20167 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:30:29 +00:00
Andrew Ozz 5c6cebe6a4 Make switchEditors.go() fully back-compat, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19316 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 02:44:28 +00:00
Andrew Ozz cfc8bd3d53 Hide post title field in DFW if title is not supported by the current post type or missing, fixes $18568
git-svn-id: https://develop.svn.wordpress.org/trunk@18828 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-29 22:59:49 +00:00
Andrew Ozz 3009977ccd Fix the uploader popup in DWF, reduce the height of the drop area, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18778 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-26 19:23:43 +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
Andrew Ozz 61c8958e4b Fix TimyMCE init when launching DFW and respect wpautop setting there, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@18609 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-26 19:33:14 +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 576466e544 Fix DFW resizing after reaching the sanity check width, props merty, fixes #17983 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@18399 602fd350-edb4-49c9-b593-d223f7449a82
2011-07-05 07:03: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
Daryl Koopersmith 2d56b5b9fd DFW: When hiding DFW, switch to correct main editors before saving content. Otherwise, some content will be lost. fixes #17729.
git-svn-id: https://develop.svn.wordpress.org/trunk@18203 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-08 20:55:33 +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 fe0023d441 Force-hide the adminbar when DFW opens to keep IE7 users happy, fixes #17622
git-svn-id: https://develop.svn.wordpress.org/trunk@18075 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-30 19:22:09 +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 15c2f28085 More IE7 fixes, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17964 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 05:35:08 +00:00
Andrew Ozz 7262bec3c2 IE7 fixes, see #17324
git-svn-id: https://develop.svn.wordpress.org/trunk@17963 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 02:23:02 +00:00
Andrew Ozz 1420210806 Fix width shortcuts in DFW, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17949 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 00:59:12 +00:00
Andrew Ozz 89b108095f Fix autosave and word count for DFW HTML editor, always update word count on autosave, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17936 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-16 06:17:44 +00:00
Andrew Ozz 1b66183679 Refresh word count when switching editors in DFW.
git-svn-id: https://develop.svn.wordpress.org/trunk@17932 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-15 05:51:33 +00:00
Andrew Ozz e2738c27c7 DFW: scroll to top when opening so the user is not disoriented, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17913 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-13 06:27:49 +00:00
Andrew Ozz 0b4a1378b9 DFW: add tagline, move the Word count under the editor, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17856 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-11 09:18:32 +00:00
Andrew Ozz 6b810b990f DFW: add Blockquote button, enable After the Deadline button if plugin is installed, set button state, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17852 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-10 23:21:34 +00:00
Andrew Ozz 223162e568 DFW: change width resizing to use hotkeys only: Alt (Win, Linux) or Ctrl (Mac) 0/reset, +/wider, -/narrower, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17838 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 06:32:44 +00:00
Andrew Ozz 13ad310c3f DFW: import editor-style.css, fine-tune transition times, add width resizing setting, some cleanup, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17837 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-08 02:01:53 +00:00
Andrew Ozz 6e8cefd437 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17785 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-02 08:10:23 +00:00
Andrew Ozz c70a32734f Don't hide the top bar when the cursor is over it, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17703 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 07:20:56 +00:00
Andrew Ozz 787995a1ab DFW: remove unneeded JS global, fix screen flash in WebKit, props koopersmith, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17702 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 01:19:26 +00:00
Andrew Ozz 0303c82d90 Fix Opera event name and bump TinyMCE version string, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17696 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:28:23 +00:00
Andrew Ozz 07a62334de Distraction Free Writing mode, see #17136
git-svn-id: https://develop.svn.wordpress.org/trunk@17695 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 01:01:34 +00:00