Added 9pt and 11pt to the list of font sizes in HTML editor

pull/5742/merge
Aleksander Machniak 7 years ago
parent 264da42fa5
commit eb91daf00d

@ -78,6 +78,7 @@ CHANGELOG Roundcube Webmail
- Fix PHP Warning: exif_read_data(...): Illegal IFD size (#6169) - Fix PHP Warning: exif_read_data(...): Illegal IFD size (#6169)
- Enigma: Fix key generation in Safari by upgrade to OpenPGP 2.6.2 (#6149) - Enigma: Fix key generation in Safari by upgrade to OpenPGP 2.6.2 (#6149)
- Fix security issue in remote content blocking on HTML image and style tags (#6178) - Fix security issue in remote content blocking on HTML image and style tags (#6178)
- Added 9pt and 11pt to the list of font sizes in HTML editor
RELEASE 1.3.4 RELEASE 1.3.4
------------- -------------

@ -47,6 +47,7 @@ function rcube_text_editor(config, id)
statusbar: false, statusbar: false,
toolbar_items_size: 'small', toolbar_items_size: 'small',
extended_valid_elements: 'font[face|size|color|style],span[id|class|align|style]', extended_valid_elements: 'font[face|size|color|style],span[id|class|align|style]',
fontsize_formats: '8pt 9pt 10pt 11pt 12pt 14pt 18pt 24pt 36pt',
relative_urls: false, relative_urls: false,
remove_script_host: false, remove_script_host: false,
convert_urls: false, // #1486944 convert_urls: false, // #1486944

@ -919,7 +919,7 @@ function rcmail_user_prefs($current = null)
$field_id = 'rcmfd_default_font_size'; $field_id = 'rcmfd_default_font_size';
$select_default_font_size = new html_select(array('name' => '_default_font_size', 'id' => $field_id)); $select_default_font_size = new html_select(array('name' => '_default_font_size', 'id' => $field_id));
$fontsizes = array('', '8pt', '10pt', '12pt', '14pt', '18pt', '24pt', '36pt'); $fontsizes = array('', '8pt', '9pt', '10pt', '11pt', '12pt', '14pt', '18pt', '24pt', '36pt');
foreach ($fontsizes as $size) { foreach ($fontsizes as $size) {
$select_default_font_size->add($size, $size); $select_default_font_size->add($size, $size);
} }

Loading…
Cancel
Save