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

integration problem with fosckeditor #11

Open
jmperruchini opened this issue Oct 16, 2019 · 2 comments
Open

integration problem with fosckeditor #11

jmperruchini opened this issue Oct 16, 2019 · 2 comments

Comments

@jmperruchini
Copy link

Hello,
I try to integrate ckfinder with fosckeditor for my symfony 4 project, it does not work !

in my form i try this :

class SfGeckoCourrierType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('header',CKEditorType::class,array(
'config'=>array(
'toolbar'=>'default',
'filebrowserBrowseUrl' => '/bundles/cksourceckfinder/ckfinder/ckfinder.html',
'filebrowserBrowseRoute'=> 'ckfinder_connector',
)
))
// ...
}
}

when i want to explore server, i have in url => https://mysite/ckfinder/connector?CKEditor=sf_geco_courrier_spec_contenuCourrier_header&CKEditorFuncNum=1&langCode=fr and a error json response => {"error":{"number":10,"message":"Commande invalide."}}
I tried to set all your process, it works if i don't use fosckeditor and only javascript ckeditor generate. Have you try to integrate your bundle with fosckeditor ?

Sincerely Yours,

JMarc

@sarramegnag
Copy link

You should try to follow this post https://medium.com/suleyman-aydoslu/implementing-ckeditor-and-ckfinder-on-easyadmin-a269888771ce. Works great :)

@timba64
Copy link

timba64 commented Mar 24, 2021

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