@gitee/tide-common
Introduction
This package provides commonly used Command
, Extension
, Helpers
, Input Rule
, and other functionalities for the editor.
Features
Extensions
- Commands
- toggleList
- sinkListItem
- liftListItem
- listBackspace
- markLeftExit
- LowPriorityKeymap
- HighPriorityKeymap
Helpers
- isActive
- isMarkActive
- isList
- isListItem
- joinListBackwards
- joinListForwards
- listBackspace
- transformer
- isWindows
- selectionInfo
Input Rules
- textblockTypeInputRule
- wrappingInputRule
- wrapInListInputRule