Skip to content

Surface Block

This is a container used to render graphical content.

  • In documents opened with the edgeless editor, this block is required.
  • Its elements field can contain a large number of CanvasElements. These elements use HTML5 canvas for rendering and can be interleaved with note blocks, with automatically flattening to use the fewest canvas contexts.

context-interleaving

Reference