https://github.com/undeman/yii2-summernote
aber ich schaffe es nicht, die Symbolleistenoptionen hinzuzufügen, die in der Summernote-Dokumentation angezeigt werden:
http://summernote.org/deep-dive/
So geht's Ich versuche es zu verwenden es, aber wenn ich jemals die Symbolleistenoption hinzufüge, verschwindet die Symbolleiste.
Code: Select all
$tabReport .= $form->field($model, 'ysk')->widget(Summernote::className(), [
'clientOptions' => [
'placeholder' => 'You can write here some important public notes to be display on top of the report...',
'minHeight' => 100,
'toolbar' => [
'style' => ['bold', 'italic', 'underline', 'clear'],
],
],
]
);