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

Default block type preference #10242

Closed
commorancy opened this issue Sep 29, 2018 · 3 comments
Closed

Default block type preference #10242

commorancy opened this issue Sep 29, 2018 · 3 comments
Labels
[Feature] Inserter The main way to insert blocks using the + button in the editing interface [Type] Enhancement A suggestion for improvement.

Comments

@commorancy
Copy link

Is your feature request related to a problem? Please describe.

Not really a problem, but it would make editing more convenient and less time consuming.

Describe the solution you'd like

I'd like to see the editor offer a preference to allow setting the default block type. The default of the Paragraph block may not be the best choice for everyone. Being able to choose the default block type from all of the blocks would make it simpler to blog without having to do much thinking.

Describe alternatives you've considered

Currently, no alternatives available.

@chrisvanpatten chrisvanpatten added the [Feature] Inserter The main way to insert blocks using the + button in the editing interface label Oct 3, 2018
@chrisvanpatten
Copy link
Contributor

Sort of relates to #8589 and #10136, but neither of those include changing the default outside of an InnerBlocks area in their scope.

I agree, this would be nice to see, ideally on a per-post type basis.

@chrisvanpatten chrisvanpatten added the [Type] Enhancement A suggestion for improvement. label Oct 3, 2018
@mtias mtias added the Future label Oct 7, 2018
@mtias
Copy link
Member

mtias commented Oct 7, 2018

You can already supply a "default block" to the editor, but it's not exposed as user setting for now. It might be in the future once blocks are available server side.

It's also being used when you change your default post format, for example.

@mtias mtias closed this as completed Oct 7, 2018
@ivanjeremic
Copy link

I find this issue is still present, I can't find docs on how to set the default block, also I like the comment from someone above that it should be post-type based and the developer can choose which starting block his post-type should have which makes totally sense, for example if I develop a car dealer website and I have a post-type cars and a custom developed block for showing the car then I want this block to be default, also what immediately needs to be changed in core is to set the editor block for writing article's as default when creating a new post, because people expect to write articles and we need slowly to make them get used to gutenberg and when creating a new post it only makes sense to have the editor block as deafult instead of nothing, 80% less people would criticize gutenberg because they are just used to seeing a textbox/editor when creating a new post and not nothing.

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

No branches or pull requests

4 participants