Limite grafico per immagini in CKEditor
This commit is contained in:
parent
f6635fd851
commit
184f9d4696
|
@ -16,6 +16,8 @@ class CKEditorHandler implements HandlerInterface
|
||||||
<textarea |attr|>|value|</textarea>
|
<textarea |attr|>|value|</textarea>
|
||||||
<script src="'.ROOTDIR.'/assets/dist/js/ckeditor/ckeditor.js"></script>
|
<script src="'.ROOTDIR.'/assets/dist/js/ckeditor/ckeditor.js"></script>
|
||||||
<script>
|
<script>
|
||||||
|
CKEDITOR.addCss(".cke_editable img { max-width: 100% !important; height: auto !important; }");
|
||||||
|
|
||||||
CKEDITOR.replace("'.prepareToField($values['id']).'", {
|
CKEDITOR.replace("'.prepareToField($values['id']).'", {
|
||||||
toolbar: globals.ckeditorToolbar,
|
toolbar: globals.ckeditorToolbar,
|
||||||
language: globals.locale,
|
language: globals.locale,
|
||||||
|
|
Loading…
Reference in New Issue