Skip to content

Commit 3869a5d

Browse files
committed
Grammar and MyST syntax fixes.
1 parent 9304fee commit 3869a5d

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

docs/backend/upgrading/version-specific-migration/upgrade-to-60.md

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -554,23 +554,22 @@ In that case, you are advised to add the `image_scales` column manually to the c
554554

555555
Plone 6 ships with a new version of TinyMCE.
556556
While Plone 5.2 ships with TinyMCE 4.7, Plone 6.0 ships with TinyMCE 5.10.
557-
The TinyMCE integration, pat-tinymce has also changed, but the configuration options have been almost kept the same and are likely to be compatible with your existing installation.
557+
The TinyMCE integration `pat-tinymce` has also changed, but the configuration options have been almost kept the same and are likely to be compatible with your existing installation.
558558
The configuration changes are:
559559

560-
- Added configuration options: `text.enableImageZoom`, `defaultSrcset`, `imageCaptioningEnabled`, `tiny.language`,
561-
- Removed configuration options: `imageScales`,
562-
- Option values changes for: `imageClasses`,
563-
564-
But there is more.
560+
- Added configuration options `text.enableImageZoom`, `defaultSrcset`, `imageCaptioningEnabled`, and `tiny.language`.
561+
- Removed configuration option `imageScales`.
562+
- Option values changed for `imageClasses`.
565563

566564

567565
### TinyMCE templates
568566

569-
In Plone 6 the TinyMCE template plugin is build-in and can be enabled via checkbox.
570-
While in Plone 5 you had to enable the template plugin, as an external plugin via the `custom_plugins` configuration option.
571-
The template registration is the same as before, but in Plone 6 your templates need to have a `description`, otherwise TinyMCE will throw an JavaScript error and the templates won't be usable at all.
567+
In Plone 6, the TinyMCE template plugin is built-in and can be enabled via a checkbox.
568+
Whereas in Plone 5, you had to enable the template plugin as an external plugin via the `custom_plugins` configuration option.
569+
The template registration is the same as before, but in Plone 6 your templates need to have a `description`.
570+
Otherwise TinyMCE will throw a JavaScript error, and the templates won't be usable at all.
572571

573-
This is an example `registry.xml` snippet for configuring TinyMCE with some templates:
572+
The following example {file}`registry.xml` may be used for configuring TinyMCE with some templates.
574573

575574
```xml
576575
<records interface="Products.CMFPlone.interfaces.controlpanel.ITinyMCESchema"
@@ -600,8 +599,6 @@ This is an example `registry.xml` snippet for configuring TinyMCE with some temp
600599

601600
Please make sure you write valid JSON for the `template` option.
602601

603-
604-
### More information on TinyMCE 4 to 5 migration
605-
606-
For more information on the TinyMCE 4 to 5 upgrade consult the TinyMCE upgrade guide: https://www.tiny.cloud/docs/migration-from-4x/
607-
602+
```{seealso}
603+
See also the [TinyMCE 4 to 5 upgrade guide](https://www.tiny.cloud/docs/migration-from-4x/).
604+
```

0 commit comments

Comments
 (0)