Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,41 @@ var editor = EditorJS({
| `cols` | `number` | initial number of columns. `2` by default |
| `withHeadings` | `boolean` | toggle table headings. `false` by default |

## I18n support

This tool supports the [i18n api](https://editorjs.io/i18n-api).
To localize UI labels, put this object to your i18n dictionary under the `tools` section:

```json
{
"messages": {
"blockTunes": {

},
"ui": {

},
"toolNames": {

},
"tools": {
"table": {
"With headings": "עם כותרת",
"Without headings": "ללא כותרת",
"Add row above": "הוספת שורה למעלה",
"Add row below": "הוספת שורה למטה",
"Delete row": "מחיקת שורה",
"Delete column": "מחיקת עמודה",
"Add column to left": "הוספת עמודה משמאל",
"Add column to right": "הוספת עמודה מימין"
}
}
}
}
```

See more instructions about Editor.js internationalization here: [https://editorjs.io/internationalization](https://editorjs.io/internationalization)

## Output data

This Tool returns `data` in the following format
Expand Down