diff --git a/README.md b/README.md index f564bb4..e1e42d6 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ var editor = EditorJS({ config: { rows: 2, cols: 3, + maxRows: 5, + maxCols: 5, }, }, }, @@ -57,9 +59,11 @@ var editor = EditorJS({ | Field | Type | Description | | ------------------ | -------- | ---------------------------------------- | -| `rows` | `number` | initial number of rows. `2` by default | +| `rows` | `number` | initial number of rows. `2` by default | | `cols` | `number` | initial number of columns. `2` by default | -| `withHeadings` | `boolean` | toggle table headings. `false` by default | +| `maxRows` | `number` | maximum number of rows. `5` by params | +| `maxCols` | `number` | maximum number of columns. `5` by params | +| `withHeadings` | `boolean` | toggle table headings. `false` by default | ## Output data diff --git a/example.html b/index.html similarity index 93% rename from example.html rename to index.html index 29bf431..4bae983 100644 --- a/example.html +++ b/index.html @@ -40,7 +40,7 @@
- +