Skip to content

Commit fb7b263

Browse files
committed
Refs #470 - Replaced toolbar elements renamed in TinyMCE 6
1 parent 87648e8 commit fb7b263

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@ Changelog
33

44
This document describes changes between each past release.
55

6+
Unreleased
7+
==========
8+
9+
- Renamed toolbar elements (namely ``formatselect`` is now ``blocks``) to follow
10+
TinyMCE 6 renames (#470).
11+
612
4.0.0 (2024-03-27)
713
==================
814

docs/installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ file.
120120
"plugins": "advlist,autolink,lists,link,image,charmap,preview,anchor,"
121121
"searchreplace,visualblocks,code,fullscreen,insertdatetime,media,table,"
122122
"code,help,wordcount",
123-
"toolbar": "undo redo | formatselect | "
123+
"toolbar": "undo redo | blocks | "
124124
"bold italic backcolor | alignleft aligncenter "
125125
"alignright alignjustify | bullist numlist outdent indent | "
126126
"removeformat | help",
@@ -149,7 +149,7 @@ Example::
149149
"menubar": "file edit view insert format tools table help",
150150
"plugins": "advlist autolink lists link image charmap preview anchor searchreplace visualblocks code "
151151
"fullscreen insertdatetime media table code help wordcount",
152-
"toolbar": "undo redo | bold italic underline strikethrough | fontselect fontsizeselect formatselect | alignleft "
152+
"toolbar": "undo redo | bold italic underline strikethrough | fontfamily fontsize blocks | alignleft "
153153
"aligncenter alignright alignjustify | outdent indent | numlist bullist checklist | forecolor "
154154
"backcolor casechange permanentpen formatpainter removeformat | pagebreak | charmap emoticons | "
155155
"fullscreen preview save print | insertfile image media pageembed template link anchor codesample | "

tests/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@
8181
"plugins": "advlist,autolink,lists,link,image,charmap,preview,anchor,"
8282
"searchreplace,visualblocks,code,fullscreen,insertdatetime,media,table,"
8383
"code,help,wordcount",
84-
"toolbar": "undo redo | formatselect | "
84+
"toolbar": "undo redo | blocks | "
8585
"bold italic backcolor | alignleft aligncenter "
8686
"alignright alignjustify | bullist numlist outdent indent | "
8787
"removeformat | help",

tinymce/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"plugins": "advlist,autolink,lists,link,image,charmap,preview,anchor,"
1313
"searchreplace,visualblocks,code,fullscreen,insertdatetime,media,table,"
1414
"help,wordcount",
15-
"toolbar": "undo redo | formatselect | "
15+
"toolbar": "undo redo | blocks | "
1616
"bold italic backcolor | alignleft aligncenter "
1717
"alignright alignjustify | bullist numlist outdent indent | "
1818
"removeformat | help",

0 commit comments

Comments
 (0)