lakelib 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/lake.js CHANGED
@@ -5891,7 +5891,7 @@ function removeBox(range) {
5891
5891
  return box;
5892
5892
  }
5893
5893
 
5894
- var version = "0.3.2";
5894
+ var version = "0.3.3";
5895
5895
 
5896
5896
  // Converts the custom HTML tags to the special tags that can not be parsed by browser.
5897
5897
  function denormalizeValue(value) {
@@ -7014,9 +7014,6 @@ class Plugin {
7014
7014
  this.pluginMap = new Map();
7015
7015
  }
7016
7016
  add(name, plugin) {
7017
- if (this.pluginMap.get(name)) {
7018
- throw new Error(`Plugin "${name}" is already defined.`);
7019
- }
7020
7017
  this.pluginMap.set(name, plugin);
7021
7018
  }
7022
7019
  loadAll(editor) {