Andrew Ozz
ee8813606d
TinyMCE: fix adding of too many undo levels for wpviews. The HTML changes several times when a wpview is added. We only want one undo level. Also fixes cases when the cursor is next to an embeddable URL in the Text tab and the user switches to the Visual tab.
...
See #45307 .
Built from https://develop.svn.wordpress.org/trunk@45631
git-svn-id: http://core.svn.wordpress.org/trunk@45442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-12 03:25:55 +00:00
Andrew Ozz
969699260d
TinyMCE: fix flickering inline toolbar when showing a tooltip. Take two.
...
Fixes #44911 .
Built from https://develop.svn.wordpress.org/trunk@45620
git-svn-id: http://core.svn.wordpress.org/trunk@45431 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-11 18:18:58 +00:00
Andrew Ozz
4a273484f3
TinyMCE: fix flickering inline toolbar when hovering over the buttons there and the vertical scrollbar is not shown (the page height is less than the window height). Improves/removes the previous fix for similar flickering but only in RTL, see #42018 .
...
Props joakimsilfverberg, mukesh27, kokers, Howdy_McGee, noisysocks, azaozz.
Fixes #44911 .
Built from https://develop.svn.wordpress.org/trunk@45610
git-svn-id: http://core.svn.wordpress.org/trunk@45421 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-09 01:11:55 +00:00
Gary Pendergast
4803fc405e
Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments
violations in wp-includes
.
...
See #47632 .
Built from https://develop.svn.wordpress.org/trunk@45590
git-svn-id: http://core.svn.wordpress.org/trunk@45401 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-07-02 23:42:58 +00:00
Andrew Ozz
762b49653a
Update TinyMCE to 4.9.4. Changelog: https://github.com/tinymce/tinymce/blob/4.x/changelog.txt .
...
Fixes #47229 for trunk.
Built from https://develop.svn.wordpress.org/trunk@45316
git-svn-id: http://core.svn.wordpress.org/trunk@45127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-05-15 23:45:52 +00:00
Andrew Ozz
7ab495bfed
TinyMCE:
...
- Fix adding the keyboard shortcuts to all button tooltips in the classic editor and classic block.
- Fix translating the aria labels for all buttons.
Fixes #35710 ;
Built from https://develop.svn.wordpress.org/trunk@45066
git-svn-id: http://core.svn.wordpress.org/trunk@44875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-29 00:49:51 +00:00
Andrew Ozz
cd01464b52
TinyMCE: fix the TinyMCE help modal keyboard shortcut on Mac for the classic editor and classic block.
...
Fixes #45791 .
Built from https://develop.svn.wordpress.org/trunk@44913
git-svn-id: http://core.svn.wordpress.org/trunk@44744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-15 21:43:50 +00:00
Andrew Ozz
f03ccf6813
TinyMCE: remove the reference to skin.min.css.map
from skin.min.css
. Fixes an unneeded 404 request.
...
Fixes #46533 .
Built from https://develop.svn.wordpress.org/trunk@44911
git-svn-id: http://core.svn.wordpress.org/trunk@44742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-15 19:32:50 +00:00
Andrew Ozz
df681b2ee0
TinyMCE: fix editor height when loaded hidden.
...
Props nnikolov, azaozz.
Fixes #45461 .
Built from https://develop.svn.wordpress.org/trunk@44832
git-svn-id: http://core.svn.wordpress.org/trunk@44664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-03-12 20:14:52 +00:00
Andrew Ozz
02adaaf90c
TinyMCE: fix external references in wpview
and wpemoji
plugins in the Classic Block instance when running from /build
.
...
Fixes #46147 .
Built from https://develop.svn.wordpress.org/trunk@44718
git-svn-id: http://core.svn.wordpress.org/trunk@44549 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-30 14:12:52 +00:00
Andrew Ozz
6a5df4271f
TinyMCE: update alternative icon fonts for older browsers after [44713].
...
See #46094 .
Built from https://develop.svn.wordpress.org/trunk@44716
git-svn-id: http://core.svn.wordpress.org/trunk@44547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-30 10:07:50 +00:00
Ella Iseulde Van Dorpe
2ce767141a
TinyMCE: Update to 4.9.2
...
https://github.com/tinymce/tinymce-dist/compare/4.8.0...4.9.2
Fixes #46094 .
Built from https://develop.svn.wordpress.org/trunk@44713
git-svn-id: http://core.svn.wordpress.org/trunk@44544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-29 20:19:51 +00:00
Andrew Ozz
c31e8cf756
TinyMCE Classic Block: fix repositioning of the inline toolbar on scrolling.
...
Props iseulde, azaozz.
Fixes #46062 .
Built from https://develop.svn.wordpress.org/trunk@44697
git-svn-id: http://core.svn.wordpress.org/trunk@44528 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-24 11:24:50 +00:00
Andrew Ozz
a6e8abca83
TinyMCE Classic Block: fix the Advanced Link modal (accessible when clicking on the cogwheel in the inline link modal in a Classic Block).
...
Fixes #46071 .
Built from https://develop.svn.wordpress.org/trunk@44696
git-svn-id: http://core.svn.wordpress.org/trunk@44527 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-24 11:21:50 +00:00
Andrew Ozz
6bd203bb50
TinyMCE Classic Block: fix the Edit Image modal to work as in the Classic Editor.
...
Fixes #46085 .
Built from https://develop.svn.wordpress.org/trunk@44695
git-svn-id: http://core.svn.wordpress.org/trunk@44526 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-24 11:11:51 +00:00
Andrew Ozz
b7897c5761
TinyMCE: retire wp-tinymce.php and remove pre-compression of wp-tinymce.js.
...
Fixes #45645 .
Built from https://develop.svn.wordpress.org/trunk@44651
git-svn-id: http://core.svn.wordpress.org/trunk@44482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-01-18 19:51:53 +00:00
Sergey Biryukov
6ffafa5bc7
TinyMCE: Fix the keyboard shortcut (Alt+Shift+H) to not open the default Block Editor help modal and change the title of the help modal to "Classic Block Keyboard Shortcuts" in the Classic BLock. Also remove Alt+Shift+Z in the Classic Block as it conflicts with the Block Editor.
...
Props azaozz.
Merges [43915] to trunk.
Fixes #45365 .
Built from https://develop.svn.wordpress.org/trunk@44257
git-svn-id: http://core.svn.wordpress.org/trunk@44087 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:32:21 +00:00
Sergey Biryukov
e8cbdf9405
Block Editor: Fix the TinyMCE wordpress
plugin to handle hiding/showing of toolbars in the classic block. Change the classic block toolbar to use the (now fixed) wp_adv
button.
...
Props azaozz.
Merges [43889] and [43890] to trunk.
Fixes #45264 .
Built from https://develop.svn.wordpress.org/trunk@44247
git-svn-id: http://core.svn.wordpress.org/trunk@44077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-12-17 03:23:55 +00:00
Andrew Ozz
5bbb3b38d9
TinyMCE: remove stray CSS map reference from skin.min.css
.
...
Props: pross.
Fixes #44785 .
Built from https://develop.svn.wordpress.org/trunk@43581
git-svn-id: http://core.svn.wordpress.org/trunk@43410 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-08-20 15:09:24 +00:00
Andrew Ozz
26ca877782
TinyMCE: update to 4.8.0, changelog: https://www.tiny.cloud/docs/changelog/#version480july112018
...
Fixes #44134 .
Built from https://develop.svn.wordpress.org/trunk@43447
git-svn-id: http://core.svn.wordpress.org/trunk@43274 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-07-16 08:07:26 +00:00
Andrew Ozz
62bb0dcafd
TinyMCE: prevent creation of paragraphs from multiple HTML comments when wpautop
is disabled.
...
Fixes #44308 .
Built from https://develop.svn.wordpress.org/trunk@43336
git-svn-id: http://core.svn.wordpress.org/trunk@43164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-06-28 02:25:32 +00:00
Andrew Ozz
c5d13c5934
Privacy: change how the default text for privacy policy is added:
...
- Insert both the text and tutorial in new policy pages and highlight is brightly in the editor.
- Show only the suggested text in the policy postbox.
Props melchoyce, azaozz.
See #43473 .
Built from https://develop.svn.wordpress.org/trunk@43146
git-svn-id: http://core.svn.wordpress.org/trunk@42975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-05-03 17:13:21 +00:00
Andrew Ozz
c21c4e25b3
Privacy: add default text for a privacy policy. First run.
...
Props xkon, idea15, allendav, azaozz.
See #43473 .
Built from https://develop.svn.wordpress.org/trunk@43044
git-svn-id: http://core.svn.wordpress.org/trunk@42873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-30 14:47:21 +00:00
Ella Iseulde Van Dorpe
6e215cae48
TinyMCE: Update to 4.7.11
...
Built from https://develop.svn.wordpress.org/trunk@43004
git-svn-id: http://core.svn.wordpress.org/trunk@42833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-04-25 22:35:21 +00:00
Andrea Fercia
a7c89d5761
Administration: CSS coding standards: use double quotes for values that require quotes.
...
As per the WordPress CSS coding standards, CSS properties with values that require quotes must use double quotes.
Also fixes some indentation and spacing.
Fixes #43220 .
Built from https://develop.svn.wordpress.org/trunk@42641
git-svn-id: http://core.svn.wordpress.org/trunk@42470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-02-03 13:19:32 +00:00
Andrew Ozz
84cdc05c58
TinyMCE: backport bug fixes to NotificationManager
and WindowManager
from d1877933fa (diff-2e5c98d81ce2481aa1042b2320728b65)
and to MultiRange
from 250675bb7b
.
...
Props peterwilsoncc, azaozz.
Fixes #42722 for trunk, see #43012 .
Built from https://develop.svn.wordpress.org/trunk@42576
git-svn-id: http://core.svn.wordpress.org/trunk@42405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-23 19:35:31 +00:00
Sergey Biryukov
3b73ac9eb3
Editor: Use explicit context instead of a trailing space for Edit
string in TinyMCE plugins.
...
Props scottlee, ayubadiputra, NathanAtmoz.
Fixes #42543 .
Built from https://develop.svn.wordpress.org/trunk@42523
git-svn-id: http://core.svn.wordpress.org/trunk@42352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-17 06:28:30 +00:00
Andrea Fercia
4e5215deec
Editor: Link suggestions: add fallback title for posts with no title.
...
Fixes #42664 .
Built from https://develop.svn.wordpress.org/trunk@42425
git-svn-id: http://core.svn.wordpress.org/trunk@42256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2018-01-02 18:11:52 +00:00
Gary Pendergast
aaf99e6913
Code is Poetry.
...
WordPress' code just... wasn't.
This is now dealt with.
Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057 .
Built from https://develop.svn.wordpress.org/trunk@42343
git-svn-id: http://core.svn.wordpress.org/trunk@42172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-30 23:11:00 +00:00
Weston Ruter
5749295a59
Editor: Re-build tinymce.min.js
after [42191].
...
See #42553 .
Built from https://develop.svn.wordpress.org/trunk@42193
git-svn-id: http://core.svn.wordpress.org/trunk@42023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-11-15 23:35:49 +00:00
Ella Iseulde Van Dorpe
abc1579a42
TinyMCE: Set undefined FloatPanel zIndex
...
See [40995] for the Customizer.
Fixes #42322 .
Built from https://develop.svn.wordpress.org/trunk@41993
git-svn-id: http://core.svn.wordpress.org/trunk@41827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-24 16:52:56 +00:00
Weston Ruter
9093718b15
Editor: Specify maxwidth
in parse-embed
requests based on width of editor iframe so that TinyMCE view embeds fit, particularly in Text widgets.
...
See #40854 , #34115 .
Built from https://develop.svn.wordpress.org/trunk@41985
git-svn-id: http://core.svn.wordpress.org/trunk@41819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-10-24 04:07:50 +00:00
Andrew Ozz
8fc05d8fba
TinyMCE: fix "flickering inline toolbar" in Chrome in RTL mode by not showing tooltips while an inline toolbar is shown.
...
Fixes #42018 .
Built from https://develop.svn.wordpress.org/trunk@41643
git-svn-id: http://core.svn.wordpress.org/trunk@41477 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-29 14:25:47 +00:00
Andrew Ozz
b32256701a
TinyMCE: update to 4.6.7, changelog: https://www.tinymce.com/docs/changelog/#version467september182017 .
...
Fixes #41996 #40956
Built from https://develop.svn.wordpress.org/trunk@41604
git-svn-id: http://core.svn.wordpress.org/trunk@41439 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-26 21:15:47 +00:00
Dominik Schilling
c2ead9d046
Editor: Prevent adding javascript:
and data:
URLs through the inline link dialog.
...
Built from https://develop.svn.wordpress.org/trunk@41393
git-svn-id: http://core.svn.wordpress.org/trunk@41226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-09-19 08:01:45 +00:00
Andrew Ozz
c56801657a
TinyMCE: fix cases where an additional empty link is created while updating an image with a link.
...
Props spocke.
Fixes #41259 .
Built from https://develop.svn.wordpress.org/trunk@41319
git-svn-id: http://core.svn.wordpress.org/trunk@41150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-26 16:34:46 +00:00
Andrew Ozz
b1d28c5e90
TinyMCE: Add the default link
plugin without enabling it. This makes it easy for WordPress plugins to use it at places where wplink
is not suitable, for example when initializing the editor from JS.
...
Props turtlepod.
Fixes #41590 .
Built from https://develop.svn.wordpress.org/trunk@41259
git-svn-id: http://core.svn.wordpress.org/trunk@41099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-08-17 21:04:45 +00:00
Weston Ruter
4042c0b416
TinyMCE: Fix styling of selected state for linked images containing captions.
...
Props azaozz.
Fixes #41408 .
Built from https://develop.svn.wordpress.org/trunk@41141
git-svn-id: http://core.svn.wordpress.org/trunk@40981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-25 02:19:42 +00:00
Andrew Ozz
a798266ba3
TinyMCE: remove unused code from the wpeditimage
plugin.
...
Fixes #41369 .
Built from https://develop.svn.wordpress.org/trunk@41092
git-svn-id: http://core.svn.wordpress.org/trunk@40932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-19 13:41:46 +00:00
Andrew Ozz
8c47285f4e
TinyMCE: fix adding the <!-- more -->
tag when the editor is inline.
...
Props iseulde.
Fixes #41230 .
Built from https://develop.svn.wordpress.org/trunk@40996
git-svn-id: http://core.svn.wordpress.org/trunk@40846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-03 21:41:41 +00:00
Andrew Ozz
16167ffe41
Text widget: bump the TinyMCE modals z-index to 500001 so they show in the Customizer.
...
Props greuben.
Fixes #41158 for trunk.
Built from https://develop.svn.wordpress.org/trunk@40990
git-svn-id: http://core.svn.wordpress.org/trunk@40840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-07-01 20:33:41 +00:00
Andrew Ozz
9799bf93f5
TinyMCE: update to 4.6.3. Fixes few more edge cases with link boundaries. Changelog: https://www.tinymce.com/docs/changelog/#version463-may302017
...
Fixes #40890 .
Built from https://develop.svn.wordpress.org/trunk@40856
git-svn-id: http://core.svn.wordpress.org/trunk@40707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-30 23:35:41 +00:00
Andrew Ozz
5136fe6ca6
TinyMCE: update to the TINY-1079 (latest) branch. Fixes several edge cases including the errors thrown when moving the caret with the arrow keys around nested <a><code>
elements.
...
Fixes #40874 #40868 .
Built from https://develop.svn.wordpress.org/trunk@40848
git-svn-id: http://core.svn.wordpress.org/trunk@40699 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-27 02:09:45 +00:00
Andrew Ozz
a8309f80c3
TinyMCE: update to 4.6.2. Changelog: https://www.tinymce.com/docs/changelog/#version462-may232017 .
...
Fixes #40859 #40756 .
Built from https://develop.svn.wordpress.org/trunk@40834
git-svn-id: http://core.svn.wordpress.org/trunk@40685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-25 01:14:43 +00:00
Andrew Ozz
a89f203b21
TinyMCE: fix selecting the link node after creating a link by pasting an URL.
...
Props iseulde.
Fixes #40818 .
Built from https://develop.svn.wordpress.org/trunk@40801
git-svn-id: http://core.svn.wordpress.org/trunk@40659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-19 18:55:44 +00:00
Andrew Ozz
b398ccf2a1
TinyMCE: fix pasting while an image with caption is selected. The image and the caption should be replaced with the pasted content.
...
Fixes #40809 .
Built from https://develop.svn.wordpress.org/trunk@40786
git-svn-id: http://core.svn.wordpress.org/trunk@40644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-18 22:25:41 +00:00
Matias Ventura
aee7e6a1bf
TinyMCE: Provide styles for link and code boundaries.
...
The new version of TinyMCE introduces a cursor-boundary feature for some formatting elements but, by default, it does not provide much in the way of styles. This tweaks their appearance in the WordPress custom skin to match the intended design of the feature.
Props joen.
Fixes #40767 .
Built from https://develop.svn.wordpress.org/trunk@40783
git-svn-id: http://core.svn.wordpress.org/trunk@40641 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-18 17:52:42 +00:00
Andrew Ozz
6f4a1049a8
TinyMCE: do not override line-height
for paragraphs and headings in 4.6+, makes them hard to read.
...
Fixes #40743 .
Built from https://develop.svn.wordpress.org/trunk@40654
git-svn-id: http://core.svn.wordpress.org/trunk@40517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-12 18:06:40 +00:00
Andrew Ozz
8c46657c9d
TinyMCE: update to 4.6.1. Changelog: https://www.tinymce.com/docs/changelog/#version461-may102017
...
Fixes #40727 .
Built from https://develop.svn.wordpress.org/trunk@40645
git-svn-id: http://core.svn.wordpress.org/trunk@40506 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-11 23:12:40 +00:00
Andrew Ozz
da92cce494
TinyMCE: prevent removing of the temp link element when opening the advanced link dialog to insert new link.
...
Part props figureone for finding the cause.
Fixes #40558 .
Built from https://develop.svn.wordpress.org/trunk@40644
git-svn-id: http://core.svn.wordpress.org/trunk@40505 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2017-05-11 23:04:40 +00:00