Commit Graph

8 Commits

Author SHA1 Message Date
Drabble
dea48bcff8 SetCellAttr in prosemirror-tables needs parameters (#883)
* SetCellAttr in prosemirror-tables needs parameters

The `setCellAttr` command has no use if we can't pass parameters to it. My issue was setting the background color of a cell in a table.
See issue https://github.com/ueberdosis/tiptap/issues/862.

* Fix spaces in function parameters

`A space is required after '{' `
2020-12-29 10:13:29 +01:00
Chrissi2812
3591b5fa82 use last selection + 1 to set table create selection 2019-10-17 14:15:36 +02:00
Chrissi2812
8cce2508a9 set selection to first cell after table insert
fixes #447
2019-10-02 15:47:41 +02:00
Chrissi2812
9a86801973 change table resizable default to false 2019-05-15 10:43:34 +02:00
Chrissi2812
20bcffc94a change order of methods to match other extensions 2019-05-15 09:52:09 +02:00
Chrissi2812
39f942aca8 adding option to disable resizing of tables
closes #310
2019-05-15 09:38:16 +02:00
Chrissi2812
ce94d0641d added toggleCellMerge and changed example to use it
If all selected cells are merged than the next call will split them.
2018-12-07 10:52:48 +01:00
Chrissi2812
c830768b3b Adding Table Support 2018-12-06 18:18:59 +01:00