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

Not all buttons are showing in full preset mode #139

Open
Matvik opened this issue May 6, 2019 · 15 comments
Open

Not all buttons are showing in full preset mode #139

Matvik opened this issue May 6, 2019 · 15 comments

Comments

@Matvik
Copy link

Matvik commented May 6, 2019

Not all buttons are showing in full preset mode. Tried to update, current version is 2.2, but alighn and other buttons are not appering.
#133

@tonydspaniard
Copy link
Member

@Matvik can you try with the current master branch? If the current master branch code works for you, I'll tag a new version.

@ktropp
Copy link

ktropp commented May 6, 2019

I've got the same problem.

@tonydspaniard
Copy link
Member

@ktropp can you try the master branch?

@ktropp
Copy link

ktropp commented May 6, 2019

@tonydspaniard how can I do that? I am using composer.

@tonydspaniard
Copy link
Member

@ktropp use : dev-master and use minimum-stability:dev on composer.json that way you will be able to install it... (after testing, rollback to whatever it was)

@ktropp
Copy link

ktropp commented May 6, 2019

@tonydspaniard
Installing 2amigos/yii2-ckeditor-widget (dev-master 3eefd73)

Problem is still there.

@tonydspaniard
Copy link
Member

@ktropp please, provide me the code here and I'll test it. TBH ckeditor is a pain in the b***t with that full version. Thinking about using their js directly.

@ktropp
Copy link

ktropp commented May 7, 2019

@tonydspaniard

<?= $form->field($model, 'content')->widget(CKEditor::className(), [ 'options' => ['rows' => 6], 'preset' => 'full' ])->label('Article'); ?>

@Matvik
Copy link
Author

Matvik commented May 7, 2019

Tried master branch, same result. My code is:

        ->widget(CKEditor::class, [
                        'options' => ['rows' => 6],
                        'preset' => 'full',
                        'clientOptions' => [
                            'extraPlugins' => 'youtube',
                            'filebrowserUploadUrl' => Url::to(['image-upload']),
                        ],
                    ])```

@ktropp
Copy link

ktropp commented May 13, 2019

@tonydspaniard any progress?

@Matvik
Copy link
Author

Matvik commented Jun 3, 2019

Up

@lookyfess
Copy link

downgrade to "2amigos/yii2-ckeditor-widget": "2.1.1" for now

@Matvik
Copy link
Author

Matvik commented Jun 14, 2019

downgrade to "2amigos/yii2-ckeditor-widget": "2.1.1" for now

Cannot do this:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: ckeditor/ckeditor[dev-full/4.7.x, 4.11.3].
    - Can only install one of: ckeditor/ckeditor[dev-full/4.7.x, 4.11.3].
    - Can only install one of: ckeditor/ckeditor[dev-full/4.7.x, 4.11.3].
    - 2amigos/yii2-ckeditor-widget 2.1.1 requires ckeditor/ckeditor dev-full/4.7.x -> satisfiable by ckeditor/ckeditor[dev-full/4.7.x].
    - Installation request for 2amigos/yii2-ckeditor-widget 2.1.1 -> satisfiable by 2amigos/yii2-ckeditor-widget[2.1.1].
    - Installation request for ckeditor/ckeditor (locked at 4.11.3) -> satisfiable by ckeditor/ckeditor[4.11.3].

composer.json has

 "minimum-stability": "dev",
 "prefer-stable": true,

@lookyfess
Copy link

lookyfess commented Jun 14, 2019

downgrade to "2amigos/yii2-ckeditor-widget": "2.1.1" for now

Cannot do this:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Can only install one of: ckeditor/ckeditor[dev-full/4.7.x, 4.11.3].
    - Can only install one of: ckeditor/ckeditor[dev-full/4.7.x, 4.11.3].
    - Can only install one of: ckeditor/ckeditor[dev-full/4.7.x, 4.11.3].
    - 2amigos/yii2-ckeditor-widget 2.1.1 requires ckeditor/ckeditor dev-full/4.7.x -> satisfiable by ckeditor/ckeditor[dev-full/4.7.x].
    - Installation request for 2amigos/yii2-ckeditor-widget 2.1.1 -> satisfiable by 2amigos/yii2-ckeditor-widget[2.1.1].
    - Installation request for ckeditor/ckeditor (locked at 4.11.3) -> satisfiable by ckeditor/ckeditor[4.11.3].

composer.json has

 "minimum-stability": "dev",
 "prefer-stable": true,

Then try this.
First execute : 'composer remove 2amigos/yii2-ckeditor-widget' to remove completely (if you have ckeditor/ckeditor in requiere array remove it too)
Secondly execute : 'composer require 2amigos/yii2-ckeditor-widget 2.1.1' to add v2.1.1

@Matvik
Copy link
Author

Matvik commented Jan 18, 2020

It looks like problem is still here? On the new project i need downgrade too(

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

4 participants