createChainableState
@blockslides/core / createChainableState
Function: createChainableState()
createChainableState(
config):EditorState
Defined in: blockslides/packages/core/src/helpers/createChainableState.ts:8
Takes a Transaction & Editor State and turns it into a chainable state object
Parameters
config
The transaction and state to create the chainable state from
transaction
Transaction
state
EditorState
Returns
EditorState
A chainable Editor state object