Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Start Plone 6.1 upgrade guide #1655

Merged
merged 15 commits into from
May 5, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/backend/upgrading/version-specific-migration/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@ upgrade-to-52
upgrade-to-python3
upgrade-zodb-to-python3
upgrade-to-60
upgrade-to-61
migrate-to-volto
```
71 changes: 71 additions & 0 deletions docs/backend/upgrading/version-specific-migration/upgrade-to-61.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
myst:
html_meta:
"description": "How to upgrade to Plone 6.1"
"property=og:description": "How to upgrade to Plone 6.1"
"property=og:title": "How to upgrade to Plone 6.1"
"keywords": "Upgrade, Plone 6"
---

(backend-upgrade-plone-v61-label)=

# Upgrade Plone 6.0 to 6.1

Plone 6.1 has seen the following major changes.
Some may require changes in your setup.


## TinyMCE upgraded in Classic UI

In Plone 6.0, the Classic UI frontend uses TinyMCE 5, a rich text editor for websites.
TinyMCE 5 reached its end of support on April 20, 2023.
For Plone 6.1, Classic UI upgraded TinyMCE from version 5 to 7.

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.
To upgrade your plugin implementation to TinyMCE 7, see the [upgrade guides](https://www.tiny.cloud/docs/tinymce/6/migration-from-5x/#plugins).


### Enable the TinyMCE accordion plugin

1. Go to the {guilabel}`Site Setup > General > TinyMCE` control panel to manage TinyMCE settings.
1. Under the {guilabel}`Plugins and Toolbar` tab, check {guilabel}`accordion` to enable the accordion plugin.
1. Under the same tab, add a menu entry `accordion` for TinyMCE in the control panel by editing the `items` key as shown.

```json
{
"insert": {
"title": "Insert",
"items": "link media | template hr | accordion"
},
}
```

1. Click the {guilabel}`Save` button to save your settings.
1. In the {guilabel}`Security > HTML filtering` control panel, add two new tags to {guilabel}`Valid tags`.

- `summary`
- `details`

1. Also in the {guilabel}`Security > HTML filtering` control panel, add a new attribute to {guilabel}`Custom attributes`.

- `open`

1. For a transform to valid markup of the Bootstrap 5 accordion, use an output filter.

```{seealso}
- [Addon collective.outputfilters.tinymceaccordion](https://github.com/collective/collective.outputfilters.tinymceaccordion)
```


## `z3c.form` and `plone.app.z3cform`

````{todo}
This is a placeholder.

- Update deprecated imports
- New widget templates

```{seealso}
https://github.com/plone/plone.app.z3cform/pull/181
```
````
2 changes: 1 addition & 1 deletion submodules/plone.api