Ashok Chitroda
Ashok Chitroda

Reputation: 361

How to submit tinyEditory's content through ajax?

I have integrated StfalconTinymceBundle in one of my symfny2 project which work prefectly. But facing issue while submitting editor's content through ajax. Editor's content is not binding with post data in ajax. Please suggest solution.

Thanks in advance

Upvotes: 1

Views: 29

Answers (1)

Chintan Mirani
Chintan Mirani

Reputation: 1465

I also faced same issue with symfony2's StfalconTinymceBundle while ajax. I hope below solution will solve your issue.

tinyMCE.triggerSave();

your have to trigger save event before ajax call.

Enjoy!

Upvotes: 2

Related Questions