Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with image2 #22

Open
hmohammadi opened this issue Jul 15, 2017 · 6 comments
Open

Problem with image2 #22

hmohammadi opened this issue Jul 15, 2017 · 6 comments

Comments

@hmohammadi
Copy link

Hello,
When I using image2 in extraPlugins its not showing the editor!
What is the problem?
Thank you.

@MihailDev
Copy link
Owner

show template

@hmohammadi
Copy link
Author

hmohammadi commented Jul 20, 2017

$form->field($model, 'content')->widget(CKEditor::className(), [
'editorOptions' => [
'preset' => 'basic', /* basic, standard, full */
'inline' => false,
'contentsLangDirection' => 'rtl',
'height' => 400,
'filebrowserBrowseUrl' => 'browse-images',
'filebrowserUploadUrl' => 'upload-images',
'extraPlugins' => ['imageuploader', 'image2'],
'contentsCss' => ["body {font-size: 13px; font-family: Vazir}"],
],
]);

@hmohammadi
Copy link
Author

@MihailDev
Copy link
Owner

  1. how you include plugins 'imageuploader' and 'image2'
  2. if you need work with files in editor you can use my plugin https://github.com/MihailDev/yii2-elfinder

@sbekzhan
Copy link

sbekzhan commented Oct 2, 2018

Class 'mihaildev\elfinder\ElFinder' not found
how i can decide whis problem? i working with Ckeditor and elfinder

@MihailDev
Copy link
Owner

may be you dont install package "mihaildev/yii2-elfinder": "*" ??

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

No branches or pull requests

3 participants