diff --git a/.gitignore b/.gitignore index 2cfc917..56cd2f8 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ node_modules/ .eslintrc *.log _index.html +dist/ diff --git a/README.md b/README.md index e378310..3ac7d47 100644 --- a/README.md +++ b/README.md @@ -24,10 +24,8 @@ This plugin adds the possibility to embed custom code |Option|Description|Default| |-|-|- -| `blockLabel` | Label of the custom code block | `Custom Code` | | `blockCustomCode` | Object to extend the default custom code block, eg. `{ label: 'Custom Code', category: 'Extra', ... }`. Pass a falsy value to avoid adding the block | `{}` | -| `propsCustomCode` | Object to extend the default custom code properties, eg. `{ name: 'Custom Code', droppable: false, ... }` | `{}` | -| `placeholderContent` | Initial content of the custom code component | `Insert here your custom code` | +| `propsCustomCode` | Object to extend the default custom code properties, eg. `{ name: 'Custom Code', components: 'Initial content' ... }` | `{}` | | `toolbarBtnCustomCode` | Object to extend the default component's toolbar button for the code, eg. `{ label: '', attributes: { title: 'Open custom code' } }`. Pass a falsy value to avoid adding the button | `{}` | | `placeholderScript` | Content to show when the custom code contains ` -