Highlighted

adobe air doesn't submit updated content from ckeditor

New Here ,
Apr 01, 2014

Copy link to clipboard

Copied

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

TOPICS
Performance issues

Views

249

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

adobe air doesn't submit updated content from ckeditor

New Here ,
Apr 01, 2014

Copy link to clipboard

Copied

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

TOPICS
Performance issues

Views

250

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Apr 01, 2014 0

Have something to add?

Join the conversation