mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-18 22:36:14 +08:00
fix circular dependencies
This commit is contained in:
parent
bf754d6bcc
commit
bf1a091c94
@ -1,7 +1,7 @@
|
|||||||
import { lift, selectParentNode } from 'prosemirror-commands'
|
import { lift, selectParentNode } from 'prosemirror-commands'
|
||||||
import { undo, redo } from 'prosemirror-history'
|
import { undo, redo } from 'prosemirror-history'
|
||||||
import { undoInputRule } from 'prosemirror-inputrules'
|
import { undoInputRule } from 'prosemirror-inputrules'
|
||||||
import { isMac } from '../utils'
|
import isMac from './isMac'
|
||||||
|
|
||||||
const keymap = {
|
const keymap = {
|
||||||
'Mod-z': undo,
|
'Mod-z': undo,
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { ComponentView } from '.'
|
import ComponentView from './ComponentView'
|
||||||
|
|
||||||
export default function initNodeViews({ nodes, editable }) {
|
export default function initNodeViews({ nodes, editable }) {
|
||||||
const nodeViews = {}
|
const nodeViews = {}
|
||||||
|
Loading…
Reference in New Issue
Block a user