Skip to content

Show cloud image insert action in slash command menu - #3225

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/slash-command-image-cloud
Aug 25, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/slash-command-image-cloud

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

This bugfix makes the slash command menu include the cloud image insertion action.

Changes:

  • Exported imageCloud from useEditorActions.
  • Enabled image-cloud for slash commands.
  • Added imageCloud() to the insert action group in markdown, html, and tiptap-json strategies.
  • Extended unit tests to cover availability and slash-command behavior for cloud image insertion.

Related Issue

  • Fixes N/A

How Has This Been Tested?

  • test environment: local development environment (pnpm workspace)
  • test case 1: pnpm test:unit --run packages/web-pkg/tests/unit/editor/composables/useEditorActions.spec.ts
  • test case 2: pnpm test:unit --run packages/web-pkg/tests/unit/editor/strategies/markdown.spec.ts
  • test case 3: pnpm test:unit --run packages/web-pkg/tests/unit/editor/strategies/html.spec.ts
  • test case 4: pnpm test:unit --run 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)

@AlexAndBear
AlexAndBear merged commit 5bc8b5d into main Aug 25, 2026
32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/slash-command-image-cloud branch August 25, 2026 15:26
@openclouders openclouders mentioned this pull request Aug 25, 2026
1 task
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Aug 25, 2026
@github-project-automation github-project-automation Bot moved this from Qualification to Done in OpenCloud Team Board Aug 25, 2026
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