-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Fundamentals block development - landing and first pages #56584
Merged
Merged
Changes from 8 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
81c8468
Add fundamentals of block development
juanmaguitar 0ba1bb0
Remove JavaScript how-to guides and update block development fundamen…
juanmaguitar f3c8ed7
Update block development fundamentals documentation
juanmaguitar 147f41e
Merge branch 'trunk' into fundamentals-block-development-root
juanmaguitar 27b9ded
Manifest and TOC
juanmaguitar 8e6b982
Merge branch 'trunk' into fundamentals-block-development-root
juanmaguitar c34b095
Update block development documentation links
juanmaguitar ef74756
Update block development documentation links
juanmaguitar 796d839
restored how-to-guides javascript
juanmaguitar 344722c
Update TOC
juanmaguitar 9f6e248
update folder name of fundamentals section
juanmaguitar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
docs/getting-started/fundamentals-block-development/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Fundamentals of Block Development | ||
|
||
This section provides an introduction to the most important concepts in Block Development. | ||
|
||
In this section you will learn: | ||
|
||
1. [**File structure of a block**](https://developer.wordpress.org/block-editor/getting-started/fundamentals-block-development/file-structure-of-a-block) - The purpose of each one of the types of files available for a block, the relationships between them and their role in the output of the block | ||
<!-- | ||
2. [**`block.json`**](#) - How a block is defined using its `block.json` metadata and learn about some relevant properties of this file. | ||
--> | ||
1. [**Registration of a block**](https://developer.wordpress.org/block-editor/getting-started/fundamentals-block-development/registration-of-a-block) - How a block is registered in both the server and client | ||
<!-- | ||
4. [**Storing data in block's attributes**](#) - How attributes are the native way for blocks to store data in them and the format they're stored in the DB. | ||
5. [**The block in the editor**](#) - How is defined the display and behaviour of the block in the editor from a developer's perspective. | ||
6. [**Using built-in components**](#) - How to use some common built-in components in Block Development | ||
7. [**Static or Dynamic rendering of a block**](#) - How blocks can have static (save time) or dynamic (request time) render for the frontend. | ||
8. [**Markup's representation of a block**](#) - How a block is represented in the DB using a specific HTML grammar. | ||
9. [**Styling blocks**](#) - The different methods available to define the styles of a block. | ||
10. [**Lifecycle of the block**](#) - The different cycles a block is involved in (load, save, update, render) and the different formats representing the block in these cycles. | ||
--> | ||
1. [**Javascript in the Block Editor**](https://developer.wordpress.org/block-editor/getting-started/fundamentals-block-development/javascript-in-the-block-editor) - How to work with Javascript for the Block editor. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor, but some lines end in a period and some don't. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
64 changes: 0 additions & 64 deletions
64
docs/how-to-guides/javascript/extending-the-block-editor.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure we should include commented-out sections.