Commit Graph

62 Commits

Author SHA1 Message Date
Andrew Ozz
25b0eedf2b TinyMCE: ensure the wordpress plugin is loaded before calling _createToolbar().
Props hauvong, azaozz. Fixes #33393.
Built from https://develop.svn.wordpress.org/trunk@33728


git-svn-id: http://core.svn.wordpress.org/trunk@33696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-25 04:38:20 +00:00
Ella Iseulde Van Dorpe
34d50e6165 TinyMCE: wplink: fix WPLinkPreview for multiple editors
Fixes #33264.

Built from https://develop.svn.wordpress.org/trunk@33584


git-svn-id: http://core.svn.wordpress.org/trunk@33551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-08-04 21:42:26 +00:00
Ella Iseulde Van Dorpe
e098c0e9ee Editor: word count: exclude more characters
Also only exclude these characters for the `words` type. They should be counted for other types.
Add the ASCIIOnly option to the uglify config to preserve escaped unicode characters.

See #30966. Fixes #27391.


Built from https://develop.svn.wordpress.org/trunk@33292


git-svn-id: http://core.svn.wordpress.org/trunk@33264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-16 09:45:26 +00:00
Andrew Ozz
8005ccff74 TinyMCE, inline link toolbar:
- Add max-width for all floating toolbars.
- Ensure the inline link toolbar doesn't exceed the width on small screen devices.
- Do not cut/concatenate the URL when it is less than 40 characters long.
- Show more of the URL if the beginning part plus the ending part are less than 40 characters long.
See #32604.
Built from https://develop.svn.wordpress.org/trunk@32937


git-svn-id: http://core.svn.wordpress.org/trunk@32908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-25 04:42:28 +00:00
Ella Iseulde Van Dorpe
d710b768eb TinyMCE: wplink: add inline toolbar
Now the URL can be viewed as soon as you put the cursor in an anchor tag. Clicking on it will open the page in a new tab. You also have the edit and remove button close at hand.

First run.
See #32604.

Built from https://develop.svn.wordpress.org/trunk@32931


git-svn-id: http://core.svn.wordpress.org/trunk@32902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-24 23:05:26 +00:00
Ella Iseulde Van Dorpe
c465640107 TinyMCE: wplink: don't link a URL with a pasted URL
Fixes #32357.


Built from https://develop.svn.wordpress.org/trunk@32817


git-svn-id: http://core.svn.wordpress.org/trunk@32788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 05:05:24 +00:00
Dominik Schilling
0810c24ff0 Merge strings that describe the same command.
props iseulde.
fixes #31776.
Built from https://develop.svn.wordpress.org/trunk@32078


git-svn-id: http://core.svn.wordpress.org/trunk@32057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 16:59:26 +00:00
Andrew Ozz
eb878043a5 wpLink: change the text label to Link text, always focus the URK field, fix Ctrl/Cmd + K shortcut. See #28206.
Built from https://develop.svn.wordpress.org/trunk@31714


git-svn-id: http://core.svn.wordpress.org/trunk@31695 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 03:01:27 +00:00
Andrew Ozz
9029c07592 wpLink: replace the "Title" field with a "Text" field and populate it with the link text when editing an existing link or with the selected text if any.
Props iseulde. See #28206.
Built from https://develop.svn.wordpress.org/trunk@31713


git-svn-id: http://core.svn.wordpress.org/trunk@31694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 02:40:27 +00:00
Andrew Ozz
d08bb970ae TinyMCE: when pasting an URL over a selection, insert a link with the URL instead of replacing the selection with it. Props iseulde. Fixes #31571.
Built from https://develop.svn.wordpress.org/trunk@31691


git-svn-id: http://core.svn.wordpress.org/trunk@31672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-09 20:00:27 +00:00
Andrew Ozz
c6afe2dd3e TinyMCE wpView:
- Cast off commands targeted to a view except undo, redo, RemoveFormat and mceToggleFormat (bold, italic, etc.).
- Disable the link and unlink buttons when a view is selected.
Props avryl, see #28595
Built from https://develop.svn.wordpress.org/trunk@29183


git-svn-id: http://core.svn.wordpress.org/trunk@28967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 00:10:17 +00:00
Andrew Ozz
f81a107cee TinyMCE: fix the "active" state of the Link button when an image wrapped in a link is selected, see #27847, for trunk.
Built from https://develop.svn.wordpress.org/trunk@28185


git-svn-id: http://core.svn.wordpress.org/trunk@28016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-22 21:11:14 +00:00
Andrew Ozz
0ee57f8f88 TinyMCE: improve setting disabled/enabled/activated states on the Unlink button, fixes #27309
Built from https://develop.svn.wordpress.org/trunk@27934


git-svn-id: http://core.svn.wordpress.org/trunk@27764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 20:05:31 +00:00
Andrew Ozz
2b697a3d84 TinyMCE: add Ctrl+K, the "de-facto standard" shortcut to open wpLink, fixes #27305
Built from https://develop.svn.wordpress.org/trunk@27449


