Skip to content
Snippets Groups Projects
Commit 572b0d47 authored by Christos's avatar Christos
Browse files

Update README.md

parent 2a39ed91
No related branches found
No related tags found
No related merge requests found
## Wax table package
## Wax Table package
Wax Table Package is a fork of [prosemirror-tables](https://github.com/ProseMirror/prosemirror-tables) with added Table Caption
funcionality
## How to use
### Editor's config
```
import { TablesService, tableEditing, columnResizing } from 'wax-table-service';
```
### Styles(preferably in your layout)
```
import 'wax-table-service/dist/index.css'
```
### Tools
```
MenuService: [
{
templateArea: 'mainMenuToolBar',
toolGroups: [
'Tables',
],
},
],
```
### Start the Service
```
services: [
new TablesService(),
]
```
### ProseMirror Plugins
In case you need tableEditing or columnResizing plugins add the to the array of `PmPlugins` in your editor's config
PmPlugins: [
tableEditing(),
columnResizing(),
],
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment