Yii2 Summernote-Widget stellt Symbolleistenoptionen ein

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Yii2 Summernote-Widget stellt Symbolleistenoptionen ein

by Guest » 03 Jan 2025, 09:43

Ich implementieren die Summernote in Yii2, verzerrt durch marqu3s\summernote\Summernote;
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'],
],
],
]
);
Irgendwelche Hinweise?

Top