prosekit/basic
defineBasicExtension
function defineBasicExtension(): BasicExtension
Define a basic extension that includes some common functionality. You can copy this function and customize it to your needs.
It’s a combination of the following extension functions:
- defineDoc
- defineText
- defineParagraph
- defineHeading
- defineList
- defineBlockquote
- defineImage
- defineHorizontalRule
- defineTable
- defineCodeBlock
- defineItalic
- defineBold
- defineUnderline
- defineStrike
- defineCode
- defineLink
- defineBaseKeymap
- defineBaseCommands
- defineHistory
- defineDropCursor
- defineGapCursor
- defineVirtualSelection
- defineModClickPrevention