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

Request: PreText Return & Tab behavior #54

Closed
bfintal opened this issue Oct 18, 2015 · 1 comment
Closed

Request: PreText Return & Tab behavior #54

bfintal opened this issue Oct 18, 2015 · 1 comment
Assignees
Labels

Comments

@bfintal
Copy link
Contributor

bfintal commented Oct 18, 2015

  1. When I have a PreText element, I need to hit the return key twice in order to go to the next line - as if the first return press didn't do anything.
  2. It would be great if the tab key inserted a tab (or 4 spaces) for indenting pre-code. I tried doing this for a PR but I can't get it to work, somewhere there's an \n inserting itself and prevents be from going back to the content using arrow keys.
  3. In-line with 2., if the line is indented with a tab, it would be cool if hitting the return key would also implement the same indentation on the next new line.
@anthonyjb
Copy link
Member

@bfintal believe a fix for the issues you mentioned here are now in place, I'm moving the enhancement suggestions to a separate issue so they can be discussed further.

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

2 participants