Revision d0a54101
Von Sven Schöling vor mehr als 1 Jahr hinzugefügt
SL/Presenter/Tag.pm | ||
---|---|---|
$attributes{rows} *= 1; # required by standard
|
||
$attributes{cols} *= 1; # required by standard
|
||
|
||
if (join_values(class => $attributes{class}) =~ /\btexteditor\b/) {
|
||
$::request->{layout}->add_javascripts("$_.js") for qw(ckeditor5/ckeditor ckeditor5/translations/de);
|
||
}
|
||
|
||
html_tag('textarea', $content, %attributes, name => $name);
|
||
}
|
||
|
Auch abrufbar als: Unified diff
ckeditor5: javascripte automatisch in P.textarea registrieren wenn class texteditor gesetzt ist