Skip to content

Commit db3c2e0

Browse files
committed
Update README
1 parent 5e05832 commit db3c2e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ This plugin adds the possibility to embed custom code
2727
| `blockCustomCode` | Object to extend the default custom code block, eg. `{ label: 'Custom Code', category: 'Extra', ... }`. Pass a falsy value to avoid adding the block | `{}` |
2828
| `propsCustomCode` | Object to extend the default custom code properties, eg. `{ name: 'Custom Code', components: '<span>Initial content</span>' ... }` | `{}` |
2929
| `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 | `{}` |
30-
| `placeholderScript` | Content to show when the custom code contains `<script>` | [Check the source](https://github.com/artf/grapesjs-custom-code/tree/master/src/index.js) |
30+
| `placeholderScript` | Content to show when the custom code contains `<script>` | [Check the source](https://github.com/GrapesJS/components-custom-code/blob/master/src/index.ts) |
3131
| `modalTitle` | Title for the modal | `Insert your code` |
3232
| `codeViewOptions` | Additional options for the code viewer, eg. `{ theme: 'hopscotch', readOnly: 0 }` | `{}` |
3333
| `buttonLabel` | Label for the default save button | `Save` |
34-
| `commandCustomCode` | Object to extend the default custom code command, eg. `{ getPreContent: () => '<div>Paste here</div>' }` [Check the source](https://github.com/artf/grapesjs-custom-code/tree/master/src/commands.js) to see all available methods | `{}` |
34+
| `commandCustomCode` | Object to extend the default custom code command, eg. `{ getPreContent: () => '<div>Paste here</div>' }` [Check the source](https://github.com/GrapesJS/components-custom-code/blob/master/src/commands.ts) to see all available methods | `{}` |
3535

3636

3737

@@ -44,7 +44,7 @@ This plugin adds the possibility to embed custom code
4444
* NPM
4545
* `npm i grapesjs-custom-code`
4646
* GIT
47-
* `git clone https://github.com/artf/grapesjs-custom-code.git`
47+
* `git clone https://github.com/GrapesJS/components-custom-code.git`
4848

4949

5050

@@ -103,7 +103,7 @@ GrapesJS.init({
103103
Clone the repository
104104

105105
```sh
106-
$ git clone https://github.com/artf/grapesjs-custom-code.git
106+
$ git clone https://github.com/GrapesJS/components-custom-code.git
107107
$ cd grapesjs-custom-code
108108
```
109109

0 commit comments

Comments
 (0)