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

isBlank returns false when the default block tag is changed #743

Closed
fernandogmar opened this issue Jun 8, 2016 · 1 comment
Closed

isBlank returns false when the default block tag is changed #743

fernandogmar opened this issue Jun 8, 2016 · 1 comment

Comments

@fernandogmar
Copy link

fernandogmar commented Jun 8, 2016

Hi peeps,

Just one minor thing:

When the default block tag is changed from P to DIV following these steps:

            var Parchment = Quill.import('parchment');
            var Block = Parchment.query('block');
            Block.tagName = 'DIV';
            Quill.register(Block, true);

editor.isBlank() method always returns false!! :'( so the placeholder is never showed

Version:
1.0.0-beta4

Is there a workaround? do you think it is a bug?
Thanks in advance

@jhchen
Copy link
Member

jhchen commented Jun 20, 2016

Fixed in c0a7894

@jhchen jhchen closed this as completed Jun 20, 2016
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

2 participants