feat(annotator): support instant copy operation for selected text, closes #3828 (#3854)

This commit is contained in:
Huang Xin
2026-04-13 12:00:05 +08:00
committed by GitHub
parent ef97a8ed02
commit 41b5e92563
@@ -36,7 +36,13 @@ function createAnnotationToolButtons<T extends AnnotationToolType>(
}
export const annotationToolButtons = createAnnotationToolButtons([
{ type: 'copy', label: _('Copy'), tooltip: _('Copy text after selection'), Icon: FiCopy },
{
type: 'copy',
label: _('Copy'),
tooltip: _('Copy text after selection'),
Icon: FiCopy,
quickAction: true,
},
{
type: 'highlight',
label: _('Highlight'),