File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,10 @@ const iframelyPlugin = createIframelyPlugin({
26
26
const { EmbedButton } = iframelyPlugin;
27
27
```
28
28
29
+ #### Embedder
30
+ When integrate the plugin with ` draft-js-side-toolbar-plugin ` and click the Embed button, it will display a plceholder where you can paste the URL.
31
+ Pressing Enter will close and embed the URL; but, losing the focus, pressing ESC or DEL with empty text will close the Embedder.
32
+
29
33
## Configuration
30
34
| Param | Default | Description |
31
35
| --------------| -------------------------------------| -------------------------------------------------------------------|
@@ -88,7 +92,7 @@ import 'draft-js-iframely-plugin/lib/plugin.css';
88
92
89
93
const iframelyPlugin = createIframelyPlugin ({
90
94
options: {
91
- apiKey: ' <my-pi -key>' ,
95
+ apiKey: ' <my-api -key>' ,
92
96
handleOnReturn: true ,
93
97
handleOnPaste: true
94
98
}
You can’t perform that action at this time.
0 commit comments