Skip to content

Conversation

@sethrubenstein
Copy link
Contributor

I was incorrect when I wrote the original doc here and cast this as an array, its in fact an object. Also, provided a quick code example and a gif of this concept in action. Not sure what the rules are on including images/gifs in Gutenberg docs but thought it might help illustrate what defaultBlock enables.

What?

Why?

How?

Testing Instructions

Testing Instructions for Keyboard

Screenshots or screencast

I was incorrect when I wrote the original doc here and cast this as an array, its in fact an object. Also, provided a quick code example and a gif of this concept in action. Not sure what the rules are on including images/gifs in Gutenberg docs but thought it might help illustrate what defaultBlock enables.
@skorasaurus skorasaurus added the [Type] Developer Documentation Documentation for developers label Feb 22, 2024
@ajitbohra
Copy link
Member

@sethrubenstein can you resolve the conflicts?

@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: sethrubenstein <smrubenstein@git.wordpress.org>
Co-authored-by: ajitbohra <ajitbohra@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@sethrubenstein
Copy link
Contributor Author

@ajitbohra Updated, I left the gif with the example of how defaultBlock works inplace, feel free to remove, not sure what the rules/guidelines are on gifs in the docs but I thought it might be helpful.

Copy link
Member

@ajitbohra ajitbohra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sethrubenstein thank you, GIF here looks helpful let's keep it. We can change/remove if needed.

@ajitbohra ajitbohra enabled auto-merge (squash) March 20, 2024 16:06
auto-merge was automatically disabled October 21, 2024 03:36

Pull request was closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Developer Documentation Documentation for developers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants