Hallo,

ich habe

PHP-Code:
<?php $this->extend('be_tinyMCE'); ?>

<?php $this->block('custom'); ?>
    paste_as_text: true,
    visualblocks_default_state: true,
    extended_valid_elements: 'q[cite|class|title],ion-icon[name],article,section,hgroup,figure,figcaption,span[class],i[class]/em,i[class]',
    toolbar: 'link unlink | image | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | undo redo | code',
    style_formats: [
    { title: 'Blockelemente', items: [
        { title: 'Absatz', format: 'p' },
        { title: 'Blockquote', format: 'blockquote' },
        { title: 'Überschrift 1', format: 'h1' },
        { title: 'Überschrift 2', format: 'h2' },
        { title: 'Überschrift 3', format: 'h3' },
        { title: 'Überschrift 4', format: 'h4' },
        { title: 'Überschrift 5', format: 'h5' },
        { title: 'Überschrift 6', format: 'h6' }
    ]},
    { title: 'individuelle Styles', items: [
        { title: 'Blockquote', selector: 'blockquote', classes: 'blockquote' },
    ]},
    ],
<?php $this->endblock(); ?>
nun würde ich gerne bei Auswahl von Blockquote sogleich eine Klasse mit hinzugefügt bekommen.
Der weitere Schritt über 'individuelle Styles' sollte damit wegfallen.

Wunsch:
Code:
<blockquote class="blockquote">
Das funktioniert nicht:
HTML-Code:
{ title: 'Blockquote', format: 'blockquote', classes: 'blockquote' },
oder
{ title: 'Blockquote', format: 'blockquote.blockquote' },
Ist das überhaupt möglich? Falls JA, kann mir hier jemand weiterhelfen?
vielen Dank schon mal