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

ENTER behaviour with block level styling #540

Closed
anovi opened this issue Dec 6, 2015 · 1 comment
Closed

ENTER behaviour with block level styling #540

anovi opened this issue Dec 6, 2015 · 1 comment
Milestone

Comments

@anovi
Copy link

anovi commented Dec 6, 2015

Hello. I have two points:

First: When i type a header and press Enter, i expect headers style turns off, then i start writing paragraph. It is common behaviour for text editors. For example Google Docs:

header-return

There is no headings for now, which is why i forked Quill and done it myself. But i ask you to consider this in upcoming big changes.

Second: Common behaviour with lists is a little different, because lists are repeatable. When you press Enter twice lists style turns off. But for now i get many empty strings:

screen shot 2015-12-06 at 17 01 59

I knew you are doing Quill more configurable. Maybe you could add this as an option?

I presume it also relates to Shift + Enter feature, if it would be implemented. In this case Shift + Enter breaks a line and retains block formatting and Enter behaves as mentioned before.

Thank you.

@jhchen
Copy link
Member

jhchen commented Dec 9, 2015

Agree with the enter behavior for headers for 1.0. The current enter behavior on an empty list I would consider a bug and will also be addressed in 1.0 so the configuring shouldn't be necessary.

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