Commit Graph

48 Commits

Author SHA1 Message Date
Andrew Ozz
995926a5f0 Add support for line breaks to the caption textareas, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20174 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 21:53:11 +00:00
bumpbot
d24750e3a1 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: https://develop.svn.wordpress.org/trunk@20115 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:45:20 +00:00
Andrew Ozz
e169217ad0 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20114 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:31:31 +00:00
bumpbot
006515c8cc Compress scripts/styles: 3.4-alpha-20014.
git-svn-id: https://develop.svn.wordpress.org/trunk@20014 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 14:18:24 +00:00
Andrew Ozz
b5a3c50057 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: https://develop.svn.wordpress.org/trunk@20013 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 08:03:40 +00:00
bumpbot
d3d4cb95e8 Compress scripts/styles: 3.4-alpha-19985.
git-svn-id: https://develop.svn.wordpress.org/trunk@19985 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 19:30:59 +00:00
Andrew Ozz
1a357fa920 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: https://develop.svn.wordpress.org/trunk@19984 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 19:18:59 +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
0fa723245a HTML in image captions, first run, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@19982 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-24 01:58:18 +00:00
bumpbot
ce89e9f68f Compress scripts/styles: 3.4-alpha-19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19978 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-22 03:15:57 +00:00
Andrew Ozz
d67e4c47f3 Use native TinyMCE popup for the image properties dialog, fixes #20096, see #20094
git-svn-id: https://develop.svn.wordpress.org/trunk@19977 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-22 03:05:25 +00:00
Andrew Ozz
402c8c302d Load TinyMCE's non-minified "*src.js" plugin files when SCRIPT_DEBUG is defined, part props ericlewis, fixes #20055
git-svn-id: https://develop.svn.wordpress.org/trunk@19945 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-18 06:43:47 +00:00
Ryan Boren
2b186b0c45 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: https://develop.svn.wordpress.org/trunk@19712 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-08 17:01:11 +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
fa570e7b76 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: https://develop.svn.wordpress.org/trunk@19116 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-02 15:24:56 +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
d39d7e4ba4 Editor: utilize the new "formats" option in TinyMCE, fix errors in IE when pressing Enter inside a caption box, fix resizing of the caption box when the user soft-resizes the image in the editor, fixes #12574
git-svn-id: https://develop.svn.wordpress.org/trunk@16090 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-29 20:06:00 +00:00
Andrew Ozz
839bad194f Editor: stop inserting empty paragraphs before/after captioned images, see #15095
git-svn-id: https://develop.svn.wordpress.org/trunk@15822 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-16 22:11:31 +00:00
Andrew Ozz
cb192bb9c7 Clean CSS of the Edit Image popup in the visual editor props Simek, show changed image size and fill width or height when left blank, fixes #11655, fixes #10442
git-svn-id: https://develop.svn.wordpress.org/trunk@12660 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-08 13:06:17 +00:00
Andrew Ozz
4a9acd62f8 Fix timeout for the inline buttons on images in TinyMCE.
git-svn-id: https://develop.svn.wordpress.org/trunk@12115 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 09:06:26 +00:00
Andrew Ozz
5e11e936ef PressThis: fix TinyMCE config and IE6 css "hasLayout"
git-svn-id: https://develop.svn.wordpress.org/trunk@12112 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 00:23:58 +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
50c42a07fc TinyMCE in Firefox: fix crash when dragging images with caption, drag the image together with the caption (only in Firefox 3.5+)
git-svn-id: https://develop.svn.wordpress.org/trunk@12085 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 05:30:29 +00:00
Andrew Ozz
38fb326258 TinyMCE 3.2.2.3, has several bugfixes
git-svn-id: https://develop.svn.wordpress.org/trunk@10845 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-27 12:57:25 +00:00
Andrew Ozz
89a00376b4 TinyMCE: minify the custom plugins, remove unneeded CSS, load in the footer
git-svn-id: https://develop.svn.wordpress.org/trunk@10337 602fd350-edb4-49c9-b593-d223f7449a82
2009-01-09 12:02:59 +00:00
Andrew Ozz
4fa6ae8fa5 Gallery settings for TinyMCE
git-svn-id: https://develop.svn.wordpress.org/trunk@9847 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-23 06:37:15 +00:00
Andrew Ozz
91a862b1a2 Fix thickbox for IE6 in wpeditimage
git-svn-id: https://develop.svn.wordpress.org/trunk@9730 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-17 05:51:59 +00:00
Andrew Ozz
a697919990 TinyMCE 3.2.1
git-svn-id: https://develop.svn.wordpress.org/trunk@9674 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-14 02:35:02 +00:00
Ryan Boren
83f404323b Set eol-style
git-svn-id: https://develop.svn.wordpress.org/trunk@9375 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-28 04:19:39 +00:00
Andrew Ozz
97a7ceda96 Update TinyMCE to 3.2.0 and remove compression, fixes #7827
git-svn-id: https://develop.svn.wordpress.org/trunk@9064 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-02 16:30:14 +00:00
Ryan Boren
6db75e59d4 Collapse crazyhorse to trunk. Incoming! see #7552
git-svn-id: https://develop.svn.wordpress.org/trunk@8691 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-20 21:42:31 +00:00
Andrew Ozz
8138570a20 When not using image captions, IE may add caption null, for 2.7
git-svn-id: https://develop.svn.wordpress.org/trunk@8517 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-01 05:10:27 +00:00
Andrew Ozz
90e3261fd9 Latest TinyMCE, has new load options and bugfixes.
git-svn-id: https://develop.svn.wordpress.org/trunk@8512 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-31 04:01:30 +00:00
Andrew Ozz
491b47b300 Removes the disabling of captions, but leaves couple of hooks so a plugin can do it easily. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8358 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 21:36:17 +00:00
Andrew Ozz
35b0176876 fixes #7311 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@8356 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-16 20:34:46 +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
83e091f297 Fix image resizing inside captions, add edit alt field to the advanced tab. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8307 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-10 16:39:14 +00:00
Ryan Boren
304340a9b0 Fix quotes in captions. Props azaozz. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8290 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-08 23:38:53 +00:00
Ryan Boren
7dccf2c37c Image caption fixes from azaozz: captions are properly created in tables and in lists, all tags are properly removed when deleting a caption, the align buttons can be used to align the captions. see #6812
git-svn-id: https://develop.svn.wordpress.org/trunk@8260 602fd350-edb4-49c9-b593-d223f7449a82
2008-07-06 16:38:37 +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
d8d5181c77 TinyMCE 3.1.1 from azaozz. fixes #7191
git-svn-id: https://develop.svn.wordpress.org/trunk@8204 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-27 16:13:27 +00:00
Ryan Boren
99e1ad77bc Edit image fixes from azaozz: : new link not created if the image has class "aligncenter" in Safari; recalculates the demo image size properly and applies any inline styles to it; if relative link is added, it's converted to absolute; "Unknown error" in IE6. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8191 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-25 16:30:28 +00:00
Ryan Boren
94bd9ef781 Edit image updates from azaozz. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8167 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-23 15:26:03 +00:00
Ryan Boren
ddc798ad6f TinyMCE 3.1.0.1 from azaozz. fixes #7153 #7148 #7128
git-svn-id: https://develop.svn.wordpress.org/trunk@8127 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-19 16:55:50 +00:00
Ryan Boren
e719ad71ee Add RTL stylesheet for edit image. Props azaozz. see #681!
git-svn-id: https://develop.svn.wordpress.org/trunk@8088 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 21:01:32 +00:00
Ryan Boren
761c8cef28 Image popup improvements from azaozz. Added translation strings, RTL support, several layout improvements, image border, hspace and vspace can be used as shortcuts to add css styles, the preview is visible on both tabs, etc. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8083 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-14 16:38:08 +00:00
Ryan Boren
4c1b6184ba Unify TinyMCE image popup and insert image popup. Props azaozz. see #6811
git-svn-id: https://develop.svn.wordpress.org/trunk@8066 602fd350-edb4-49c9-b593-d223f7449a82
2008-06-10 04:40:21 +00:00