EnterKeyResult

sealed interface EnterKeyResult

Represents the outcome of an EnterKeyStrategy execution.

Inheritors

Types

Link copied to clipboard

Clear the block attributes for the newly created paragraph, resulting in a standard paragraph. The newline is preserved.

Link copied to clipboard

Inherit the specified attributes for the newly created paragraph. The newline is preserved.

Link copied to clipboard
data class Outdent(val attributes: AttributeContainer) : EnterKeyResult

Do not insert a newline. Instead, modify the attributes of the current paragraph. This is typically used for outdenting empty list items.