Commit Graph

376 Commits

Author SHA1 Message Date
azaozz
839edd2e27 Improve adding more css classes to the editor body, add "rtl", "ie7", "ie8", "ie9" so they can be targeted in editor-style.css, see #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@20054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-29 23:06:24 +00:00
bumpbot
b7b715a262 Compress scripts/styles: 3.4-alpha-20014.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 14:18:24 +00:00
azaozz
488c1f5a5a 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: http://svn.automattic.com/wordpress/trunk@20013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 08:03:40 +00:00
bumpbot
b4a66348d4 Compress scripts/styles: 3.4-alpha-19998.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 04:31:03 +00:00
nacin
ef5749ed57 Correct [19952]. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 04:15:08 +00:00
azaozz
f9ba569d9c Use json_encode when outputting translated strings for use in TinyMCE, fixes #20119
git-svn-id: http://svn.automattic.com/wordpress/trunk@19993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 02:11:29 +00:00
bumpbot
91dfc846a0 Compress scripts/styles: 3.4-alpha-19991.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-25 00:01:02 +00:00
azaozz
5745a57dc4 TinyMCE: move the WordPress plugins styles to the theme's stylesheet, fixes #20118
git-svn-id: http://svn.automattic.com/wordpress/trunk@19990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 23:46:04 +00:00
bumpbot
0a3212997c Compress scripts/styles: 3.4-alpha-19989.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 22:30:59 +00:00
azaozz
a91e7ab246 Close TinyMCE popups/dialogs when clicking on the background, fixes #20117
git-svn-id: http://svn.automattic.com/wordpress/trunk@19988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 22:29:46 +00:00
azaozz
b92a47ee83 Add new string to the proper i18n object, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 20:42:36 +00:00
bumpbot
fa3d2e0df3 Compress scripts/styles: 3.4-alpha-19985.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 19:30:59 +00:00
azaozz
77133d2c96 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: http://svn.automattic.com/wordpress/trunk@19984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 19:18:59 +00:00
bumpbot
a24bfc4d47 Compress scripts/styles: 3.4-alpha-19983.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 02:00:58 +00:00
azaozz
73c87020c7 HTML in image captions, first run, see #18311
git-svn-id: http://svn.automattic.com/wordpress/trunk@19982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-24 01:58:18 +00:00
bumpbot
346c855a40 Compress scripts/styles: 3.4-alpha-19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 03:15:57 +00:00
azaozz
151b1088cc Use native TinyMCE popup for the image properties dialog, fixes #20096, see #20094
git-svn-id: http://svn.automattic.com/wordpress/trunk@19977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-22 03:05:25 +00:00
nacin
6e2416cb7e Update wp-tinymce.js.gz.
* Plugins are now sorted alphabetically during concatenation, to ensure consistent generation.
 * Key tinymce/wp-tinymce.js.gz off the revision number, rather than the date.
