@univerjs/core v0.5.0-beta.1 • Docs
Enumeration: WrapStrategy
An enumeration of the strategies used to handle cell text wrapping.
Enumeration Members
Enumeration Member | Value | Description | Defined in |
---|---|---|---|
CLIP | 2 | Lines that are longer than the cell width will be clipped. The text will never wrap to the next line unless the user manually inserts a new line. Example: | First sentence. |
OVERFLOW | 1 | Lines that are longer than the cell width will be written in the next cell over, so long as that cell is empty. If the next cell over is non-empty, this behaves the same as CLIP . The text will never wrap to the next line unless the user manually inserts a new line. Example: | First sentence. |
UNSPECIFIED | 0 | - | packages/api/tmp/univer-pro/submodules/univer/packages/core/src/types/enum/text-style.ts:75 |
WRAP | 3 | Words that are longer than a line are wrapped at the character level rather than clipped. Example: | Cell has a |