2020-11-05 05:38:52 +08:00
|
|
|
import { selectParentNode } from 'prosemirror-commands'
|
2020-11-17 04:42:35 +08:00
|
|
|
import { Command } from '../types'
|
2020-11-05 05:38:52 +08:00
|
|
|
|
|
|
|
export default (): Command => ({ state, dispatch }) => {
|
|
|
|
return selectParentNode(state, dispatch)
|
|
|
|
}
|