close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

CKEditor after AJAX call returns ckeditor without the tools

Thread began 9/04/2020 11:13 am by lr_leal239405 | Last modified 9/09/2020 7:51 am by Ray Borduin | 23 views | 4 replies |

lr_leal239405

CKEditor after AJAX call returns ckeditor without the tools

I have an AJAX function that replaces input boxes in form with pre populated input boxes. I have an issue with the CKEditor box where the data is there, but the CKEditor comes in with all the tools stripped away. So it looks like a regular <textarea field. I'm not sure if you have to see it but I've attached the php file that is replacing those fields. Besides that, it works ok. Thank you.

Sign in to reply to this post

Ray BorduinWebAssist

I'd need FTP access and a url to debug this. It is probably an issue with the ckeditor files themselves, not the page. Perhaps missing theme files.

Sign in to reply to this post
Did this help? Tips are appreciated...

lr_leal239405

info at bottom:

type in part no field: SN57833

and you'll see it happen. Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

When the content refreshes, you have to re-initialize the ckeditor. You can do that with javascript like:

if (CKEDITOR.instances.prod_desc) CKEDITOR.instances.prod_desc.destroy();
CKEDITOR.replace( 'prod_desc' );

Just call that javascript after the new textarea has loaded and that will convert it back into a ckeditor rich text editor.

Sign in to reply to this post
Did this help? Tips are appreciated...

lr_leal239405

Thank you. I see the code you entered fixed it. Much appreciated.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...