add more core commands
This commit is contained in:
9
packages/core/src/commands/createParagraphNear.ts
Normal file
9
packages/core/src/commands/createParagraphNear.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createParagraphNear as originalCreateParagraphNear } from 'prosemirror-commands'
|
||||
import { Command } from '../types'
|
||||
|
||||
/**
|
||||
* Create a paragraph nearby.
|
||||
*/
|
||||
export const createParagraphNear = (): Command => ({ state, dispatch }) => {
|
||||
return originalCreateParagraphNear(state, dispatch)
|
||||
}
|
||||
Reference in New Issue
Block a user