We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8aec571 commit 8fc9a2aCopy full SHA for 8fc9a2a
dev/docs/wysiwyg-js-api.md
@@ -26,6 +26,15 @@ via its properties:
26
27
Each of these modules, and the relevant types used within, are documented in detail below.
28
29
+The API object itself is provided via the [editor-wysiwyg::post-init](./javascript-public-events.md#editor-wysiwygpost-init)
30
+JavaScript public event, so you can access it like so:
31
+
32
+```javascript
33
+window.addEventListener('editor-wysiwyg::post-init', event => {
34
+ const {api} = event.detail;
35
+});
36
+```
37
38
---
39
40
## UI Module
0 commit comments