Skip to content
Snippets Groups Projects
Commit 23d61793 authored by chris's avatar chris
Browse files

Merge branch 'master' of gitlab.coko.foundation:wax/wax-prosemirror

parents 3ea6f9c1 26e97a34
No related branches found
No related tags found
No related merge requests found
...@@ -20,6 +20,13 @@ ...@@ -20,6 +20,13 @@
import { QuestionsService } from 'wax-questions-service'; import { QuestionsService } from 'wax-questions-service';
``` ```
### Styles(preferably in your layout)
```
import 'wax-questions-service/dist/index.css'
```
### Tools ### Tools
``` ```
......
## 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',
],
},
],
```
### 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(),
],
```
### Start the Service
```
services: [
new TablesService(),
]
```
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