Allow to select different font styles and font sizes via CKEDITOR.

This commit is contained in:
Jan Böhmer 2022-07-29 21:22:10 +02:00
parent 08d8d1b51a
commit 62c2d98abd

View file

@ -173,6 +173,30 @@ Editor.defaultConfig = {
shouldNotGroupWhenFull: true shouldNotGroupWhenFull: true
}, },
language: 'en', language: 'en',
fontFamily: {
options: [
'default',
'DejaVu Sans Mono, monospace',
'DejaVu Sans, sans-serif',
'DejaVu Serif, serif',
'Helvetica, Arial, sans-serif',
'Times New Roman, Times, serif',
'Courier New, Courier, monospace'
],
supportAllValues: true
},
'fontSize': {
options: [
8,
11,
13,
'default',
17,
19,
21,
],
supportAllValues: true
},
image: { image: {
toolbar: [ toolbar: [
'imageTextAlternative', 'imageTextAlternative',