Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AJAX loaded RTE form won't edit #3

Open
GoogleCodeExporter opened this issue Apr 30, 2015 · 6 comments
Open

AJAX loaded RTE form won't edit #3

GoogleCodeExporter opened this issue Apr 30, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Load form via AJAX call rather than on page load (which works ok)

What is the expected output? What do you see instead?

Everything appears ok (toolbar), except: the iFrame Body has no content,
and it is not possible to edit the iFrame. Switch to 'plain' mode and the
content isn't there either. How ever add content in 'plain' mode it then
appears in the iFrame when you toggle back, but it's still not editable.

What version of the product are you using? On what operating system?

Latest SVN verson - Testing in Firefox on OSX

Thanks


Original issue reported on code.google.com by ranguard on 11 Mar 2009 at 8:59

@GoogleCodeExporter
Copy link
Author

Exact same issue here - only a problem with firefox.

Original comment by [email protected] on 16 Jun 2009 at 2:04

@GoogleCodeExporter
Copy link
Author

firefox 's dom is slower than its javascript, so add this:

                $(iframe).load(function(){
                    this.contentWindow.document.designMode="on";
                });

Original comment by [email protected] on 13 Jul 2009 at 10:00

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Great, thanks, this worked.

For others... I added that line of code right after:

// enable design mode now
        enableDesignMode();

... in the jquery.rte.js file.

Original comment by [email protected] on 20 Jul 2009 at 7:15

@GoogleCodeExporter
Copy link
Author

This doesn't work for me.

Original comment by [email protected] on 25 Sep 2009 at 9:53

@GoogleCodeExporter
Copy link
Author

Editing the content works now, but the content is not loaded at first load.

Original comment by [email protected] on 18 Oct 2009 at 11:34

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant