Skip to content

Commit 67454f0

Browse files
Feature/tinymce5update 3 releases 5.0.14 to 5.0 (#2321)
1 parent 2cd55b2 commit 67454f0

26 files changed

+115
-97
lines changed

modules/ROOT/pages/migration-from-4x.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Supports numbers and strings. Assumes strings are a valid CSS value for height.
7979
`false` by default if the `autoresize` plugin is enabled.
8080
|===
8181

82+
[[removededitorsettings]]
8283
==== Removed Editor settings
8384

8485
* The `file_browser_callback` option has been removed for TinyMCE 5. The link:{url}/docs-4x/configure/file-image-upload/#file_browser_callback[`file_browser_callback`] option was used to add a file or image browser to TinyMCE. This option was deprecated in version 4.1.0 and replaced by link:{baseurl}/configure/file-image-upload/#file_picker_callback[`file_picker_callback`].
@@ -229,6 +230,7 @@ Most themes provided with TinyMCE 4 have been removed from TinyMCE 5 and are now
229230
| Silver (link:{baseurl}/mobile/[responsive to small screen touch devices])
230231
|===
231232

233+
[[inlitethemeremoved]]
232234
=== Inlite theme removed
233235

234236
The link:{url}/docs-4x/themes/inlite/[Inlite] theme has been removed from TinyMCE 5.
@@ -248,6 +250,7 @@ The following is an example of a TinyMCE 5 quickbars configuration:
248250
----
249251
This will provide a similar but improved link:{baseurl}/general-configuration-guide/use-tinymce-distraction-free/[distraction-free] experience in TinyMCE 5.
250252

253+
[[modernthemeremoved]]
251254
=== Modern theme removed
252255

253256
The link:{url}/docs-4x/themes/modern/[Modern] theme has been removed from TinyMCE 5. The Modern theme's UI library link:{url}/docs-4x/api/tinymce.ui/[`tinymce.ui.*`] has also been removed. This change may impact integrations depending upon the level of customization.
@@ -277,6 +280,7 @@ This section covers migrating UI components to TinyMCE 5
277280
* <<customdialogs,Custom dialogs>>
278281
* <<customurldialogs,Custom URL dialogs>>
279282

283+
[[removeduiconfigurationsettings]]
280284
=== Removed UI configuration settings
281285

282286
All inline style configurations have been removed in TinyMCE 5 in favor of modern CSS. This affects all TinyMCE 4 UI component configurations.

modules/ROOT/pages/plugins/opensource/wordcount.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ The {pluginname} plugin provides the following JavaScript command.
2929

3030
include::partial$commands/{plugincode}-cmds.adoc[]
3131

32+
[[api]]
3233
== API
3334

3435
The Word Count plugin exposes an API for retrieving the word and character count of either the whole document or the current editor selection. Following is an example of how to retrieve each property.

modules/ROOT/pages/release-notes/release-notes501.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ TinyMCE 5.0.1 release adds improvements to the TinyMCE editor to improve the ove
1010

1111
== Updates and enhancements
1212

13-
The new TinyMCE 5.0.1 editor comes with significant changes to the previous versions. Tiny has created a more configurable and modern editor. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the link:{baseurl}/changelog/#version501february212019[Changelog].
13+
The new TinyMCE 5.0.1 editor comes with significant changes to the previous versions. Tiny has created a more configurable and modern editor. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the xref:changelog.adoc#version501february212019[Changelog].

modules/ROOT/pages/release-notes/release-notes5013.adoc

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ TinyMCE 5.0.13 enterprise contains all changes in the TinyMCE 5.0.10 through 5.0
1616
==== Color map support
1717

1818
TinyMCE now supports all valid HTML color formats for the `color_map` setting. For example, the following formats are now accepted:
19+
1920
* `#FF33F9`
2021
* `rgb(255, 87, 51)`
2122
* `rgba(51, 79, 255, 0.8)`
@@ -24,14 +25,14 @@ TinyMCE now supports all valid HTML color formats for the `color_map` setting. F
2425

2526
NOTE: The previous hex code color format without the "#" is still accepted as valid values.
2627

27-
For more information on the `color_map` setting, refer to the link:{baseurl}/configure/content-appearance/#color_map[documentation].
28+
For more information on the `color_map` setting, refer to the xref:configure/content-appearance.adoc#color_map[documentation].
2829

2930
== Updates and enhancements
3031

3132
=== TinyMCE
3233

3334
The updated TinyMCE 5.0.13 editor comes with numerous changes to the previous versions. A comprehensive list of the updates
34-
and fixed issues is available in the link:{baseurl}/changelog/#version5013august62019[changelog].
35+
and fixed issues is available in the xref:changelog.adoc#version5013august62019[changelog].
3536

3637
==== Accessibility improvements
3738

@@ -52,13 +53,13 @@ Contextual toolbar improvements prevent the toolbar from collapsing and overlapp
5253

5354
*Example:*
5455

55-
image::{baseurl}/images/improved-context-toolbar.png[Improved context toolbar position]
56+
image::improved-context-toolbar.png[Improved context toolbar position]
5657

5758
==== Default background and foreground colors
5859

59-
TinyMCE 5.0.13 updates the default colors defined in the link:{baseurl}/configure/content-appearance/#color_map[`color_map`] setting to include colors that are useful for both highlights and regular text.
60+
TinyMCE 5.0.13 updates the default colors defined in the xref:configure/content-appearance.adoc#color_map[`color_map`] setting to include colors that are useful for both highlights and regular text.
6061

61-
image::{baseurl}/images/color-map-updated.png[Color map]
62+
image::color-map-updated.png[Color map]
6263

6364
To use the old default colors instead of the new colors, add the following to your TinyMCE configuration:
6465

@@ -98,7 +99,7 @@ tinymce.init({
9899

99100
==== Dialog improvements
100101

101-
TinyMCE 5.0.13 has updated modal dialogs to be non-draggable by default. To re-enable draggable modals, add the link:{baseurl}/configure/editor-appearance/#draggable_modal[`draggable_modal`] setting to the TinyMCE init configuration.
102+
TinyMCE 5.0.13 has updated modal dialogs to be non-draggable by default. To re-enable draggable modals, add the xref:configure/editor-appearance.adoc#draggable_modal[`draggable_modal`] setting to the TinyMCE init configuration.
102103

103104
Draggable dialogs are now constrained to the window viewport to prevent the dialog from being dragged off-screen.
104105

@@ -109,15 +110,15 @@ content on how to use the editor when navigating via a keyboard.
109110

110111
==== Nonbreaking space plugin
111112

112-
TinyMCE 5.0.13 improves the nonbreaking space plugin by wrapping any nonbreaking space characters inserted by the plugin in a span to prevent the character being converted to a regular space while typing. To disable this behavior, add the new link:{baseurl}/plugins/opensource/nonbreaking/#nonbreaking_wrap[`nonbreaking_wrap: false`] setting to the TinyMCE init configuration.
113+
TinyMCE 5.0.13 improves the nonbreaking space plugin by wrapping any nonbreaking space characters inserted by the plugin in a span to prevent the character being converted to a regular space while typing. To disable this behavior, add the new xref:plugins/opensource/nonbreaking.adoc#nonbreaking_wrap[`nonbreaking_wrap: false`] setting to the TinyMCE init configuration.
113114

114115
==== Search and replace plugin
115116

116117
The search and replace dialog will now appear inline, instead of as a modal dialog, preventing it from overlapping the content found.
117118

118119
The dialog also comes with a new design that's better suited to an inline dialog.
119120

120-
image::{baseurl}/images/inline-search-replace-dialog.png[New search and replace dialog]
121+
image::inline-search-replace-dialog.png[New search and replace dialog]
121122

122123
When finding content, the plugin will now cycle through results instead of stopping when it reaches the top or
123124
bottom of the document.
@@ -126,7 +127,7 @@ bottom of the document.
126127

127128
*Tiny Comments* 2.1.1 addresses an issue where users could add, edit, and remove comments when the editor mode is set to xref:apis/tinymce.editormode.adoc#isReadOnly[read-only]. Comments now correctly listens to the editor mode change and disables comments when the editor is in read-only mode and re-enable when in design mode.
128129

129-
For information on *Tiny Comments* refer to the full link:{baseurl}/plugins/premium/comments/[documentation].
130+
For information on *Tiny Comments* refer to the full xref:plugins/premium/comments/index.adoc[documentation].
130131

131132
== Known issues
132133

modules/ROOT/pages/release-notes/release-notes5014.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
The autocompleter API now provides a new `reload` function to allow the autocompleter menu to reload, with potentially more or different results. This could be used for a "More..." menu item that would load more results.
1616

17-
See the autocompleter documentation for information: https://www.tiny.cloud/docs/ui-components/autocompleter/[\https://www.tiny.cloud/docs/ui-components/autocompleter/]
17+
See the autocompleter documentation for information: xref:ui-components/autocompleter.adoc[UI components - Autocompleter]
1818

1919
=== Accessibility Checker 2.1.0
2020

@@ -25,7 +25,7 @@ Two new settings have been introduced to allow developers to set the Accessibili
2525

2626
Accessibility Checker 2.1.0 provides a new streamlined design for the accessibility checker dialog:
2727

28-
image::{baseurl}/images/accessibility_checker.png[Redesigned Accessibility Checker Dialog]
28+
image::accessibility_checker.png[Redesigned Accessibility Checker Dialog]
2929

3030
NOTE: Currently, additional accessibility rules are not supported, but variations of the current rules can be checked. For example, enabling `aaa` will check the color contrast is 7:1 instead of 4.5:1.
3131

@@ -39,7 +39,7 @@ PowerPaste 5.0.2 addresses two issues where pasting an external image could caus
3939

4040
== Bug Fixes
4141

42-
For a list of bug fixes included in this release, see: https://www.tiny.cloud/docs/changelog/#version5014august192019[Changelog - Version 5.0.14]
42+
For a list of bug fixes included in this release, see: xref:changelog.adoc#version5014august192019[Changelog - Version 5.0.14]
4343

4444
== Known issues
4545

@@ -67,7 +67,7 @@ These changes solve bugs with TinyMCE table functionality behaving unexpectedly
6767

6868
Enhanced Media Embed 2.2.3 addresses an issue where embedded snippets were not created when inputting links and pressing the Enter Key in Firefox.
6969

70-
For information on Enhanced Media Embed refer to the link:{baseurl}/plugins/premium/mediaembed/[documentation].
70+
For information on Enhanced Media Embed refer to the xref:plugins/premium/mediaembed.adoc[documentation].
7171

7272
==== PowerPaste
7373

modules/ROOT/pages/release-notes/release-notes502.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,17 @@ TinyMCE 5.0.2 release adds improvements to the TinyMCE editor to improve the ove
1212

1313
=== Toolbar Drawers
1414

15-
TinyMCE 5.0.2 introduces the ability to display overflowing toolbar buttons in an extra toolbar called a "toolbar drawer". The toolbar drawer is initially hidden, and can be shown by pressing the `toolbar_drawer` icon image:{baseurl}/images/icons/more-drawer.svg[Drawer]. The button only appears if the toolbar buttons do not fit horizontally. This feature is configured using the `toolbar_drawer` configuration setting.
16-
Refer to the link:{baseurl}/configure/editor-appearance/#toolbar_drawer[toolbar_drawer] documentation for more information.
15+
TinyMCE 5.0.2 introduces the ability to display overflowing toolbar buttons in an extra toolbar called a "toolbar drawer". The toolbar drawer is initially hidden, and can be shown by pressing the `toolbar_drawer` icon image:icons/more-drawer.svg[Drawer]. The button only appears if the toolbar buttons do not fit horizontally. This feature is configured using the `toolbar_drawer` configuration setting.
16+
Refer to the xref:configure/editor-appearance.adoc#toolbar_drawer[toolbar_drawer] documentation for more information.
1717

1818
=== Checklist
1919

2020
The new TinyMCE 5.0.2 editor has the ability to add checklists to the content. The *Checklist* plugin helps the user keep track of all required actions by creating a simple, clean, and easy to use TODO list.
2121

22-
For more information on *Checklist* refer to the full link:{baseurl}/plugins/premium/checklist/[documentation].
22+
For more information on *Checklist* refer to the full xref:plugins/premium/checklist.adoc[documentation].
2323

24-
There is also a demo provided to explore the *Checklist* capabilities link:{baseurl}/demo/checklist/[here].
24+
There is also a demo provided to explore the *Checklist* capabilities xref:demo/checklist.adoc[here].
2525

2626
== Updates and enhancements
2727

28-
The new TinyMCE 5.0.2 editor comes with significant changes to the previous versions. Tiny has created a more configurable and modern editor. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the link:{baseurl}/changelog/#version502march52019[Changelog].
28+
The new TinyMCE 5.0.2 editor comes with significant changes to the previous versions. Tiny has created a more configurable and modern editor. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the xref:changelog.adoc#version502march52019[Changelog].

modules/ROOT/pages/release-notes/release-notes503.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,17 @@ TinyMCE 5.0.3 introduces the *Case Change* plugin that allows changing the case
1616

1717
Currently, there are three types of formats available:
1818

19-
image::{baseurl}/images/icons/change-case.svg[Case Change]
19+
image::icons/change-case.svg[Case Change]
2020

2121
* *lowercase* - The *lowercase* option changes all the selected characters to lowercase.
2222
* *UPPERCASE* - The *UPPERCASE* option changes all the selected characters to uppercase.
2323
* *Title Case* - The *Title Case* option changes anything other than articles, coordinating conjunctions, or short prepositions to capital letters. The default rule set for *Title Case* is based on https://titlecaseconverter.com/rules/#WP[Wikipedia Title Case].
2424

2525
To try out *Case Change* start with this link:{plugindirectory}case-change[dedicated product page] to see all the flexible pricing options.
2626

27-
For more information on *Case Change* refer to the full link:{baseurl}/plugins/premium/casechange/[documentation].
27+
For more information on *Case Change* refer to the full xref:plugins/premium/casechange.adoc[documentation].
2828

29-
There is also a demo provided to explore the *Case Change* capabilities link:{baseurl}/demo/casechange/[here].
29+
There is also a demo provided to explore the *Case Change* capabilities xref:demo/casechange.adoc[here].
3030

3131
=== TinyMCE for Swing integration
3232

@@ -38,10 +38,10 @@ To start using TinyMCE for Swing as your new rich text editor, the first step is
3838

3939
Contact link:{contactpage}[customer support] to discuss pricing options for a customized TinyMCE for Swing integration for your specific use case.
4040

41-
For more information on *TinyMCE for Swing* refer to the full link:{baseurl}/integrations/swing/[documentation].
41+
For more information on *TinyMCE for Swing* refer to the full xref:integrations/swing.adoc[documentation].
4242

4343
Refer to this https://github.com/tinymce/tinymce-swing-codesamples[GitHub repo] for examples on how to use TinyMCE for Swing.
4444

4545
== Updates and enhancements
4646

47-
The new TinyMCE 5.0.3 editor comes with significant changes to the previous versions. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the link:{baseurl}/changelog/#version503march192019[Changelog].
47+
The new TinyMCE 5.0.3 editor comes with significant changes to the previous versions. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the xref:changelog.adoc#version503march192019[Changelog].

modules/ROOT/pages/release-notes/release-notes504.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,32 @@ TinyMCE 5.0.4 release adds improvements to the TinyMCE editor to improve the ove
1212

1313
=== Tiny Drive
1414

15-
The new Tiny Drive comes with significant changes to the previous versions. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the link:{baseurl}/tinydrive/changelog/[Changelog].
15+
The new Tiny Drive comes with significant changes to the previous versions. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the xref:tinydrive/changelog.adoc[Changelog].
1616

1717
To try out *Tiny Drive* start with this https://www.tiny.cloud/drive/[dedicated product page] or check out the https://www.tiny.cloud/pricing[pricing page] to see all the flexible pricing options.
1818

19-
For more information on *Tiny Drive* refer to the full link:{baseurl}/tinydrive/[documentation].
19+
For more information on *Tiny Drive* refer to the full xref:tinydrive/index.adoc[documentation].
2020

21-
There is also a demo provided to explore the *Tiny Drive* capabilities link:{baseurl}/tinydrive/introduction/#demo[here].
21+
There is also a demo provided to explore the *Tiny Drive* capabilities xref:tinydrive/introduction.adoc#demo[here].
2222

2323
==== Tiny Drive starter projects
2424

2525
To get started quickly and understand how Tiny Drive works, Tiny has created starter projects on Github. The starter projects have their procedures to get Tiny Drive up and running.
2626

27-
For more information on *Tiny Drive starter projects*, refer to the full link:{baseurl}/tinydrive/getting-started/#starterprojects[documentation].
27+
For more information on *Tiny Drive starter projects*, refer to the full xref:tinydrive/getting-started.adoc#starterprojects[documentation].
2828

2929
=== URL dialog UI component
3030

3131
The URL dialog user interface component has been introduced in TinyMCE 5.0.4. A URL dialog is a special TinyMCE UI component which loads an external web page inside a dialog (sometimes referred to as modals). This differs from the regular dialogs that use supported components to render an interactive dialog inside the application. URL dialogs are useful for very complex use cases, where the supported dialog components cannot be used -- for example, a custom file manager that is loaded inside a TinyMCE dialog.
3232

33-
For more information on the *URL dialog*, refer to the link:{baseurl}/ui-components/urldialog/[documentation].
33+
For more information on the *URL dialog*, refer to the xref:ui-components/urldialog.adoc[documentation].
3434

3535
=== Custom sidebar toggle button
3636

3737
In TinyMCE 5.0.4, when a new sidebar is registered, a corresponding toolbar button for toggling the sidebar open and close is also created using the same name. This button can then be included in the `toolbar` settings by adding the sidebar name to the toolbar options.
3838

39-
For more information on custom sidebar, refer to the link:{baseurl}/ui-components/customsidebar/[documentation]
39+
For more information on custom sidebar, refer to the xref:ui-components/customsidebar.adoc[documentation]
4040

4141
== Updates and enhancements
4242

43-
The new TinyMCE 5.0.4 editor comes with significant changes to the previous versions. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the link:{baseurl}/changelog/#version504april232019[Changelog].
43+
The new TinyMCE 5.0.4 editor comes with significant changes to the previous versions. Improved solutions have been introduced for unnecessary and obsolete configuration options. A comprehensive list of the updates and fixed issues is available in the xref:changelog.adoc#version504april232019[Changelog].

0 commit comments

Comments
 (0)