Skip to content

Commit 55dda19

Browse files
committed
Merge branch 'main' of github.com:betteridea-dev/codecell
2 parents 0f5669d + b630234 commit 55dda19

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

README.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ It is discouraged to update code by changing the `code` prop directly, since it
6262
| `devMode` | `boolean` | Boolean to enable dev mode |
6363

6464

65-
### ~~`runCell(...)`~~ (deprecated due to security reasons)
66-
67-
~~To run the code in a cell, after it has been rendered (optional, since the cell already has a run button)~~
68-
69-
#### ~~Arguments~~
70-
71-
- ~~`cellId` - Unique id of the cell to run~~
72-
- ~~`devMode` - Boolean to enable dev mode~~
73-
7465
## Usage
7566

7667
```javascript
@@ -107,7 +98,14 @@ getInbox("1");
10798

10899
**runCell() function has been deprecated due to security reasons, since it might be possible anyone can run some mischevious code in your process without you knowing.**
109100

110-
To run code from external sources, you can use the `runCell` function.
101+
### ~~`runCell(...)`~~ (deprecated due to security reasons)
102+
103+
~~To run the code in a cell, after it has been rendered (optional, since the cell already has a run button)~~
104+
105+
#### ~~Arguments~~
106+
107+
- ~~`cellId` - Unique id of the cell to run~~
108+
- ~~`devMode` - Boolean to enable dev mode~~
111109

112110
```javascript
113111
import { runCell } from '@betteridea/codecell';

0 commit comments

Comments
 (0)