Daryl Koopersmith
1758d1aae3
Add QuickPress support for new media workflow.
...
* Adds the code required to include the new media scripts, styles, and settings to `media_button()`.
* Improves script dependencies, namely making `media-upload` require `media-views`.
* Some CSS tweaks for the making the new button work well with QuickPress.
see #21390 , fixes #22021 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22072 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 20:04:34 +00:00
Daryl Koopersmith
6fff91f4d1
Media JS: Move the modal box's title from being stored in the modal view to being stored as an attribute on the workflow. Update modal titles for both the post media and featured image workflows. see #21390 , #21776 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22044 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 06:20:22 +00:00
Daryl Koopersmith
692d806fff
BUTTON.
...
Add a "Beta Media" button to the post editor. Currently, it is only capable of inserting images. Other attachment types and galleries need not apply... yet.
* Added `wp.media.string.image( attachment, props )` for generating an image as a string from an attachment and relevant attachment display properties.
* Properly localized the gallery workflow.
* Added `Workflow.update()`, which closes the modal, triggers an `update` event, and resets the selection.
* Added `wp.mce.media` to manage the various media workflows for editors.
see #21813 , #21814 , #21390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@22036 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 04:09:43 +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
2a0b86ea08
Compress scripts/styles: 3.4-alpha-19983.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@19983 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 02:00:58 +00:00
Andrew Ozz
e8fd0746c8
Fix editor detection when inserting image, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18837 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-30 16:00:11 +00:00
Andrew Ozz
13c72ba193
Fix enqueueing of the right scripts when more than one instance of the editor, fix inserting images in full screen mode, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18799 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-28 07:26:34 +00:00
Andrew Ozz
be87523fed
Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18766 602fd350-edb4-49c9-b593-d223f7449a82
2011-09-24 04:43:19 +00:00
Andrew Ozz
aad319a3ac
Fix send_to_editor() and Insert/Upload buttons URLs, see #17144
...
git-svn-id: https://develop.svn.wordpress.org/trunk@18516 602fd350-edb4-49c9-b593-d223f7449a82
2011-08-06 01:35:02 +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
3a79a20c25
Fix image insertion in IE, fixes #17237
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17701 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-25 22:49:22 +00:00
Andrew Ozz
157571de2a
Remove redundant IE restore selection calls for TinyMCE, see #17136
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17639 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-15 04:20:12 +00:00
Mark Jaquith
852a939130
Recompress some JS scripts that were done without YUI munging.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17286 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-13 08:04:58 +00:00
Mark Jaquith
d9ae425dc2
Make sure media upload thickbox takes admin bar height into account. props ocean90. fixes #15635
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16681 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 04:20:48 +00:00
Andrew Ozz
104abc4a7b
When inserting the embed shortcode in TinyMCE replace it with a placeholder image, update the 'wordpress', 'wpeditimage' and 'wpgallery' TinyMCE plugins, fix the audio and video "From URL" tabs in the uploader popup to accept only URLs for embedding, see #10337
...
git-svn-id: https://develop.svn.wordpress.org/trunk@12098 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-24 11:43:42 +00:00
Andrew Ozz
5f38225a1c
Fix image insertion in IE7
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10366 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 16:17:46 +00:00
Andrew Ozz
11743ff0c0
Fix Thickbox position for browsers pretending to be IE6
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10365 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-15 14:56:52 +00:00
Andrew Ozz
80fb5c79ce
Cleanup js files and prepare for concatenating, move most inline js to files
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10348 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-12 13:43:17 +00:00
Andrew Ozz
416baab11a
Minify all js and add the non-minified files as .dev.js
...
git-svn-id: https://develop.svn.wordpress.org/trunk@10291 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-02 15:08:58 +00:00
Andrew Ozz
bcfde60872
Move Gallery Settings to the Gallery tab in the uploader, split the Upload tab in "From Computer" and "From URL" tabs
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9894 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 02:27:37 +00:00
Ryan Boren
9698bf7f45
Dashboard updates from mdawaffe. see #7552
...
git-svn-id: https://develop.svn.wordpress.org/trunk@9219 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 22:35:53 +00:00
Ryan Boren
2272a1a950
Trailing whitespace cleanup
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren
afd113dcf2
Rename wp_caption shortcode to caption. Allow themes to disable captioning. Use dashes instead of underscores in class names. Props azaozz. see #6812
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8313 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-11 15:59:14 +00:00
Ryan Boren
7b03393372
Image caption fixes from azaozz. see #6812
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8245 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-03 05:11:00 +00:00
Ryan Boren
45ac770299
Image captions from azaozz. see #6812
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8239 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-02 18:41:11 +00:00
Ryan Boren
f920c9bcaf
Test for feature instead of browser to fix TB positioning for browsers pretending to be IE6. Props azaozz. fixes #6676
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8194 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:58:27 +00:00
Ryan Boren
29dcc51d1f
Insert image fixes from azaozz. fixes #7177
...
git-svn-id: https://develop.svn.wordpress.org/trunk@8189 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-24 21:59:06 +00:00
Ryan Boren
44084888b7
Fixes timing issue in IE6 in the TB mod scripts. Reorders css files to load before js in the admin head. Props azaozz. fixes #7032
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7989 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-24 17:06:26 +00:00
Ryan Boren
58a9595df2
Theme preview and thickbox CSS cleanup. Props azaozz. see #5486
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7961 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-20 17:19:33 +00:00
Ryan Boren
2335a57b06
thickbox and media upload fixes from azaozz. fixes #6843
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7862 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 20:21:09 +00:00
Ryan Boren
083d91eeb3
send_to_editor fix for FF. Props azaozz. fixes #6864 for trunk
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7860 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-30 20:12:39 +00:00
Ryan Boren
7d6440bba2
Fix insert, gallery, sizing, type queries, errors, thumbs, type fallback. Props andy. see #5911
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7172 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-06 19:48:54 +00:00
Ryan Boren
6d7441c26e
Remove trailing whites.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@7130 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-02 20:17:30 +00:00
Ryan Boren
fd80901dcf
New image uploader from tellyworth. see #5609
...
git-svn-id: https://develop.svn.wordpress.org/trunk@6579 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-09 08:14:29 +00:00