yii2-ckeditor-widget
yii2-ckeditor-widget copied to clipboard
Align button not showing up
Hi guys, thanks for the amazing module. I'm trying to show up a text align button in my textarea with CKEDITOR, but it doesn't show up.
the code is the following: ` <?= $form->field($model, 'texto')->widget(CKEditor::className(), [
'options' => [
'rows' => 20,
],
'preset' => 'custom',
'clientOptions' => [
'height' => 400,
'toolbarGroups' => [
['name' => 'undo'],
['name' => 'styles'],
['name' => 'paragraph', 'groups' => [ 'list', 'indent', 'align' ]],
['name' => 'basicstyles', 'groups' => ['basicstyles', 'cleanup']],
],
'removeButtons' => 'Subscript,Superscript,Flash,Table,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,Styles',
'removePlugins' => 'elementspath',
'resize_enabled' => false
]
]);?>`
Others buttons all work, but the align option that i need no :'( Thank you :)
@thiagomoraesp can you show the resulting javascript?
@thiagomoraesp can you show the resulting javascript?
I have the same problem, I just removed old package, installed new one and still couldn't get the alignment work. There is no error show up on console.
I installed a older version and it works fine.