Skip to content

Type Editor


Type Editor / @type-editor/tables / copypaste/fit-slice

copypaste/fit-slice

Functions

FunctionDescription

fitSlice

Fits a slice into a node of the given type.

Creates an empty node of the specified type and replaces its content with the slice content. This is useful for normalizing partial cell selections into complete cells.