diff --git a/README.md b/README.md index e1e42d6..213db26 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,7 @@ var editor = EditorJS({ | `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 | +| `stretched` | `boolean` | whether the table is stretched to fill the full width of the container | ## Output data @@ -72,6 +73,7 @@ This Tool returns `data` in the following format | Field | Type | Description | | -------------- | ------------ | ----------------------------------------- | | `withHeadings` | `boolean` | Uses the first line as headings | +| `stretched` | `boolean` | whether the table is stretched to fill the full width of the container | | `content` | `string[][]` | two-dimensional array with table contents | ```json @@ -79,6 +81,7 @@ This Tool returns `data` in the following format "type" : "table", "data" : { "withHeadings": true, + "stretched": false, "content" : [ [ "Kine", "Pigs", "Chicken" ], [ "1 pcs", "3 pcs", "12 pcs" ], [ "100$", "200$", "150$" ] ] } } diff --git a/index.html b/index.html index 4bae983..f586073 100644 --- a/index.html +++ b/index.html @@ -40,10 +40,9 @@
- - -