rename class

This commit is contained in:
Philipp Kühn
2018-08-23 23:09:45 +02:00
parent 5e3911bf7a
commit 24428681bf
3 changed files with 4 additions and 4 deletions

View File

@@ -10,7 +10,7 @@ import { inputRules } from 'prosemirror-inputrules'
import { import {
buildMenuActions, buildMenuActions,
PluginManager, ExtensionManager,
initNodeViews, initNodeViews,
menuBubble, menuBubble,
builtInKeymap, builtInKeymap,
@@ -37,7 +37,7 @@ export default {
}, },
data() { data() {
const plugins = new PluginManager([ const plugins = new ExtensionManager([
...builtInNodes, ...builtInNodes,
...this.extensions, ...this.extensions,
]) ])

View File

@@ -1,6 +1,6 @@
import { keymap } from 'prosemirror-keymap' import { keymap } from 'prosemirror-keymap'
export default class PluginManager { export default class ExtensionManager {
constructor(plugins = []) { constructor(plugins = []) {
this.plugins = plugins this.plugins = plugins

View File

@@ -4,4 +4,4 @@ export { default as ComponentView } from './ComponentView'
export { default as initNodeViews } from './initNodeViews' export { default as initNodeViews } from './initNodeViews'
export { default as isMac } from './isMac' export { default as isMac } from './isMac'
export { default as menuBubble } from './menuBubble' export { default as menuBubble } from './menuBubble'
export { default as PluginManager } from './PluginManager' export { default as ExtensionManager } from './ExtensionManager'