Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Align button not showing up #141

Open
thiagomoraesp opened this issue Aug 7, 2019 · 3 comments
Open

Align button not showing up #141

thiagomoraesp opened this issue Aug 7, 2019 · 3 comments

Comments

@thiagomoraesp
Copy link

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 :)

@tonydspaniard
Copy link
Member

@thiagomoraesp can you show the resulting javascript?

@libedux
Copy link

libedux commented Aug 16, 2019

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

@thiagomoraesp
Copy link
Author

I installed a older version and it works fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants