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

angular-froala does not show content before click when initOnClick set to true #164

Closed
agabhane opened this issue Jan 4, 2018 · 4 comments
Labels

Comments

@agabhane
Copy link

agabhane commented Jan 4, 2018

I am using angular-froala with angular 1.5.x and came across the below issue.

I am initializing froala with initOnClick as true.
The problem is, it is not showing content before clicking.
If my variable given to ng-model is not empty then it should display the content and not placeholder.
Please find attached punker

Example:
If $scope.myHtml = "<p>Some text</p>";

Actual:
Editor displays default placeholder before clicking.

Expected:
Editor should display "Some text" before clicking

@agabhane agabhane changed the title angular-froala does not show content when initOnClick set to true angular-froala does not show content before click when initOnClick set to true Jan 4, 2018
@FWennerdahl
Copy link

We're also affected by this issue and it's preventing us from using Froala in production.

Just to make sure that this was an issue in angular-froala we created a jsfiddle using Froala without angular, where the issue is not reproducible: https://jsfiddle.net/a9h6kpy0/

@FWennerdahl
Copy link

Fix seems to work. Thanks!

@stefanneculai
Copy link
Contributor

stefanneculai commented Mar 3, 2018 via email

@FWennerdahl
Copy link

Yes, I noticed the other changes in e124ecf after I posted the message. Tested and it's working 👍

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

No branches or pull requests

3 participants