Skip to content

Confirming a link in the Markdown link panel with Enter throws an error #3682

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

Confirming a link in the Markdown link panel with Enter throws an error. Cause: packages/web-pkg/src/editor/components/TextEditorLinkPanel.vue:160 doesn't await update(); packages/design-system/src/components/OcDrop/OcDrop.vue:271 writes to the unmounted drop.

Reproduction Steps

  1. Select text → Link, type a URL, press Enter.

Expected Outcome

The link is applied without errors.

Actual Outcome

The link is applied, plus Cannot read properties of null (reading 'style') in OcDrop.

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