Skip to content

Commit 191eb53

Browse files
committed
Add a description to use the TinyMCE accordion plugin
1 parent a966bb9 commit 191eb53

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

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

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,37 @@ For Plone 6.1, TinyMCE has been upgraded from version 5 to 7.
2525
- [How to upgrade TinyMCE 5 to TinyMCE 6](https://www.tiny.cloud/blog/upgrade-to-tinymce-6/)
2626
- [Upgrading TinyMCE](https://www.tiny.cloud/docs/tinymce/latest/upgrading/)
2727
```
28+
29+
### Enable the TinyMCE accordion plugin
30+
31+
Go to the controlpanel to manage TinyMCE settings
32+
33+
Enable the Plugin in the controlpanel
34+
35+
Add a menu entry `accordion` for TinyMCE in the controlpanel
36+
37+
```{code-block} json
38+
{
39+
"insert": {
40+
"title": "Insert",
41+
"items": "link media | template hr | accordion"
42+
},
43+
}
44+
```
45+
46+
Check your settings in the HTML filter controlpanel
47+
48+
add two new tags to `valid tags`
49+
50+
- `summary`
51+
- `details`
52+
53+
add a new attribute to `custom_attributes`
54+
55+
- `open`
56+
57+
for a transform to valid bootstrap5 accordion markup use an outputfilter
58+
59+
```{seealso}
60+
- [Addon collective.outputfilters.tinymceaccordion](https://github.com/collective/collective.outputfilters.tinymceaccordion)
61+
```

0 commit comments

Comments
 (0)