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

Quill thinks the editor is blank if the first text was inserted with source=silent #1043

Closed
evansolomon opened this issue Oct 12, 2016 · 0 comments

Comments

@evansolomon
Copy link
Contributor

If you have a blank Quill editor and insert text using source=silent, no text-change event is emitted. This means that the ql-blank class is not removed and the placeholder text is still displayed, so you end up with your content and the placeholder overlapping.

Steps for Reproduction

  1. http://codepen.io/anon/pen/qaKmOz

Expected behavior:

Placeholder is removed when the content is inserted.

Actual behavior:

Placeholder remains until a non-silent edit is made.

Platforms:

Mac, Chrome

Version:

1.0.6

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

1 participant