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

Not all buttons are showing in full preset mode

Open Matvik opened this issue 5 years ago • 15 comments

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

Matvik avatar May 06 '19 13:05 Matvik

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

tonydspaniard avatar May 06 '19 15:05 tonydspaniard

I've got the same problem.

ktropp avatar May 06 '19 16:05 ktropp

@ktropp can you try the master branch?

tonydspaniard avatar May 06 '19 18:05 tonydspaniard

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

ktropp avatar May 06 '19 18:05 ktropp

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

tonydspaniard avatar May 06 '19 18:05 tonydspaniard

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

Problem is still there.

ktropp avatar May 06 '19 18:05 ktropp

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

tonydspaniard avatar May 07 '19 06:05 tonydspaniard

@tonydspaniard

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

ktropp avatar May 07 '19 07:05 ktropp

Tried master branch, same result. My code is:

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

Matvik avatar May 07 '19 11:05 Matvik

@tonydspaniard any progress?

ktropp avatar May 13 '19 15:05 ktropp

Up

Matvik avatar Jun 03 '19 12:06 Matvik

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

lookyfess avatar Jun 06 '19 10:06 lookyfess

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,

Matvik avatar Jun 14 '19 13:06 Matvik

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

lookyfess avatar Jun 14 '19 13:06 lookyfess

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

Matvik avatar Jan 18 '20 01:01 Matvik