mirror of
https://github.com/zsviczian/obsidian-excalidraw-plugin.git
synced 2025-08-06 05:46:28 +00:00
Update ExcalidrawScriptsEngine.md
This commit is contained in:
@@ -23,7 +23,9 @@ An Excalidraw script will automatically receive two objects:
|
||||
- `utils`: There is currently only a single function published on `utils`
|
||||
- `inputPrompt: (header: string, placeholder?: string, value?: string)`. You need to await the result of inputPrompt. See the example below for details.
|
||||
|
||||
## Example Excalidraw Automate script
|
||||
---------
|
||||
|
||||
## Example Excalidraw Automate Scripts
|
||||
|
||||
### Add box around selected elements
|
||||
|
||||
@@ -156,4 +158,4 @@ elements.forEach((el)=>{
|
||||
ea.addToGroup([el.id,ellipseId]);
|
||||
});
|
||||
ea.addElementsToView();
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user