Skip to content

Commit ba0fb2d

Browse files
committed
Convert narrative to an enumerated list of steps, add guilabel MyST markup
1 parent 191eb53 commit ba0fb2d

File tree

1 file changed

+21
-24
lines changed

1 file changed

+21
-24
lines changed

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

Lines changed: 21 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -28,34 +28,31 @@ For Plone 6.1, TinyMCE has been upgraded from version 5 to 7.
2828

2929
### Enable the TinyMCE accordion plugin
3030

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

33-
Enable the Plugin in the controlpanel
35+
```json
36+
{
37+
"insert": {
38+
"title": "Insert",
39+
"items": "link media | template hr | accordion"
40+
},
41+
}
42+
```
3443

35-
Add a menu entry `accordion` for TinyMCE in the controlpanel
44+
1. Click the {guilabel}`Save` button to save your settings.
45+
1. In the {guilabel}`Security > HTML filtering` control panel, add two new tags to {guilabel}`Valid tags`.
3646

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`
47+
- `summary`
48+
- `details`
4949

50-
- `summary`
51-
- `details`
50+
1. Also in the {guilabel}`Security > HTML filtering` control panel, add a new attribute to {guilabel}`Custom attributes`.
5251

53-
add a new attribute to `custom_attributes`
52+
- `open`
5453

55-
- `open`
54+
1. For a transform to valid markup of the Bootstrap 5 accordion, use an output filter.
5655

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-
```
56+
```{seealso}
57+
- [Addon collective.outputfilters.tinymceaccordion](https://github.com/collective/collective.outputfilters.tinymceaccordion)
58+
```

0 commit comments

Comments
 (0)