Projekt

Allgemein

Profil

Aktionen

GX-Task #68756

geschlossen

The configuration of the CKEditor, such as the height, should be customizable via data attributes in the HTML | Die Konfiguration des CKEditors, wie z. B. die Höhe, sollten über data-Attribute im HTML angepasst werden können

Von Moritz Bunjes vor fast 3 Jahren hinzugefügt. Vor mehr als 2 Jahren aktualisiert.

Status:
Erledigt
Priorität:
Normal
Zugewiesen an:
Mirko Janssen
Kategorie:
Adminbereich
Zielversion:
% erledigt:

0%

Steps to reproduce:
Betroffene Versionen:
4.4.0.2
Release Notes Langtext:

Die Konfiguration des CKEditors, wie z. B. die Höhe, kann jetzt über data-Attribute im HTML angepasst werden


Beschreibung

It would be good if, for example, the height of the product description editor can be changed. This is now possible using data-height="500" attribute for the textarea element (500px).

Example admin/html/compatibility/product/product_details.inc.php:79

<textarea name="<?php echo $t_textarea_name; ?>"
                          data-height="500"
                          data-editor-type="<?php echo $editorTypeProductsDescription[$language['code']]; ?>"
                          data-editor-identifier="<?php echo $editorIdentifier . 'products_description-'
                                                             . $language['code']; ?>"
                          class="wysiwyg"><?php echo htmlspecialchars($t_products_description); ?></textarea>

Aktionen

Auch abrufbar als: Atom PDF