🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix(page-editor): enable collapsible blocks (#21668)
Inneie912cdf7b75a
diff --git a/package.json b/package.jsonindex c7723880f3a..3d292cf4879 100644--- a/package.json+++ b/package.json@@ -325,10 +325,10 @@"@lobehub/analytics": "^1.6.4","@lobehub/charts": "^6.0.0","@lobehub/desktop-ipc-typings": "workspace:*",- "@lobehub/editor": "^5.0.0",+ "@lobehub/editor": "^6.0.0","@lobehub/icons": "^6.7.0","@lobehub/market-sdk": "0.43.0",- "@lobehub/ui": "^6.3.0",+ "@lobehub/ui": "^6.9.0","@modelcontextprotocol/sdk": "^1.32.1","@neondatabase/serverless": "^1.1.0","@next/third-parties": "^16.3.0",diff --git a/packages/builtin-tool-lobe-agent/package.json b/packages/builtin-tool-lobe-agent/package.jsonindex 5f616880a76..70a9b978509 100644--- a/packages/builtin-tool-lobe-agent/package.json+++ b/packages/builtin-tool-lobe-agent/package.json@@ -25,8 +25,8 @@"@lobechat/types": "workspace:*"},"peerDependencies": {- "@lobehub/editor": "^5.0.0",- "@lobehub/ui": "^6.0.4",+ "@lobehub/editor": "^6.0.0",+ "@lobehub/ui": "^6.9.0","lucide-react": "*","react": "*"}diff --git a/packages/editor-runtime/package.json b/packages/editor-runtime/package.jsonindex 989736a43f0..db23cf091e6 100644--- a/packages/editor-runtime/package.json+++ b/packages/editor-runtime/package.json@@ -13,7 +13,7 @@"lexical": "0.42.0"},"peerDependencies": {- "@lobehub/editor": "^5.0.0",+ "@lobehub/editor": "^6.0.0","debug": "*"}}diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex e91a3e0a92e..83ac90fff3c 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -63,9 +63,9 @@ allowBuilds:workerd: trueoverrides:- '@lobehub/ui': ^6.1.0+ '@lobehub/ui': ^6.9.0'@lobehub/icons': ^6.0.0- '@lobehub/editor': ^5.0.0+ '@lobehub/editor': ^6.0.0'@lobehub/charts': ^6.0.0'@lobehub/fluent-emoji': ^5.0.0# Stay on the latest 1.9.x: @opentelemetry/*@2.x peers reject 1.10.0, and mixing both splits drizzle-orm into duplicate peer variants.diff --git a/src/features/PageEditor/EditorCanvas/index.tsx b/src/features/PageEditor/EditorCanvas/index.tsxindex d01746c7b29..bb26a357c01 100644--- a/src/features/PageEditor/EditorCanvas/index.tsx+++ b/src/features/PageEditor/EditorCanvas/index.tsx@@ -1,6 +1,6 @@'use client';-import { ReactBlockPlugin } from '@lobehub/editor';+import { ReactBlockPlugin, ReactCollapsiblePlugin } from '@lobehub/editor';import { Editor } from '@lobehub/editor/react';import { type CSSProperties, useMemo } from 'react';import { memo } from 'react';@@ -40,7 +40,7 @@ const EditorCanvas = memo<EditorCanvasProps>(({ askCopilotTarget, placeholder, s);const extraPlugins = useMemo(- () => [Editor.withProps(ReactBlockPlugin, { anchorPadding: 0 })],+ () => [Editor.withProps(ReactBlockPlugin, { anchorPadding: 0 }), ReactCollapsiblePlugin],[],);