Open Matvik opened 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.
I've got the same problem.
@ktropp can you try the master branch?
@tonydspaniard how can I do that? I am using composer.
@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 Installing 2amigos/yii2-ckeditor-widget (dev-master 3eefd73)
Problem is still there.
@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
<?= $form->field($model, 'content')->widget(CKEditor::className(), [ 'options' => ['rows' => 6], 'preset' => 'full' ])->label('Article'); ?>
Tried master branch, same result. My code is:
->widget(CKEditor::class, [
'options' => ['rows' => 6],
'preset' => 'full',
'clientOptions' => [
'extraPlugins' => 'youtube',
'filebrowserUploadUrl' => Url::to(['image-upload']),
],
])```
@tonydspaniard any progress?
Up
downgrade to "2amigos/yii2-ckeditor-widget": "2.1.1" for now
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,
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
It looks like problem is still here? On the new project i need downgrade too(
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