mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-27 23:15:15 +08:00
rename class
This commit is contained in:
parent
5e3911bf7a
commit
24428681bf
@ -10,7 +10,7 @@ import { inputRules } from 'prosemirror-inputrules'
|
||||
|
||||
import {
|
||||
buildMenuActions,
|
||||
PluginManager,
|
||||
ExtensionManager,
|
||||
initNodeViews,
|
||||
menuBubble,
|
||||
builtInKeymap,
|
||||
@ -37,7 +37,7 @@ export default {
|
||||
},
|
||||
|
||||
data() {
|
||||
const plugins = new PluginManager([
|
||||
const plugins = new ExtensionManager([
|
||||
...builtInNodes,
|
||||
...this.extensions,
|
||||
])
|
||||
|
@ -1,6 +1,6 @@
|
||||
import { keymap } from 'prosemirror-keymap'
|
||||
|
||||
export default class PluginManager {
|
||||
export default class ExtensionManager {
|
||||
|
||||
constructor(plugins = []) {
|
||||
this.plugins = plugins
|
@ -4,4 +4,4 @@ export { default as ComponentView } from './ComponentView'
|
||||
export { default as initNodeViews } from './initNodeViews'
|
||||
export { default as isMac } from './isMac'
|
||||
export { default as menuBubble } from './menuBubble'
|
||||
export { default as PluginManager } from './PluginManager'
|
||||
export { default as ExtensionManager } from './ExtensionManager'
|
||||
|
Loading…
Reference in New Issue
Block a user