mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
feat: make clipboard more robust and reintroduce contextmenu actions (#7198)
This commit is contained in:
parent
ec2de7205f
commit
ea677d4581
17 changed files with 611 additions and 193 deletions
|
@ -119,10 +119,10 @@ export class ActionManager {
|
|||
return true;
|
||||
}
|
||||
|
||||
executeAction(
|
||||
action: Action,
|
||||
executeAction<T extends Action>(
|
||||
action: T,
|
||||
source: ActionSource = "api",
|
||||
value: any = null,
|
||||
value: Parameters<T["perform"]>[2] = null,
|
||||
) {
|
||||
const elements = this.getElementsIncludingDeleted();
|
||||
const appState = this.getAppState();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue