Skip to content

Commit 9c204ae

Browse files
committed
Clarifications
1 parent d48c969 commit 9c204ae

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ const iframelyPlugin = createIframelyPlugin({
2626
const { EmbedButton } = iframelyPlugin;
2727
```
2828

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+
2933
## Configuration
3034
| Param | Default | Description |
3135
|--------------|-------------------------------------|-------------------------------------------------------------------|
@@ -88,7 +92,7 @@ import 'draft-js-iframely-plugin/lib/plugin.css';
8892

8993
const iframelyPlugin = createIframelyPlugin({
9094
options: {
91-
apiKey: '<my-pi-key>',
95+
apiKey: '<my-api-key>',
9296
handleOnReturn: true,
9397
handleOnPaste: true
9498
}

0 commit comments

Comments
 (0)