Andrew Ozz
4aeae869dd
TinyMCE: when clicking on a character in the Charmap modal, don't close it if the Crtl key is pressed. Makes it possible to insert several special chars in a row. See #27107 .
...
Built from https://develop.svn.wordpress.org/trunk@27179
git-svn-id: http://core.svn.wordpress.org/trunk@27041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-14 19:20:13 +00:00
Andrew Ozz
f2f6d60624
TinyMCE: add support for audio and video shortcodes without closing, fix jshint warning, see #27016 .
...
Built from https://develop.svn.wordpress.org/trunk@27177
git-svn-id: http://core.svn.wordpress.org/trunk@27039 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 20:13:13 +00:00
Andrew Ozz
a6b4307422
TinyMCE: add image based placeholders for audio and video shortcodes. Props wonderboymusic, see #27016 .
...
Built from https://develop.svn.wordpress.org/trunk@27169
git-svn-id: http://core.svn.wordpress.org/trunk@27034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-13 05:10:11 +00:00
Andrew Ozz
20fe8f026e
TinyMCE: fix styling in the Charmap modal so the click targets are as large as the table cells. Remove the "Close" button and close the modal after inserting the special char. Fixes #27107 .
...
Built from https://develop.svn.wordpress.org/trunk@27165
git-svn-id: http://core.svn.wordpress.org/trunk@27031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-11 23:33:14 +00:00
Andrew Ozz
c908c8f708
Edit image in TinyMCE:
...
- Add a "toolbar" at the top of the image with two buttons: Edit and Delete.
- Don't open the edit modal on second click on the image. Makes the "edit" button somewhat pointless and can sometimes trigger after resizing the image.
- When the image has caption: attempt to prevent IE11 from making the caption element resizable and wrapping it in thick border.
- When the caret is inside a caption next to the image, pressing Enter will create a new <p> tag above the caption.
- Hide the image toolbar on drag, cut, align.
Props gcorne, see #24409 .
Built from https://develop.svn.wordpress.org/trunk@27159
git-svn-id: http://core.svn.wordpress.org/trunk@27025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-10 23:48:12 +00:00
Andrew Ozz
5ea367cfe1
Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013
...
Built from https://develop.svn.wordpress.org/trunk@27110
git-svn-id: http://core.svn.wordpress.org/trunk@26977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 19:34:12 +00:00
Andrew Ozz
c4f8dede57
TinyMCE: set the proper caption width when clicking image resize handle on image with caption. Props gcorne, fixes #27009 , see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@27098
git-svn-id: http://core.svn.wordpress.org/trunk@26969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-05 02:07:13 +00:00
Andrew Ozz
5e08452f49
TinyMCE: don't scroll the main window when scrolling the editor content with a mouse wheel or trackpad and reaching the end. Fixes #27013 .
...
Built from https://develop.svn.wordpress.org/trunk@27095
git-svn-id: http://core.svn.wordpress.org/trunk@26967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-05 01:10:13 +00:00
Andrew Ozz
93d3e3efb6
Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067
...
Built from https://develop.svn.wordpress.org/trunk@27085
git-svn-id: http://core.svn.wordpress.org/trunk@26958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 21:31:13 +00:00
Andrew Ozz
12b6085865
TinyMCE: don't replace <i> with <em> and <b> with <strong> and don't remove them when empty, see #24067 , see #23037 .
...
Built from https://develop.svn.wordpress.org/trunk@27083
git-svn-id: http://core.svn.wordpress.org/trunk@26956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 20:26:12 +00:00
Andrew Ozz
7b4b508b91
TinyMCE: update to 4.0.16, see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@27062
git-svn-id: http://core.svn.wordpress.org/trunk@26935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-31 18:58:15 +00:00
Andrew Ozz
314f9569e5
TinyMCE: update to 4.0.14. Remove the fix for using init.setup in old plugins, now fixed upstream. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@27060
git-svn-id: http://core.svn.wordpress.org/trunk@26933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-31 00:06:12 +00:00
Scott Taylor
0347a8944e
Update the versions of several devDependencies
in package.json
. grunt-cssjanus
has been updated to 0.2.2
, we no longer need the fork. Run npm install
to receive updates for node_modules
in the project root.
...
Props yoavf, TobiasBg.
Fixes #26073 .
Built from https://develop.svn.wordpress.org/trunk@27053
git-svn-id: http://core.svn.wordpress.org/trunk@26927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-29 04:43:30 +00:00
Andrew Ozz
6f25a990d0
TinyMCE: fix Ctrl + s shortcut (trigger autosave), see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@27052
git-svn-id: http://core.svn.wordpress.org/trunk@26926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 23:29:12 +00:00
Scott Taylor
e1759d668a
For starters, [27050] is rad. This just cleans up some extra new lines that were littered about, updates *some* of the inline docs (needs more), moves wp.media.controller.ImageDetails
closer to its parent class, and de-dupes some code in media-template.php
.
...
See #24409 .
Built from https://develop.svn.wordpress.org/trunk@27051
git-svn-id: http://core.svn.wordpress.org/trunk@26925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 23:21:13 +00:00
Andrew Ozz
33eedc570b
Introduce Edit Image (single mode) in the media modal and use it to edit images inserted in the editor. Adds new feature: replace an image in the editor. Props gcorne, see #24409 .
...
Built from https://develop.svn.wordpress.org/trunk@27050
git-svn-id: http://core.svn.wordpress.org/trunk@26924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-28 21:17:12 +00:00
Andrew Ozz
07ae13e432
TinyMCE: do not run preventDefault() on the tab key when Ctrl, Alt or Command key is also pressed. Ctrl + Tab is used to switch between browser tabs. See #24067 , fixes #17261 .
...
Built from https://develop.svn.wordpress.org/trunk@27034
git-svn-id: http://core.svn.wordpress.org/trunk@26910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 00:29:12 +00:00
Andrew Ozz
ed3145ec3d
TinyMCE: fix the compat3x plugin appending 'en.' to button titles. Set charset to UTF-8 in html_entity_decode() for translated strings. See #24067 , see #26875 .
...
Built from https://develop.svn.wordpress.org/trunk@27030
git-svn-id: http://core.svn.wordpress.org/trunk@26906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-25 01:21:13 +00:00
Andrew Ozz
b4d76115cd
TinyMCE: fix error trying to translate non-existent button "title" in the compat3x plugin. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26994
git-svn-id: http://core.svn.wordpress.org/trunk@26871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 02:29:12 +00:00
Andrew Ozz
910ec9c462
TinyMCE: add a custom jQuery event 'tinymce-editor-init' triggered on initialization of every editor instance. This makes it a lot more convenient to hook into the instance compared to the init.setup callback. See #24067 , see #26872 .
...
Built from https://develop.svn.wordpress.org/trunk@26983
git-svn-id: http://core.svn.wordpress.org/trunk@26860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-19 23:22:14 +00:00
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
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
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
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
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
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
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 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