bg-editor 0.0.9 → 0.0.10

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.
@@ -82269,12 +82269,16 @@ const TXe = Ut.create({
82269
82269
  }),
82270
82270
  TXe
82271
82271
  ];
82272
- return Object.values(c).forEach((f) => {
82273
- if (Array.isArray(f)) {
82274
- d.push(...f);
82272
+ return Object.entries(c).forEach(([f, v]) => {
82273
+ if (u?.includes(f)) {
82274
+ console.log(`[Extensions] 跳过已禁用的扩展: ${f}`);
82275
82275
  return;
82276
82276
  }
82277
- d.push(f);
82277
+ if (Array.isArray(v)) {
82278
+ d.push(...v);
82279
+ return;
82280
+ }
82281
+ d.push(v);
82278
82282
  }), d;
82279
82283
  }, XA = (t) => {
82280
82284
  let e = !0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bg-editor",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "type": "module",
5
5
  "description": "open-source document editor based on Vue3 and Tiptap. Editor provides comprehensive document editing capabilities and AI creation features, supports pagination, supports Markdown syntax, offers basic rich text editing functions, allows for the insertion of various node types in multiple formats, provides a variety of practical tools, and supports setting page styles. It also supports exporting in various formats, printing and print preview, block-level document editing, adding custom extensions, multi-language settings, and a dark theme.",
6
6
  "keywords": [