Configuration Reload

  1. Overview
  2. Use cases
  3. How it works

Overview

When you load BEE inside your application, you pass a configuration object with multiple sections that define characteristics of the UI, UX, and the available elements. However, there are cases when you want to reload this configuration without the need to reload the plugin. In these cases, you can use a specific event to update the configuration while the editor is open.

Use cases

With this event, you can reload on-the-fly changes to:

How it works

You can load the configuration changes via a new instance event. Here’s an example:




var newConfig = {
  advancedPermissions: {
    // new permissions
  }
}

bee.loadConfig(newConfig)