yii2-ckeditor-widget icon indicating copy to clipboard operation
yii2-ckeditor-widget copied to clipboard

Align button not showing up

Open thiagomoraesp opened this issue 5 years ago • 3 comments

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 avatar Aug 07 '19 19:08 thiagomoraesp

@thiagomoraesp can you show the resulting javascript?

tonydspaniard avatar Aug 15 '19 14:08 tonydspaniard

@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.

libedux avatar Aug 16 '19 20:08 libedux

I installed a older version and it works fine.

thiagomoraesp avatar Aug 27 '19 14:08 thiagomoraesp