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

Content isn't loaded in the editor #56

Open
brainsqueezer opened this issue Oct 16, 2015 · 1 comment
Open

Content isn't loaded in the editor #56

brainsqueezer opened this issue Oct 16, 2015 · 1 comment

Comments

@brainsqueezer
Copy link

We have reports by some users that sometimes content isn't loaded in the editor. It happens less than 0,1% of the times, our users have used the editor around 200.000 times without problems but we have around 40 reports of content not being loaded. It's more likely to happen with users with slow connections or that use many photos in their content.

We use the Redactor 9 version and we are not updating to Redactor 10 for this reason.

We have tryed to solve this by gaining more control over the load process so we switched to RequireJS but it didn't solve it.

Analyzing the code we have detected a theorical point in failure in line 29 but we are unable to verify it in the practice.

We modified line 29 this way:

if (scope.redactorLoaded)
ngModel.$setViewValue(value);
@itsanmax
Copy link

Hi brainsqueezer,

Did you find any solution for this issue? We're also getting this issue some time. We've Redactor version 10.1.1

To solve this issue, we're updating redactor model manually under $timeout. Since it's hard to re-produce, we're still waiting for another report for this issue.

Another issue we found: Sometime Redactor source doesn't update any text but it appears on Redactor front-end. In this case, callback like onkeyup, onchange, onblur etc. doesn't fire on writing any text on Redactor. We're not able to find any solution for this and for now just showing an alert to user by checking "redactor is properly loaded or not (scope.redactorLoaded)" in 5 seconds.

Kindly let us know if you've any idea or solutions for above mentioned issues.

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

No branches or pull requests

2 participants