Skip to content

"Insert image from cloud" can't pick SVG or WebP images #3683

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

"Insert image from cloud" can't pick SVG or WebP images. Cause: packages/web-pkg/src/editor/composables/useEditorActions.ts:693 passes image/svg (not a real MIME type) and leaves out webp; compare editor/extensions/imageFileHandler.ts:5-14.

Reproduction Steps

  1. In a Markdown file: Insert image → Insert from cloud, open a folder with svg/webp images.

Expected Outcome

SVG and WebP are selectable (paste and drop accept them).

Actual Outcome

They are greyed out.

Screenshot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions