2amigos / yii2-ckeditor-widget

CKEditor WYSIWYG widget for Yii2.
https://2amigos.us/open-source/ckeditor-widget
Other
172 stars 111 forks source link

Not all buttons are showing in full preset mode #139

Open Matvik opened 5 years ago

Matvik commented 5 years ago

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 commented 5 years ago

@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 commented 5 years ago

I've got the same problem.

tonydspaniard commented 5 years ago

@ktropp can you try the master branch?

ktropp commented 5 years ago

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

tonydspaniard commented 5 years ago

@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 commented 5 years ago

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

Problem is still there.

tonydspaniard commented 5 years ago

@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 commented 5 years ago

@tonydspaniard

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

Matvik commented 5 years ago

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 commented 5 years ago

@tonydspaniard any progress?

Matvik commented 5 years ago

Up

lookyfess commented 5 years ago

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

Matvik commented 5 years ago

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 commented 5 years ago

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 commented 4 years ago

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