git-svn-id: http://core.svn.wordpress.org/trunk@27295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-07 03:09:14 +00:00
Andrew Ozz
6f1668c43d TinyMCE:
- Restore the "link" button state to disabled by default and enabled when text or image is selected.
- Remove the (recently added) default `link` plugin, not needed for `wpLink`.
See #27309
Built from https://develop.svn.wordpress.org/trunk@27447


git-svn-id: http://core.svn.wordpress.org/trunk@27293 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-07 02:02:13 +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
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
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
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
bumpbot
1243f0f34c Compress scripts/styles: 3.5-alpha-21269. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:58:19 +00:00
azaozz
544b4a1a25 TinyMCE: update the keyboard shortcuts: Alt + letter for Firefox and WebKit, Alt + Shift + letter for IE and Opera, add shortcut for DFW (Alt + W), see #21214, fixes #21197, fixes #17992
git-svn-id: http://core.svn.wordpress.org/trunk@21266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-13 00:26:49 +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
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
azaozz
a4d9998ce0 Fix URL in wp-link when editing, props SergeyBiryukov, fixes #18149
git-svn-id: http://svn.automattic.com/wordpress/trunk@18474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-07-27 23:02:54 +00:00
azaozz
2d2f8d4c6f s/Colse/Close/, props nacin, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 05:07:32 +00:00
azaozz
9739cfea3c Don't close DFW when closing modal dialogs with Escape key, fixes #17399
git-svn-id: http://svn.automattic.com/wordpress/trunk@18069 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-29 02:04:52 +00:00
azaozz
65f9c441a7 Replace .attr() with .prop() as per jQuery 1.6.1. Also fixes couple places where the JS wasn't working because attr('some', '') does not remove the HTML property now, see #17311
git-svn-id: http://svn.automattic.com/wordpress/trunk@18027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 01:04:12 +00:00
azaozz
1ffb2468a5 HTML mode for Distraction Free Writing, props koopersmith, see #17136
git-svn-id: http://svn.automattic.com/wordpress/trunk@17785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-02 08:10:23 +00:00
azaozz
4f9f5f1765 Use wpLink in the HTML editor too, props koopersmith, fixes #16631
git-svn-id: http://svn.automattic.com/wordpress/trunk@17687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-23 02:12:56 +00:00
nacin
6a7411f3b0 Nonce checks for internal linking and list table ajax. fixes #16188.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-11 20:03:50 +00:00
ryan
85f1feed84 Bring out the shears.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-06 04:11:14 +00:00
nacin
a60f2f3e82 Internal linking CSS resets to fix Press This formatting. props garyc40, ocean90. see #15561.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17133 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-24 17:52:45 +00:00
nacin
7eab7be110 CSS tweaks and arrow fixes for internal linking. props ocean90, see #15739.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 17:33:41 +00:00
ryan
ad52588e82 Expand/collapse arrows for internal linking. Props ocean90. fixes #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@17117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-23 14:44:51 +00:00
ryan
8efc94bbeb RTL for wplink. Props ocean90. see #15864
git-svn-id: http://svn.automattic.com/wordpress/trunk@17105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-21 20:19:56 +00:00
ryan
51bc3b0529 Internal linking IE tweaks. Props koopersmith. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 03:13:10 +00:00
ryan
7f88c122ea Expand/collapse in internal linking. Props koopersmith, nacin. see #15739
git-svn-id: http://svn.automattic.com/wordpress/trunk@16931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-15 02:36:24 +00:00
ryan
ec858cde06 Pink trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@16927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:38:38 +00:00
ryan
0e072f2dd7 Pink trailing whites
git-svn-id: http://svn.automattic.com/wordpress/trunk@16926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-14 19:37:04 +00:00
nacin
69ca141a66 Handle posts without titles better in internal linking. see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16784 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:22:43 +00:00
nacin
e03399c715 Fix handling of no titles and long titles in internal linking. see #11240.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-06 16:28:06 +00:00
markjaquith
dc77ee14f8 Make Linking and Internal Linking keyboard-friendly and URL-paste-friendly. props koopersmith. fixes #15544
git-svn-id: http://svn.automattic.com/wordpress/trunk@16561 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-24 06:44:46 +00:00
nacin
d29759048d Use 'Update' and 'Save Link' for internal linking submit button. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 19:27:12 +00:00
nacin
384b75278c IE8 fixes for internal linking. props koopersmith, see #15485, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-20 02:02:37 +00:00
ryan
39f72f982f Fill http by default. Props koopersmith. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:59:43 +00:00
ryan
203079e963 Clear fields on refresh. Props koopersmith. see #11420
git-svn-id: http://svn.automattic.com/wordpress/trunk@16491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:54:03 +00:00
ryan
ad499c6131 wplink IE fixes. Props koopersmith. see #15485
git-svn-id: http://svn.automattic.com/wordpress/trunk@16490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 18:49:12 +00:00
nacin
8233e4f6b5 Internal linking cleanups. Fix combination of pagination and searching. Add a margin of error (ha, get it?) to triggering the river. props koopersmith, see #11420.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:31:07 +00:00