docs: function () {
          const editor = this.editor
          const config = editor.config || {}
          const configMenus = config.menus || []  // 获取配置中的菜单
  
          // 根据配置信息，创建菜单
          configMenus.forEach(menuKey => {
              const MenuConstructor = MenuConstructors[menuKey]
              if (MenuConstructor && typeof MenuConstructor === 'function') {
                  // 创建单个菜单
                  this.menus[menuKey] = new MenuConstructor(editor)
              }
          })
  
          // 添加到菜单栏
          this._addToToolbar()
  
          // 绑定事件
          this._bindEvent()
      }