see #19592.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-19 01:54:02 +00:00
nacin
82087e02f3 Update TinyMCE mark loaded src. see #19592.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-19 01:46:48 +00:00
azaozz
70a0c08720 FIx charset in minified file, see #19592
git-svn-id: http://svn.automattic.com/wordpress/trunk@19951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 22:06:17 +00:00
bumpbot
a20d926436 Compress scripts/styles: 3.4-alpha-19948.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 08:00:17 +00:00
azaozz
98461bd848 Revert [19946], bumpbot may need to be UTF-8 aware.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 07:48:56 +00:00
bumpbot
cd384e2e47 Compress scripts/styles: 3.4-alpha-19946.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19946 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 07:00:26 +00:00
azaozz
4c10d04190 Load TinyMCE's non-minified "*src.js" plugin files when SCRIPT_DEBUG is defined, part props ericlewis, fixes #20055
git-svn-id: http://svn.automattic.com/wordpress/trunk@19945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-18 06:43:47 +00:00
azaozz
6b6156b5f4 Add the editor ID and the post type (when available) as classes to the TinyMCE's body, fixes #19437
git-svn-id: http://svn.automattic.com/wordpress/trunk@19912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-13 07:22:45 +00:00
azaozz
3a5832e1f2 Update TinyMCE to 3.4.8, fixes #19969, fixes #19936, fixes #19741
git-svn-id: http://svn.automattic.com/wordpress/trunk@19830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-04 22:23:27 +00:00
ryan
e3b46b25d3 Lose EOF ?>. Clean up EOF newlines. fixes #12307
git-svn-id: http://svn.automattic.com/wordpress/trunk@19712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-01-08 17:01:11 +00:00
ryan
9d03183e6d Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@19577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-08 23:02:33 +00:00
azaozz
f8d2a35aaa 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: http://svn.automattic.com/wordpress/trunk@19533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-01 21:27:19 +00:00
azaozz
dc87dec0a4 TinyMCE: add class to the editor body for the old fullscreen mode (still can be used by plugins), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@19457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 00:21:36 +00:00
nacin
a7c296dd47 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: http://svn.automattic.com/wordpress/trunk@19420 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-23 19:06:52 +00:00
nacin
8fd2bc97a6 ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19278 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-14 20:40:31 +00:00
azaozz
cc2232068a Standardize title strings for editor buttons, props pavelevap SergeyBiryukov, fixes #18125
git-svn-id: http://svn.automattic.com/wordpress/trunk@19263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-12 06:15:15 +00:00
azaozz
afe9b90b3d Fix styling in the MCE help popup, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-09 14:38:37 +00:00
nacin
3a3c7e2334 Remove old vendor prefixes. props andrewryno, ocean90, fixes #18700.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-07 17:32:24 +00:00
nacin
d53dd0c990 Correct TinyMCE anchor (as in <a name>) image. props jakemgold, fixes #18419.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-06 20:14:13 +00:00
azaozz
bcd3030d0e Fix js error on mousedown in the editor, props joehoyle, fixes #19165
git-svn-id: http://svn.automattic.com/wordpress/trunk@19180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 19:49:42 +00:00
azaozz
120e6563df Update the spellchecker plugin for TinyMCE to 2.0.6, fixes #19105
git-svn-id: http://svn.automattic.com/wordpress/trunk@19178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-05 18:32:47 +00:00
azaozz
ee93344f32 More css cleanup, fix styles in the Edit Image popup then the editor is on the front end see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@19116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-02 15:24:56 +00:00
nacin
43eae59235 Translated strings in attributes require esc_attr(). s/_e/esc_attr_e/g
git-svn-id: http://svn.automattic.com/wordpress/trunk@19028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-20 15:04:46 +00:00
markjaquith
37e23be4ed Be more consistent with ERROR: messages. fixes #15887
git-svn-id: http://svn.automattic.com/wordpress/trunk@18841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-30 17:18:35 +00:00
azaozz
eb8878fbfc Fix wplink when TinyMCE is not loaded, fix image insertion when wpActiveEditor is not set, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18766 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-24 04:43:19 +00:00
azaozz
4b38d0833e 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: http://svn.automattic.com/wordpress/trunk@18710 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-19 00:47:23 +00:00
azaozz
4428b4c435 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: http://svn.automattic.com/wordpress/trunk@18702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-18 03:00:13 +00:00
azaozz
2404c9cdf0 TinyMCE 3.4.5, fixes #18107
git-svn-id: http://svn.automattic.com/wordpress/trunk@18660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-09 20:08:40 +00:00
duck_
2f51b9be0d Fix typos in documentation (wp-includes/[i-z]). See #18560.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-05 19:08:15 +00:00
azaozz
1cdec6ff6e Merge most admin css files, first run, see #18314
git-svn-id: http://svn.automattic.com/wordpress/trunk@18577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-21 03:46:43 +00:00
azaozz
c70ac59b6e Fix i18n for wp_editor, props SergeyBiryukov, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-07 16:26:31 +00:00
azaozz
6e3e6da9bd Fix editor icons when no SCRIPT_DEBUG, see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 23:56:21 +00:00
azaozz
f634dd5af4 Editor API enhancement, first run (still needs some work), see #17144
git-svn-id: http://svn.automattic.com/wordpress/trunk@18498 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-08-03 10:19:00 +00:00