mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-18 18:46:19 +08:00
feat(docs): migrate bs docs
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# Note Block
|
||||
|
||||
This is a container block used to place flowing document content.
|
||||
|
||||
If a document is entirely edited within the [page editor](../editors/page-editor), then all of its text content will be placed in a single note block. However, in the [edgeless editor](../editors/edgeless-editor), it allows for placing multiple notes on the canvas, and also for splitting the content of a single note block into multiple different notes.
|
||||
|
||||
In the page editor, the display order of notes is determined by the arrangement order of the note block in the root block `children`. But in the edgeless editor, the position of the note block is determined by the `xywh` field, and its layering with other graphical content is determined by the `index` field. This allows it to be positioned on the whiteboard along with other graphical content.
|
||||
|
||||

|
||||
|
||||
## Reference
|
||||
|
||||
- [`NoteBlockSchema`](/api/@blocksuite/blocks/variables/NoteBlockSchema.html)
|
||||
- [`NoteBlockService`](/api/@blocksuite/blocks/classes/NoteBlockService.html)
|
||||
Reference in New Issue
Block a user