Skip to content

Proposal/clear link tool state#3000

Open
akulistus wants to merge 11 commits into
nextfrom
proposal/clear-link-tool-state
Open

Proposal/clear link tool state#3000
akulistus wants to merge 11 commits into
nextfrom
proposal/clear-link-tool-state

Conversation

@akulistus

@akulistus akulistus commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Fixes issue (#2979 (comment)) preventing text unlinking by clicking link popover item block in toolbar.

Comment on lines +417 to +418
* Checks if the current selection range starts outside
* of a popover item element

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally, link tool should not know about Popover and its implementation. Explain, why it is needed.

}

/**
* Calls instance clear function

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Describe the use case please.

Comment thread types/utils/popover/popover-item.d.ts Outdated
onActivate: (item: PopoverItemParams, event?: PointerEvent) => void;

/**
* Popover item clear handler

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

@akulistus akulistus requested a review from neSpecc July 1, 2026 20:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants