Skip to main content
Participant
April 1, 2014
Question

adobe air doesn't submit updated content from ckeditor

  • April 1, 2014
  • 0 replies
  • 304 views

Hello,

I'm wiriting applicaiton using adobe air and part of it is to display in iframe code of website with built in ckeditor (http://ckeditor.com).

The problem is that when I want to submit modified text using ckeditor adobe air send old content.

I'm trying to get new text from ckeditor element using:

     1. CK method "var content = CKEDITOR.instances.editor_content.getData();"

     2. jQuery call: "jQuery("#editor_content").val()"

but both methods return always the initial text, not the modified one. It works without problems with all standard browsers (Chrome, FF, IE etc.).

to test this issue you can open this url within adobe air window (i.e. as iframe):

     http://ckeditor.com/demo#flash

then update content and try to "send to flash". It will send original content, not the modified one.

Does anyone have any idea of workaround for this that can force Adobe Air to send send back updated content of ckeditor ?

I would prefer to find solution on Adobe Air side, without experimenting with other versions of CK or alternative implementations of WSIWYG editors because it's part of bigger project.

Any adivices welcomed!

thanks,

Marek

This topic has been closed for replies.