Andrew Ozz
d15f9617f9
wpLink:
...
- Fix adding a link on pressing Enter.
- Don't auto-focus the URL field after selecting a local link.
- Don't auto-focus the URL field when opening on touch devices. Toggle focus/blur on it to close the onscreen keyboard so the modal is positioned properly.
See #28897 .
Built from https://develop.svn.wordpress.org/trunk@29333
git-svn-id: http://core.svn.wordpress.org/trunk@29113 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-31 23:28:19 +00:00
Andrew Ozz
77599cd99b
wpLink: add keyboard navigation, improve accessibility. Props afercia, fixes #28897 .
...
Built from https://develop.svn.wordpress.org/trunk@29321
git-svn-id: http://core.svn.wordpress.org/trunk@29102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 03:16:17 +00:00
Helen Hou-Sandí
f3ede5702e
Don't interfere with browser-based autocomplete in the link modal. props SergeyBiryukov. fixes #28685 .
...
Built from https://develop.svn.wordpress.org/trunk@29301
git-svn-id: http://core.svn.wordpress.org/trunk@29083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-25 15:57:16 +00:00
Andrew Ozz
c8ce9e2815
wpLink: support whole URLs including query/fragment when pre-filling the URL field. Fixes #19992
...
Built from https://develop.svn.wordpress.org/trunk@28828
git-svn-id: http://core.svn.wordpress.org/trunk@28632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-25 00:37:15 +00:00
Sergey Biryukov
8c90ebaec7
wpLink: use simpler expressions to detect email address or URL. We are not validating user input here, just suggesting.
...
see #19992 .
Built from https://develop.svn.wordpress.org/trunk@28751
git-svn-id: http://core.svn.wordpress.org/trunk@28565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-13 21:26:15 +00:00
Andrew Ozz
15c902ea3a
wpLink: use the proper instance of the editor when looking at the selection. Move the email and URL regexp to variables. See #19992
...
Built from https://develop.svn.wordpress.org/trunk@28750
git-svn-id: http://core.svn.wordpress.org/trunk@28564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-13 21:14:16 +00:00
Scott Taylor
c6d0dcc634
When a plain URL or email address is selected in the editor and "Insert/edit link" is clicked, pre-populate the URL field with the URL or mailto:<email-address>
.
...
Props tillkruess.
Fixes #19992 .
Built from https://develop.svn.wordpress.org/trunk@28705
git-svn-id: http://core.svn.wordpress.org/trunk@28522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-09 15:35:14 +00:00
Andrew Ozz
08770f6b88
wpLink: fix spinners selectors and add some throttling when searching with AJAX while the user is typing, fixes #27615
...
Built from https://develop.svn.wordpress.org/trunk@27900
git-svn-id: http://core.svn.wordpress.org/trunk@27731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 02:27:16 +00:00
Andrew Ozz
d1008b2dfe
wpLink: bring back the Cancel link, improve responsive styles, see #26952
...
Built from https://develop.svn.wordpress.org/trunk@27510
git-svn-id: http://core.svn.wordpress.org/trunk@27353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-12 03:07:15 +00:00
Andrew Ozz
05e23f7506
wpLink: stop using UI dialog, restyle the modal, add better responsive behaviour.
...
Fix UI dialog styling to match the rest of the admin styling.
Props avryl, see #26952
Built from https://develop.svn.wordpress.org/trunk@27494
git-svn-id: http://core.svn.wordpress.org/trunk@27336 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 00:04:14 +00:00
Andrew Ozz
2726713764
Add back missing var definition in wplink.js, props TobiasBg, see #24067
...
Built from https://develop.svn.wordpress.org/trunk@27084
git-svn-id: http://core.svn.wordpress.org/trunk@26957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 21:27:12 +00:00
Sergey Biryukov
e35d675558
Add braces around conditionals. props TobiasBg. fixes #25704 .
...
Built from https://develop.svn.wordpress.org/trunk@27082
git-svn-id: http://core.svn.wordpress.org/trunk@26955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 20:17:11 +00:00
Andrew Ozz
2f6d9d37cc
Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854 .
...
Built from https://develop.svn.wordpress.org/trunk@27080
git-svn-id: http://core.svn.wordpress.org/trunk@26953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 05:31:14 +00:00
Andrew Ozz
28cd7371c4
WP_Link: convert < > and " to HTML entities when setting link title for the Text editor. Fixes #25704 .
...
Built from https://develop.svn.wordpress.org/trunk@27071
git-svn-id: http://core.svn.wordpress.org/trunk@26944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 21:12:12 +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
Sergey Biryukov
c85484e9cf
Fix typo in a comment. props kovshenin. fixes #26266 .
...
Built from https://develop.svn.wordpress.org/trunk@26418
git-svn-id: http://core.svn.wordpress.org/trunk@26318 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 21:45:09 +00:00
Andrew Nacin
fe440d71d8
Fix JSHint errors in wplink.js.
...
props jorbin.
fixes #25914 .
Built from https://develop.svn.wordpress.org/trunk@26193
git-svn-id: http://core.svn.wordpress.org/trunk@26101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 04:28:10 +00:00
Sergey Biryukov
b9387f0621
Add missing semicolon after wpLink object definition. props mt8.biz. fixes #25862 .
...
Built from https://develop.svn.wordpress.org/trunk@26033
git-svn-id: http://core.svn.wordpress.org/trunk@25962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 10:42: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
Helen Hou-Sandí
09954eb82e
Revert [25031] and [24841] - filling the internal linking search field with selected text has UX and performance issues with no resolution in sight. see #16276 .
...
Built from https://develop.svn.wordpress.org/trunk@25528
git-svn-id: http://core.svn.wordpress.org/trunk@25448 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 20:38:09 +00:00
Helen Hou-Sandí
8c67a2917a
Only set and run internal search for linking selected text if the panel is open. Make sure the focus is in the URL field whenever opening the linking modal to preserve previous behavior. props greuben. fixes #16276 .
...
Built from https://develop.svn.wordpress.org/trunk@25031
git-svn-id: http://core.svn.wordpress.org/trunk@25018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-08-15 21:44:09 +00:00
Helen Hou-Sandí
d8f819fdda
Set the default internal search value for the link dialog to be the text that is highlighted in the editor. props greuben. fixes #16276 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@24841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-07-29 01:01:33 +00:00
Mark Jaquith
cb3afeb56b
Properly uncheck the "new tab" box when editing a non-new-tab link.
...
Previously, if you had just edited a new-tab link, a subsequent edit of a non-new-tab link would mistakenly keep the checkbox checked.
props sc0ttkclark. fixes #24520 .
git-svn-id: http://core.svn.wordpress.org/trunk@24419 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-06-06 16:49:25 +00:00
Andrew Nacin
a41d51a765
Fix internal linking dialog conflicts with jQuery UI 1.10.x. Syncs jQuery UI CSS styles.
...
Remaining issue will be fixed in 1.10.2 final.
props ocean90.
see #23370 .
git-svn-id: http://core.svn.wordpress.org/trunk@23515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-28 17:54:00 +00:00
Andrew Nacin
1acd8b556f
New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
...
Be on the lookout for weirdness.
props lessbloat. see #21456 .
git-svn-id: http://core.svn.wordpress.org/trunk@22019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:57:44 +00:00
Andrew Nacin
2710bcade1
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: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
bumpbot
63df9ad5e0
Compress scripts/styles: 3.5-alpha-21309.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:58:26 +00:00
bumpbot
7492250354
Compress scripts/styles: 3.4-beta1-20429.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-11 00:58:23 +00:00
bumpbot
32e1568691
Compress scripts/styles: 3.4-alpha-20343.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20343 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-02 22:58:19 +00:00
nacin
72b44daa02
preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@19460 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-28 16:37:46 +00:00
nacin
f186494c9a
Cache internal linking nonce jQuery object. props mitchoyoshitaka. Update this nonce through autosave. fixes #18403 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@18820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-09-29 21:39:55 +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