Andrew Ozz
5d92ed5632
TinyMCE: remove the 'spellchecker' plugin. It has been disabled for a while and the back-end currently doesn't work. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26958
git-svn-id: http://core.svn.wordpress.org/trunk@26837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-15 19:07:11 +00:00
Andrew Ozz
1ddc17780a
TinyMCE: add/remove the 'alignnone' class when aligning images without captions. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26942
git-svn-id: http://core.svn.wordpress.org/trunk@26822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 05:52:09 +00:00
Andrew Ozz
88959be27d
TinyMCE: improve handling of Read More and Nextpage tags. See #24067 , fixes #16239 .
...
Built from https://develop.svn.wordpress.org/trunk@26941
git-svn-id: http://core.svn.wordpress.org/trunk@26821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 05:46:11 +00:00
Andrew Ozz
6c0fe71d05
TinyMCE: re-enable soft resizing of images inside the editor. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26934
git-svn-id: http://core.svn.wordpress.org/trunk@26815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-13 01:13:10 +00:00
Andrew Ozz
290b52e8a4
TinyMCE: update compat3x.min.js and bump $tinymce_version. See #24067 , fixes #26750 .
...
Built from https://develop.svn.wordpress.org/trunk@26930
git-svn-id: http://core.svn.wordpress.org/trunk@26811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-10 00:52:13 +00:00
Andrew Ozz
3373b5ff0f
TinyMCE: 'wpdialogs' plugin, don't add the (external) UI dialogs element to the internal windows array, fix .close(). See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26900
git-svn-id: http://core.svn.wordpress.org/trunk@26783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-04 01:28:13 +00:00
Andrew Ozz
b7999f453a
TinyMCE: back-compat, refresh and re-enable the 'wpdialogs' plugin, and mark it as deprecated. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26899
git-svn-id: http://core.svn.wordpress.org/trunk@26782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-03 02:33:10 +00:00
Andrew Ozz
21f4012df4
TinyMCE: add stub for the missing editor.controlManager to the compat3x plugin. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26897
git-svn-id: http://core.svn.wordpress.org/trunk@26780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 07:03:11 +00:00
Andrew Ozz
e8e30c03f5
TinyMCE: add stubs for the missing tinymce.util.Cookie, windowManager.onOpen and windowManager.onClose to the compat3x plugin. See #24067 , fixes #26750 .
...
Built from https://develop.svn.wordpress.org/trunk@26890
git-svn-id: http://core.svn.wordpress.org/trunk@26773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 01:07:11 +00:00
Andrew Ozz
cf5aa6d6da
TinyMCE:
...
- Fix removing leftovers from broken captions.
- Better filter for line breaks and <br> tags when editing captions.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26882
git-svn-id: http://core.svn.wordpress.org/trunk@26765 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 03:10:11 +00:00
Andrew Ozz
a16cc19790
TinyMCE:
...
- Fix toolbar icons in IE9.
- Remove background gradients in IE < 10.
- Lint our plugins.
- Add draggable attribute to the caption wrapper and make the captioned images non-draggable in Chrome.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26880
git-svn-id: http://core.svn.wordpress.org/trunk@26763 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-30 01:54:11 +00:00
Andrew Ozz
855889f7aa
TinyMCE 4.0.12, first run.
...
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067 .
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 23:53:15 +00:00
Andrew Nacin
1154c059ef
RTL font-family overrides. (Tahoma generally, and Arial for Hebrew.)
...
props yoavf.
fixes #24977 .
Built from https://develop.svn.wordpress.org/trunk@26816
git-svn-id: http://core.svn.wordpress.org/trunk@26703 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 01:31:11 +00:00
Andrew Nacin
053663f68e
Remove the shadow on the TinyMCE editor.
...
This removes it from distraction-free writing and also gives the editor a bit of a lighter feel.
fixes #26421 .
Built from https://develop.svn.wordpress.org/trunk@26659
git-svn-id: http://core.svn.wordpress.org/trunk@26549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:26:11 +00:00
Matt Thomas
c7bd838884
When MP6 was merged into core, the new MCE images weren't added. Replace old MCE gifs with new PNGs and correct the paths to their 2x versions. See #26232 .
...
Built from https://develop.svn.wordpress.org/trunk@26391
git-svn-id: http://core.svn.wordpress.org/trunk@26291 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:59:09 +00:00
Andrew Nacin
bd265f4983
Fix JSHint errors in remaining WP TinyMCE plugin files.
...
fixes #26048 .
Built from https://develop.svn.wordpress.org/trunk@26214
git-svn-id: http://core.svn.wordpress.org/trunk@26122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 15:05:09 +00:00
Andrew Nacin
69fc43dcb6
Fix JSHint errors in the wpview and wplink editor plugins.
...
props seanchayes.
fixes #26024 , #26027 .
Built from https://develop.svn.wordpress.org/trunk@26201
git-svn-id: http://core.svn.wordpress.org/trunk@26109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 05:18:10 +00:00
Andrew Nacin
a87fec4616
Fix JSHint errors in six files.
...
props mdbitz.
fixes ##26011, #26012 , #26013 , #26014 , #26038 , #26039 .
Built from https://develop.svn.wordpress.org/trunk@26195
git-svn-id: http://core.svn.wordpress.org/trunk@26103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 04:42:09 +00:00
Andrew Nacin
d8564963b8
Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out.
...
see #25858 , #22862 .
Built from https://develop.svn.wordpress.org/trunk@26143
git-svn-id: http://core.svn.wordpress.org/trunk@26054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 21:45:11 +00:00
Helen Hou-Sandí
437caa9972
Turns out it helps if you add those pesky Sass files if you're going to use a preprocessor. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26139
git-svn-id: http://core.svn.wordpress.org/trunk@26050 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-13 19:54:14 +00:00
Helen Hou-Sandí
69d432410a
Say hello to a fresh new look for the WordPress admin.
...
Still to come: more color schemes, a responsive component, and more.
see #25858 .
props iammattthomas, tillkruess, EmpireOfLight, melchoyce, ryelle, joen, mitchoyoshitaka, sirbrillig, andypeatling, isaackeyet, Otto42, dd32, matt, helen.
Built from https://develop.svn.wordpress.org/trunk@26072
git-svn-id: http://core.svn.wordpress.org/trunk@25992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-10 00:27:10 +00:00
Andrew Nacin
dfe0e26154
3.7 regression: Fix the width of captioned images inserted into the visual editor.
...
Pulls some arithmetic outside of some string concatenation to avoid a nasty uglify.js regression: https://github.com/mishoo/UglifyJS2/pull/330 .
props LucP.
fixes #25700 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25921
git-svn-id: http://core.svn.wordpress.org/trunk@25880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-26 02:51:09 +00:00
Andrew Nacin
1a2f89d5d0
Avoid a notice for an undefined $checksums variable when updating from pre-3.7 to post-3.7.
...
props GaryJ.
fixes #25689 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25915
git-svn-id: http://core.svn.wordpress.org/trunk@25878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 20:15:10 +00:00
Andrew Nacin
70fd806759
Revert r25824:25875 from the core.svn.wordpress.org repository.
...
These commits were accidentally re-synced commits from develop.svn.wordpress.org due to a race condition. Thankfully, the history of this repository matters fairly little. It also happened only for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@25876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-25 02:29:52 +00:00
Andrew Ozz
48ce800aab
TinyMCE: fix detection of IE11 in compatibility mode, fixes #25634 .
...
Built from https://develop.svn.wordpress.org/trunk@25852
git-svn-id: http://core.svn.wordpress.org/trunk@25852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:57:01 +00:00
Andrew Nacin
8ae8e01b67
Remove the old wp_auto_updates_maybe_update cron event. Schedule the new wp_maybe_auto_update event at 7 a.m. and 7 p.m. in the site's timezone.
...
see #27704 .
Built from https://develop.svn.wordpress.org/trunk@25825
git-svn-id: http://core.svn.wordpress.org/trunk@25825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-24 22:53:14 +00:00
Andrew Ozz
8bfa1e8d24
TinyMCE: fix detection of IE11 in compatibility mode, fixes #25634 .
...
Built from https://develop.svn.wordpress.org/trunk@25852
git-svn-id: http://core.svn.wordpress.org/trunk@25764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-18 22:59:08 +00:00
Andrew Ozz
debbfea3bf
Upgrade TinyMCE to 3.5.9. Fix the css for the original 'fullscreen' plugin (not enabled by default).
...
Fixes #25561 , fixes #25281 .
Built from https://develop.svn.wordpress.org/trunk@25761
git-svn-id: http://core.svn.wordpress.org/trunk@25674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-10 21:50:09 +00:00
Andrew Ozz
65cd133a6f
TinyMCE: add support for IE11.
...
- Add the latest changes from the 3.x branch upstream.
- Reduce the number of calls to tinyMCEPopup.restoreSelection() in our custom plugins.
- Remove the deprecated execCommand("mceBeginUndoLevel");.
See #25281 .
Built from https://develop.svn.wordpress.org/trunk@25748
git-svn-id: http://core.svn.wordpress.org/trunk@25661 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-09 21:05:10 +00:00
Andrew Nacin
fd57b239d2
Don't rely on include_path to include files.
...
Always use dirname() or, once available, ABSPATH.
props ketwaroo, hakre.
fixes #17092 .
Built from https://develop.svn.wordpress.org/trunk@25616
git-svn-id: http://core.svn.wordpress.org/trunk@25533 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 00:18:11 +00:00
Andrew Ozz
f50b7ff4c7
Remove the banner when concatenating TinyMCE so wp-tinymce.js.gz doesn't change every time the build process is run. See #25159 .
...
Built from https://develop.svn.wordpress.org/trunk@25200
git-svn-id: http://core.svn.wordpress.org/trunk@25172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 22:02:10 +00:00
Sergey Biryukov
3615a566b7
Update tests/README.txt to reflect the new tests directory structure. props jdgrimes. fixes #25133 .
...
Built from https://develop.svn.wordpress.org/trunk@25199
git-svn-id: http://core.svn.wordpress.org/trunk@25171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 13:43:10 +00:00
Andrew Nacin
7a8981a38c
Case insensitivity for is_email_address_unsafe().
...
props jkudish.
fixes #25046 .
Built from https://develop.svn.wordpress.org/trunk@25197
git-svn-id: http://core.svn.wordpress.org/trunk@25169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 04:36:10 +00:00
Andrew Nacin
0d9fcbd841
Use get_nav_menu_locations() in wp_delete_nav_menu().
...
props nofearinc.
see #25064 .
Built from https://develop.svn.wordpress.org/trunk@25196
git-svn-id: http://core.svn.wordpress.org/trunk@25168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 01:39:09 +00:00
Andrew Nacin
8e56222a1a
Nav menus: Allow assigning a new menu to an existing location when no theme setting is currently saved.
...
props ocean90.
see #25064 , for trunk.
Built from https://develop.svn.wordpress.org/trunk@25195
git-svn-id: http://core.svn.wordpress.org/trunk@25167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 01:37:08 +00:00
Andrew Nacin
1ef62770d2
Remove display of 'Previously restored by' in the revisions meta box as it is busted.
...
Fixes invalid markup (missing closing ul tag) when there was no previously restored revision.
see #25051 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25194
git-svn-id: http://core.svn.wordpress.org/trunk@25166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 01:33:09 +00:00
Andrew Nacin
e0d60de6ca
Fix 'html5' theme support.
...
* Require it to have a second argument when adding.
* Merge, rather than replace, on second add.
* Make current_theme_supports() work when two arguments are passed.
Adds unit tests.
props nathanrice for initial patch.
see #24932 for trunk.
Built from https://develop.svn.wordpress.org/trunk@25193
git-svn-id: http://core.svn.wordpress.org/trunk@25165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 01:30:09 +00:00
Andrew Nacin
0496b1acfd
Hide 'Database Upgrade Required' on admin/network/upgrade.php when you are not being asked to upgrade, to prevent confusion.
...
props duck_.
see #24845 . see #23540 .
Built from https://develop.svn.wordpress.org/trunk@25191
git-svn-id: http://core.svn.wordpress.org/trunk@25163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-31 00:57:10 +00:00
Andrew Nacin
6a1ac52330
Be less verbose when erroring out in do_feed() for an invalid feed template. fixes #24874 .
...
Built from https://develop.svn.wordpress.org/trunk@25190
git-svn-id: http://core.svn.wordpress.org/trunk@25162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-30 23:37:11 +00:00
Andrew Nacin
043bb44747
Remove wp-tinymce.js.gz from develop.svn, as this is now part of the build process.
...
see #25159 and [25188].
Built from https://develop.svn.wordpress.org/trunk@25189
git-svn-id: http://core.svn.wordpress.org/trunk@25161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-30 22:25:08 +00:00
Andrew Nacin
2356b54f7e
Build tinymce.js.gz using grunt.
...
props azaozz.
see #25159 .
Built from https://develop.svn.wordpress.org/trunk@25188
git-svn-id: http://core.svn.wordpress.org/trunk@25160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-30 22:17:15 +00:00
Andrew Ozz
a87a1bceff
TinyMCE: fix editor focus issues after ontouchstart event on the parent document in iOS Safari. Fixes #25131 for 3.7.
...
Built from https://develop.svn.wordpress.org/trunk@25132
git-svn-id: http://core.svn.wordpress.org/trunk@25112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-26 21:24:10 +00:00
Andrew Ozz
8f3abb856a
TinyMCE: always use js/editimage.js in the custom 'editimage' plugin, same way as the default TinyMCE plugins. Fixes #24999 .
...
Built from https://develop.svn.wordpress.org/trunk@25022
git-svn-id: http://core.svn.wordpress.org/trunk@25013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 03:13:36 +00:00
Bot (Assets)
6e798324e9
New develop.svn.wordpress.org repository based on the old core.svn repository.
...
* All WordPress files move to a src/ directory.
* New task runner (Grunt), configured to copy a built WordPress to build/.
* svn:ignore and .gitignore for Gruntfile.js, wp-config.php, and node.js.
* Remove Akismet external from develop.svn. Still exists in core.svn.
* Drop minified files from src/. The build process will now generate these.
props koop.
see #24976 .
and see http://wp.me/p2AvED-1AI .
Built from https://develop.svn.wordpress.org/trunk@25001
git-svn-id: http://core.svn.wordpress.org/trunk@25001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-07 05:49:02 +00:00
Bot (Assets)
f672aff0ee
Compress scripts/styles: 3.6-beta3-24485. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24485 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 07:19:07 +00:00
Andrew Nacin
8348f10034
Update TinyMCE media plugin's moxieplayer.swf to latest.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-21 05:57:22 +00:00
Bot (Assets)
a7fd4ea020
Compress scripts/styles: 3.6-beta2-24216.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 00:58:57 +00:00
Andrew Ozz
eb6910f23c
TinyMCE: fix for the disappearing placeholders bug in Chrome, see #24177
...
git-svn-id: http://core.svn.wordpress.org/trunk@24215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-09 00:24:45 +00:00
Andrew Ozz
72478e1bce
TinyMCE: attempt a workaround for WebKit bug inserting spans with font styles when creating UL or OL. See #17154
...
git-svn-id: http://core.svn.wordpress.org/trunk@24211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 23:03:44 +00:00
Andrew Ozz
130a30587e
Revert [24113], wp-tinymce.js.gz is missing couple of files.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-27 22:41:10 +00:00
Bot (Assets)
4a6b6963eb
Compress scripts/styles: 3.6-beta1-24113. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@24113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-26 22:57:07 +00:00
Andrew Nacin
8fdaa65f91
Prevent classid="clsid:undefined". props SergeyBiryukov. see #23876 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 20:55:20 +00:00
Andrew Nacin
7858e5e9a8
Prevent a JS error when working with embedded media in TinyMCE.
...
props wonderboymusic. fixes #23876 .
git-svn-id: http://core.svn.wordpress.org/trunk@23895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 20:49:41 +00:00
Bot (Assets)
e3590b9637
Compress scripts/styles: 3.6-alpha-23746. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23746 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 20:58:39 +00:00
Andrew Ozz
829a6f541b
Editor: preserve the textarea content when saving, wpautop is not used and TinyMCE is hidden. Props WraithKenny, fixes #23743
...
git-svn-id: http://core.svn.wordpress.org/trunk@23745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-18 20:40:39 +00:00
Sergey Biryukov
709dd51ae6
Fix typos in phpdoc. props bradparbs. fixes #23481 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-04 04:23:00 +00:00
Mark Jaquith
d48d025403
"LGPL License" is redundant.
...
props wonderboymusic, jakub.tyrcha. fixes #15585
git-svn-id: http://core.svn.wordpress.org/trunk@23425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-15 16:26:46 +00:00
Bot (Assets)
fbfa656d6b
Compress scripts/styles: 3.6-alpha-23403. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23403 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-12 22:58:43 +00:00
Andrew Ozz
19f2608e04
TinyMCE: include cd84a63d4a
to fix backspace and line breaks issues in WebKit, see #23337
...
git-svn-id: http://core.svn.wordpress.org/trunk@23402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-12 02:04:09 +00:00
Bot (Assets)
31b8240f6b
Compress scripts/styles: 3.6-alpha-23334. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 22:57:24 +00:00
Andrew Ozz
50ceba1323
Autop: <samp> is not a block tag, props toscho, fixes #18807
...
git-svn-id: http://core.svn.wordpress.org/trunk@23327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-01-22 19:05:21 +00:00
Bot (Assets)
6d4c570cfa
Compress scripts/styles: 3.6-alpha-23223. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 22:58:50 +00:00
Andrew Ozz
bc2a6a7f12
TinyMCE: don't remove empty <i>, <b>, <em> and <strong> matching the behavior in WordPress 3.4/TinyMCE 3.4.9, see #22477 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@23222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 22:44:10 +00:00
Andrew Ozz
25f7e53d95
TinyMCE: prevent <a> from wrapping block elements, fixes #22888 for trunk
...
git-svn-id: http://core.svn.wordpress.org/trunk@23219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-27 21:01:56 +00:00
Bot (Assets)
cb8c12d384
Compress scripts/styles: 3.6-alpha-23193. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-21 18:52:36 +00:00
Andrew Ozz
004576872a
TinyMCE: update to latest source including the WebKit backspace fix, see #23010
...
git-svn-id: http://core.svn.wordpress.org/trunk@23192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-21 18:18:58 +00:00
Helen Hou-Sandí
b1f1579604
its <=> it's in documentation, along with a rogue the, The, and looses. props trepmal. fixes #22665 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-20 15:55:32 +00:00
Bot (Assets)
c47b6a79e9
Compress scripts/styles: 3.5-RC5-23155. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 10:15:13 +00:00
Andrew Nacin
a01fc23c10
Restore the duck punch of TinyMCE's schema from [23120], along with updated rules for all HTML5 elements, as painstakingly audited against the HTML5 spec.
...
Remove conflicting and unnecessary code in the WP TinyMCE plugin.
Fixes all known regressions when working with the embed, object, video, audio, source, and param elements in TinyMCE.
props markjaquith, koopersmith.
fixes #22790 , #22842 .
fixes #22842 .
git-svn-id: http://core.svn.wordpress.org/trunk@23153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 10:10:12 +00:00
Andrew Nacin
6a4e57204e
Add TinyMCE's Schema.js to prepare for patching it. see #22790 . see #22842 . for trunk.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 10:01:24 +00:00
Andrew Nacin
eacdfa1455
Delete the patch of TinyMCE's schema; new attempt. see #22790 . see #22842 . for the 3.5 branch.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 09:56:31 +00:00
Bot (Assets)
4deea3ad7f
Compress scripts/styles: 3.5-RC5-23145. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 02:41:15 +00:00
Andrew Nacin
0a0aaaa10a
TinyMCE: Use the correct syntax for allowing an embed
element to be a valid child of an object
element.
...
Fixes a bug in TinyMCE when using its HTML5 schema definition.
props azaozz.
see #22790 .
for trunk.
... with the right patch this time. [23142] was done in error.
git-svn-id: http://core.svn.wordpress.org/trunk@23144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 02:40:16 +00:00
Bot (Assets)
d4572cf682
Compress scripts/styles: 3.5-RC5-23143. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 02:38:50 +00:00
Andrew Nacin
b7fed9b5fa
TinyMCE: Use the correct syntax for allowing an embed
element to be a valid child of an object
element.
...
Fixes a bug in TinyMCE when using its HTML5 schema definition.
props azaozz.
see #22790 .
for trunk.
git-svn-id: http://core.svn.wordpress.org/trunk@23142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-10 02:37:50 +00:00
Bot (Assets)
f6ed8258a6
Compress scripts/styles: 3.5-RC4-23121. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23121 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 11:41:16 +00:00
Andrew Nacin
45e3d73a05
Add a sane, inclusive HTML element/attribute schema to TinyMCE.
...
TinyMCE 3.4.x (shipped with WordPress 3.4.x) had an HTML4-based schema definition, with HTML5 elements added to it. TinyMCE 3.5.x (shipping, again coincidentally, with WordPress 3.5) allows for HTML5 schema support, which also provides for full HTML5 attribute support. The problem is its HTML5 schema excludes all HTML4 elements and attributes that were dropped in the HTML5 spec, which is unacceptable behavior.
This "duck punch" of TinyMCE's Schema.js file creates a new, sane schema. It is TinyMCE's HTML4 and HTML5 schema definitions recursively merged.
Objects are not whitelisted in either schema to allow for embed elements as child nodes, so object, param, and embed remain separately whitelisted in the WordPress TinyMCE plugin. Our attempts to add other attributes in said plugin is now superceded.
props koopersmith, azaozz.
fixes #22790 .
git-svn-id: http://core.svn.wordpress.org/trunk@23120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 11:26:25 +00:00
Andrew Nacin
f805463013
Add TinyMCE 3.5.8's Schema.js file in preparation for monkey patching it. see #22790 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@23119 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 11:12:51 +00:00
Bot (Assets)
d50dfe71f3
Compress scripts/styles: 3.5-RC4-23113. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 00:07:33 +00:00
Ryan Boren
cb74a5617a
Extend allowed elements for object and embed.
...
Props azaozz
fixes #22790
git-svn-id: http://core.svn.wordpress.org/trunk@23112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-07 00:05:54 +00:00
Bot (Assets)
c4ef3fe74c
Compress scripts/styles: 3.5-RC3-23091. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-06 04:58:34 +00:00
Andrew Ozz
449156f3c8
Upgrade to TinyMCE 3.5.8, fixes #22755
...
git-svn-id: http://core.svn.wordpress.org/trunk@23090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-06 04:50:31 +00:00
Andrew Nacin
173806d7a1
Restore the Description field to the media UI in 3.5.
...
We tried in vain -- a noble but ultimately failed effort -- to reduce the number of fields for attachments from four (title, caption, alt, description) to one (caption for images, title otherwise). Alternative text needed to stay for accessibility reasons, of course.
Eventually title returned due to heavy plugin reliance. Description is too used by too many plugins (often times incorrectly -- the caption is more likely the proper field), hence its less-than-triumphant return today.
Version 3.5 has tried to streamline media in a number of ways. Removing fields may have been too much at once, as it forced not only a user interface change, but a paradigm change as well.
Finally, on upload we populate the description field with IPTC/EXIF captions, rather than the caption field. See #22768 , this should be fixed. For now, Description stays.
This commit also restores 'Title' attribute editing to the main tab of the Edit Image dialog. The "Title" field no longer populates title attributes for <img> tags by design (for accessibility and other purposes, see #18984 ). So, here is a more obvious 'workaround' for the tooltip community.
Finally, this:
* Cleans up the post.php attachment editor, including by showing a prettier form of the mime type.
* Enables plugins to specifically hide attachment_fields_to_edit from either post.php (where you can create meta boxes) or the modal (which you may not want to clutter), for compatibility reasons.
* Hides the 'Describe this file...' placeholder when a field is read-only in the modal.
props nacin, helenyhou.
fixes #22759 .
git-svn-id: http://core.svn.wordpress.org/trunk@23083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-06 00:41:06 +00:00
Bot (Assets)
d3b24a0e15
Compress scripts/styles: 3.5-RC3-23047. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@23047 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 22:44:27 +00:00
Ryan Boren
c9db63ab1e
When deleting an image in the editor with the delete or backspace keys, hide the edit and delete popup buttons.
...
Props azaozz, lessbloat
fixes #22717
git-svn-id: http://core.svn.wordpress.org/trunk@23046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 22:42:26 +00:00
Andrew Ozz
48ef1a9784
RTL: properly align the demo image in the Edit Image popup, props nacin, fixes #22733
...
git-svn-id: http://core.svn.wordpress.org/trunk@23039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-04 19:51:35 +00:00
Andrew Nacin
9ba411d918
Alternative Text, not Alternate Text. props SergeyBiryukov. fixes #21176 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-03 19:21:34 +00:00
Bot (Assets)
41db8c91ff
Compress scripts/styles: 3.5-RC2-22953. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 15:20:51 +00:00
Ryan Boren
f07c7f5163
Refine media state machine methods.
...
* state( id ) becomes setState( id )
* get( id ) becomes state( id )
* state() stays the same
* previous() becomes lastState()
Props koopersmith
fixes #22652
git-svn-id: http://core.svn.wordpress.org/trunk@22952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 15:19:11 +00:00
Ryan Boren
d4abd95449
Scope button classes so they can be used on the frontend without interfering with theme styles.
...
Props helenyhou, koopersmith
fixes #22644
git-svn-id: http://core.svn.wordpress.org/trunk@22948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 13:40:59 +00:00
Ryan Boren
c9cf1508a6
In the edit image modal, move Title to the advanced section and move Caption above Alt.
...
Props nacin
fixes #22646
git-svn-id: http://core.svn.wordpress.org/trunk@22942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-30 04:09:17 +00:00
Andrew Nacin
818e2f3980
Update TinyMCE Spellchecker plugin to 2.0.6.1.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-29 02:45:16 +00:00
Bot (Assets)
b538c8bd45
Compress scripts/styles: 3.5-RC1-22885. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-28 00:58:44 +00:00
Andrew Nacin
c09ac0e931
Editor: When hiding gallery/image editing buttons, use Sizzle rather than TinyMCE's internal DOM object. Avoids errors in case the elements do not exist, such as in Press This. props azaozz. fixes #22463 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 23:36:07 +00:00
Bot (Assets)
f940c40302
Compress scripts/styles: 3.5-RC1-22879. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 20:58:37 +00:00
Andrew Nacin
45ce9d2a96
Media: Introduce wp.media.editor.open(editor_id) and leverage it in distraction-free writing (fullscreen). props azaozz, koopersmith. fixes #22541 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@22875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 19:09:00 +00:00
Bot (Assets)
c33e862097
Compress scripts/styles: 3.5-RC1-22860. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 02:58:50 +00:00
Andrew Ozz
3fd9321c91
TinyMCE: improve hiding of the image/gallery popup buttons, fix selecting a gallery in IE, don't leave empty paragraph after deleting an image with the popup button, fixes #22463 , see #21390
...
git-svn-id: http://core.svn.wordpress.org/trunk@22857 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-27 01:31:51 +00:00
Jon Cave
38e43334a9
Set svn:eol-style to native for all the files
...
(Except wp-config-sample.php and a couple of license files)
git-svn-id: http://core.svn.wordpress.org/trunk@22798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-21 22:31:55 +00:00
Bot (Assets)
29a9b52ca9
Compress scripts/styles: 3.5-beta3-22657. TinyMCE updated.
...
git-svn-id: http://core.svn.wordpress.org/trunk@22657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-19 02:58:28 +00:00