@pie-lib/editable-html-tip-tap 1.0.0 → 1.0.2

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.
@@ -281,7 +281,7 @@ export const buildPlugins = (activePlugins, customPlugins, opts) => {
281
281
 
282
282
  activePlugins = activePlugins || DEFAULT_PLUGINS;
283
283
 
284
- const addIf = (key, p) => activePlugins.includes(key) && p;
284
+ const addIf = (key) => activePlugins.includes(key) && key;
285
285
 
286
286
  const imagePlugin = opts.image && opts.image.onDelete && ImagePlugin(opts.image);
287
287
  const mathPlugin = opts.math && MathPlugin(opts.math);