Skip to content

Commit b147f61

Browse files
committed
optimize TinyMCE upgrade notes.
1 parent 1d8d435 commit b147f61

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

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

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ In that case, you are advised to add the `image_scales` column manually to the c
553553
## New version of TinyMCE
554554

555555
Plone 6 ships with a new version of TinyMCE.
556-
While Mockup for Plone 5.2 ships with TinyMCE 4.7 Plone 6.0 ships with TinyMCE 5.10.
556+
While Plone 5.2 ships with TinyMCE 4.7, Plone 6.0 ships with TinyMCE 5.10.
557557
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

@@ -566,8 +566,9 @@ But there is more.
566566

567567
### TinyMCE templates
568568

569-
While in Plone 5 you had to enable the template plugin (which was already shipped but not exposed to the UI) via the `custom_plugins` configuration option, Plone 6 has this option built-in.
570-
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.
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.
571572

572573
This is an example `registry.xml` snippet for configuring TinyMCE with some templates:
573574

@@ -600,11 +601,6 @@ This is an example `registry.xml` snippet for configuring TinyMCE with some temp
600601
Please make sure you write valid JSON for the `template` option.
601602

602603

603-
### Custom Plugins
604-
605-
TODO
606-
607-
608604
### More information on TinyMCE 4 to 5 migration
609605

610606
For more information on the TinyMCE 4 to 5 upgrade consult the TinyMCE upgrade guide: https://www.tiny.cloud/docs/migration-from-4x/

0 commit comments

Comments
 (0)