disable rich editor for safari
This commit is contained in:
parent
acbf0f01a0
commit
11d19f8d91
2 changed files with 3 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ sub getToolbar {
|
|||
#-------------------------------------------------------------------
|
||||
sub getRichEditor {
|
||||
my $self = shift;
|
||||
return '' if $self->getValue('disableRichEditor');
|
||||
return '' if ($self->getValue('disableRichEditor') || $self->session->env->get("HTTP_USER_AGENT") =~ /Safari/);
|
||||
my $nameId = shift;
|
||||
my @toolbarRow1 = split("\n",$self->getValue("toolbarRow1"));
|
||||
push(@toolbarRow1,"contextmenu") if ($self->getValue("enableContextMenu"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue