Skip to content

Commit 65fa8ba

Browse files
authored
Merge pull request #1655 from plone/upgrade-to-61
Start Plone 6.1 upgrade guide
2 parents 64a69c6 + 680c3e4 commit 65fa8ba

File tree

2 files changed

+89
-0
lines changed

2 files changed

+89
-0
lines changed

docs/backend/upgrading/version-specific-migration/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,6 @@ upgrade-to-52
2626
upgrade-to-python3
2727
upgrade-zodb-to-python3
2828
upgrade-to-60
29+
upgrade-to-61
2930
migrate-to-volto
3031
```
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
myst:
3+
html_meta:
4+
"description": "How to upgrade to Plone 6.1"
5+
"property=og:description": "How to upgrade to Plone 6.1"
6+
"property=og:title": "How to upgrade to Plone 6.1"
7+
"keywords": "Upgrade, Plone 6"
8+
---
9+
10+
(backend-upgrade-plone-v61-label)=
11+
12+
# Upgrade Plone 6.0 to 6.1
13+
14+
Plone 6.1 has seen the following major changes.
15+
Some may require changes in your setup.
16+
17+
18+
## Drop Python 3.8 and 3.9
19+
20+
We only support Python 3.10, 3.11, and 3.12.
21+
22+
23+
## TinyMCE upgraded in Classic UI
24+
25+
In Plone 6.0, the Classic UI frontend uses TinyMCE 5, a rich text editor for websites.
26+
TinyMCE 5 reached its end of support on April 20, 2023.
27+
For Plone 6.1, Classic UI upgraded TinyMCE from version 5 to 7.
28+
29+
If you upgrade a site using Classic UI from Plone 6.0 to 6.1, you do not need to take any action, unless you implemented custom plugins, or you use a plugin which got removed or moved to premium in TinyMCE versions 6 or 7.
30+
To upgrade your plugin implementation to TinyMCE 7, see the [upgrade guides](https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#plugins).
31+
32+
33+
### Enable the TinyMCE accordion plugin
34+
35+
1. Go to the {guilabel}`Site Setup > General > TinyMCE` control panel to manage TinyMCE settings.
36+
1. Under the {guilabel}`Plugins and Toolbar` tab, check {guilabel}`accordion` to enable the accordion plugin.
37+
1. Under the same tab, add a menu entry `accordion` for TinyMCE in the control panel by editing the `items` key as shown.
38+
39+
```json
40+
{
41+
"insert": {
42+
"title": "Insert",
43+
"items": "link media | template hr | accordion"
44+
},
45+
}
46+
```
47+
48+
1. Click the {guilabel}`Save` button to save your settings.
49+
1. In the {guilabel}`Security > HTML filtering` control panel, add two new tags to {guilabel}`Valid tags`.
50+
51+
- `summary`
52+
- `details`
53+
54+
1. Also in the {guilabel}`Security > HTML filtering` control panel, add a new attribute to {guilabel}`Custom attributes`.
55+
56+
- `open`
57+
58+
1. For a transform to valid markup of the Bootstrap 5 accordion, use an output filter.
59+
60+
```{seealso}
61+
- [Addon collective.outputfilters.tinymceaccordion](https://github.com/collective/collective.outputfilters.tinymceaccordion)
62+
```
63+
64+
65+
## `z3c.form` and `plone.app.z3cform`
66+
67+
````{todo}
68+
This is a placeholder.
69+
70+
- Update deprecated imports
71+
- New widget templates
72+
73+
```{seealso}
74+
https://github.com/plone/plone.app.z3cform/pull/181
75+
```
76+
````
77+
78+
79+
## `plone.app.multilingual` is a core add-on
80+
81+
`plone.app.multilingual` is the package that adds multilingual support to Plone, allowing the storage and display of content in multiple languages.
82+
In Plone 6.0 and earlier, this was a dependency of `Products.CMFPlone`, making it available for installation in all Plone sites.
83+
In Plone 6.1 it is now a dependency of the `Plone` package.
84+
85+
If your project or your add-on needs this package, and you only depend on `Products.CMFPlone` until now, you should add `plone.app.multilingual` as a dependency.
86+
Then your project or add-on will keep working in both Plone 6.0 and 6.1.
87+
88+
The goal of turning more of the current core packages into core add-ons is to make the core smaller, and in some cases solve circular dependencies.

0 commit comments

Comments
 (0)