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

Do not create new quotes on enter #1054

Closed
psypersky opened this issue Apr 12, 2016 · 2 comments
Closed

Do not create new quotes on enter #1054

psypersky opened this issue Apr 12, 2016 · 2 comments
Labels

Comments

@psypersky
Copy link

If you create a quotation and then click 'enter' it will create another one, im new to the codebase so suggestions of where to look in the code to fix it are welcome :)

@rishijain
Copy link
Contributor

The way it works right now is if you press enter, it does create a new blockquote, but if you press backspace upon an empty blockquote, it changes to p tag.

You can find most of the handling of formatting around blockquote here https://github.com/yabwe/medium-editor/blob/master/dist/js/medium-editor.js#L920

@nmielnik
Copy link
Member

Fixed via #1162

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