Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrating CKeditor to my symfony2 project

I was trying to integrate ckeditor to my symfony2 project so that some of the textarea will have the ckeditor html editor. I brought the ckeditor on my required textarea by calling the class="ckeditor" in my form. The issue that I am facing now is that when I use the ckeditor the submit button of my form will not work instead I will have to use the built in "Save" option of the ckeditor toolbar for submitting the form. When I remove the ckeditor from the textareas and use normal textarea the submit button seems to work.

I do not want to use the "Save" button on the ckeditor toolbar to submit my form. Is there a workaround to make the submit button work? Tried googling out for possible solutions but could not find any.

P.S: I would also like to know if there are other html text editors like ckeditor that would work well with symfony2 and link to implementation instructions.

like image 380
Jishnu G Nair Avatar asked Nov 26 '11 17:11

Jishnu G Nair


1 Answers

I don't know what's going wrong with your form submission but I have created a bundle which allows you to integrate easily CKEditor in a Symfony2 project. The bundle is available here.

If you want to use an other wysiwyg editor, you can use TinyMCE which is available here.

If you are looking for some Symfony2 ressources, I recommend you to visit the Knp Bundles website which lists the available Symfony2 bundles.

like image 84
egeloen Avatar answered Oct 23 '22 14:10

egeloen