Skip to content

fix(web-pkg): improve text editor action-group consistency - #3197

Merged
kulmann merged 2 commits into
mainfrom
fix/editor-toolbar-consistency
Aug 24, 2026
Merged

kulmann merged 2 commits into
mainfrom
fix/editor-toolbar-consistency

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Aug 21, 2026 •

Copy link
Copy Markdown
Member

Description

This bugfix focuses on editor action-group consistency for table and block actions.

Changes made:

  • Added a dedicated Table tools group for table-editing actions (add/delete row, add/delete column, toggle header row, delete table)
  • Kept createTable in Insert so table creation stays separate from table editing
  • In tiptap-json, removed the separate Blocks group
  • In tiptap-json, moved blockquote and code-block into Formatting directly below Heading 4
  • Updated strategy unit tests for the new group composition and ordering

Related Issue

  • Fixes N/A

How Has This Been Tested?

  • test environment: local development environment (macOS), pnpm + Vitest
  • test case 1: verify table-editing actions are in Table tools and createTable remains in Insert
  • test case 2: verify tiptap-json no longer exposes a separate Blocks group
  • test case 3: verify blockquote and code-block are part of Formatting in tiptap-json
  • pnpm test:unit --run packages/web-pkg/tests/unit/editor/strategies/html.spec.ts packages/web-pkg/tests/unit/editor/strategies/tiptapJson.spec.ts

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@kulmann
kulmann merged commit 0526874 into main Aug 24, 2026
31 checks passed
@github-project-automation github-project-automation Bot moved this from Qualification to Done in OpenCloud Team Board Aug 24, 2026
@kulmann
kulmann deleted the fix/editor-toolbar-consistency branch August 24, 2026 05:51
@openclouders openclouders mentioned this pull request Aug 24, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants