Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(pb-view-annotate): introduce 'popup' attribute to suppress popup… #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JoernT
Copy link
Contributor

@JoernT JoernT commented Feb 10, 2025

… but dispatch a pb-annotation-edit event passing on the anotation details

This extension allows an external component to initiate editing of an annotation without a popup.

This reduces the number of clicks if another component already shows editor and actions right after a selection has been made.

Change only comes into effect if component is explicitly configured like this:

<pb-view-annotation popup="false">

otherwise existing behavior is preserved.

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.

1 participant