@@ -13,6 +13,48 @@ module.exports = ({ env }) => ({
1313 } ,
1414 tinymce : {
1515 enabled : true ,
16+ config : {
17+ editor : {
18+ editorConfig : {
19+ language : "fi" ,
20+ menubar : true ,
21+ extended_valid_elements : "span, img, small" ,
22+ plugins :
23+ "advlist autolink lists link image preview anchor \
24+ searchreplace visualblocks fullscreen table nonbreaking \
25+ insertdatetime media table help wordcount" ,
26+ toolbar :
27+ "undo redo | styles | bold italic forecolor backcolor | \
28+ alignleft aligncenter alignright alignjustify | \
29+ media table link|\
30+ bullist numlist outdent indent | removeformat" ,
31+ style_formats : [
32+ {
33+ title : "Headings" ,
34+ items : [
35+ { title : "h1" , block : "h1" } ,
36+ { title : "h2" , block : "h2" } ,
37+ { title : "h3" , block : "h3" } ,
38+ { title : "h4" , block : "h4" } ,
39+ { title : "h5" , block : "h5" } ,
40+ { title : "h6" , block : "h6" } ,
41+ ] ,
42+ } ,
43+
44+ {
45+ title : "Text" ,
46+ items : [
47+ { title : "Paragraph" , block : "p" } ,
48+ {
49+ title : "Paragraph with small letters" ,
50+ block : "small" ,
51+ } ,
52+ ] ,
53+ } ,
54+ ] ,
55+ } ,
56+ } ,
57+ } ,
1658 } ,
1759 transformer : {
1860 enabled : true ,
@@ -40,7 +82,7 @@ module.exports = ({ env }) => ({
4082 } ,
4183 'users-permissions' : {
4284 config : {
43- jwtSecret : env ( 'JWT_SECRET' )
85+ jwtSecret : env ( 'JWT_SECRET' )
4486 }
4587 } ,
4688 upload : {
@@ -54,3 +96,4 @@ module.exports = ({ env }) => ({
5496 } ,
5597 } ,
5698} ) ;
99+
0 commit comments