mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:04:53 +01:00
* API/CKEditor: allow link dialog in simple-with-image feature mode (email)
This commit is contained in:
parent
77c15b226c
commit
9425c1da14
@ -309,14 +309,12 @@ class egw_ckeditor_config
|
|||||||
case 'extended': default:
|
case 'extended': default:
|
||||||
$config['toolbar'][] = array('Bold','Italic','Underline');
|
$config['toolbar'][] = array('Bold','Italic','Underline');
|
||||||
$config['toolbar'][] = array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock');
|
$config['toolbar'][] = array('JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock');
|
||||||
if ($mode == 'simple-withimage') $config['toolbar'][] = array('BulletedList','NumberedList','Image'/*,'Smiley'*/,'Outdent','Indent','Undo','Redo');
|
$config['toolbar'][] = array('BulletedList','NumberedList'/*,'Smiley'*/,'Outdent','Indent','Undo','Redo');
|
||||||
else $config['toolbar'][] = $config['toolbar'][] = array('BulletedList','NumberedList'/*,'Smiley'*/,'Outdent','Indent','Undo','Redo');
|
|
||||||
$config['toolbar'][] = array('Cut','Copy','Paste','PasteText','PasteFromWord','-','Print');
|
$config['toolbar'][] = array('Cut','Copy','Paste','PasteText','PasteFromWord','-','Print');
|
||||||
|
|
||||||
if ($mode == 'extended')
|
if ($mode == 'extended')
|
||||||
{
|
{
|
||||||
$config['toolbar'][] = array('Link','Unlink','Anchor');
|
$config['toolbar'][] = array('Image','Link','Unlink','Anchor');
|
||||||
$config['toolbar'][] = array('Find', 'Replace');
|
|
||||||
if ($spellchecker_button)
|
if ($spellchecker_button)
|
||||||
$config['toolbar'][] = array('Maximize', $spellchecker_button);//, 'Image', 'Table');
|
$config['toolbar'][] = array('Maximize', $spellchecker_button);//, 'Image', 'Table');
|
||||||
else
|
else
|
||||||
@ -337,6 +335,7 @@ class egw_ckeditor_config
|
|||||||
|
|
||||||
$config['toolbar'][] = '/';
|
$config['toolbar'][] = '/';
|
||||||
$config['toolbar'][] = array('Find','Replace','-','SelectAll','RemoveFormat');
|
$config['toolbar'][] = array('Find','Replace','-','SelectAll','RemoveFormat');
|
||||||
|
if ($mode == 'simple-withimage') $config['toolbar'][] = array('Image','Link','Unlink');
|
||||||
$config['toolbar'][] = array('Format','Font','FontSize');
|
$config['toolbar'][] = array('Format','Font','FontSize');
|
||||||
$config['toolbar'][] = array('TextColor','BGColor');
|
$config['toolbar'][] = array('TextColor','BGColor');
|
||||||
$config['toolbar'][] = array('ShowBlocks','-','About');
|
$config['toolbar'][] = array('ShowBlocks','-','About');
|
||||||
|
Loading…
Reference in New Issue
Block a user