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

Inserting blocks with the keyboard alone #834

Closed
jasmussen opened this issue May 18, 2017 · 4 comments
Closed

Inserting blocks with the keyboard alone #834

jasmussen opened this issue May 18, 2017 · 4 comments
Labels
[Feature] Blocks Overall functionality of blocks [Feature] Inserter The main way to insert blocks using the + button in the editing interface
Milestone

Comments

@jasmussen
Copy link
Contributor

Splitting this out from previous tickets where it was related to the inserter.

This feature is nice to have, but it is not critical for the flow to work. It is low priority and should be tackled if we can find a nice and clean way to build it, and only after more important pieces are in place. See also #798.

Behavior

When the caret is on a new line, in an empty block, you can either start typing, or you can use one of these commands to do cool things:

  • Type - to start a list, other Markdown tricks work too.
  • Type # for headlines. Note the space.
  • Type > for quotes

newline

If If you type /, you invoke the inline inserter and set focus on its search field:

inserter invoked by

Type out the blockname and press enter to insert:

inserter searched

@jasmussen jasmussen added the [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later label May 18, 2017
@nylen
Copy link
Member

nylen commented May 18, 2017

When the caret is on a new line, in an empty block

In the mockups it looks like the caret is inside an empty paragraph inside an existing (larger, non-empty) text block.

@jasmussen
Copy link
Contributor Author

In the mockups it looks like the caret is inside an empty paragraph inside an existing (larger, non-empty) text block.

Yeah, in the mockup the blocks have already faded out :trollface:

That being said, I do follow you, and it speaks to a conversation we had just now about perhaps showing the boundaries slightly more often for text, or even having them be faintly visible all the time. Something I'll think about more.

@jasmussen
Copy link
Contributor Author

Just cross referencing with #2284 so this ticket can be closed when that gets merged in.

@mtias mtias added this to the 0.10.0 milestone Aug 18, 2017
@karmatosed karmatosed modified the milestones: 0.11.0, 0.10.0 Aug 25, 2017
@mtias mtias changed the title The new line as the commandline for inserting content Inserting blocks with the keyboard alone Aug 31, 2017
@mtias mtias added [Feature] Blocks Overall functionality of blocks [Feature] Inserter The main way to insert blocks using the + button in the editing interface and removed [Priority] Low Used to indicate that the issue at hand isn't a top priority to address and can be handled later labels Aug 31, 2017
@mtias
Copy link
Member

mtias commented Sep 5, 2017

Done in #2630.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Feature] Inserter The main way to insert blocks using the + button in the editing interface
Projects
None yet
Development

No branches or pull requests

4 participants