You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25-7Lines changed: 25 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,18 +11,20 @@ Only the v3 version is maintained by Sanity.io.
11
11
## Acknowledgements
12
12
13
13
Big thanks to the original contributors for their work!
14
-
* Original version: [rdunk/sanity-plugin-table](https://github.com/rdunk/sanity-plugin-table).
15
-
* Further improvements in fork [MathisBullinger/sanity-plugin-another-table](https://github.com/MathisBullinger/sanity-plugin-another-table).
- Original version: [rdunk/sanity-plugin-table](https://github.com/rdunk/sanity-plugin-table).
16
+
- Further improvements in fork [MathisBullinger/sanity-plugin-another-table](https://github.com/MathisBullinger/sanity-plugin-another-table).
However, before using the Table plugin, consider if there are other ways to model your data that are:
22
-
* easier to edit and validate
23
-
* easier to query
24
23
25
-
Approaching your schemas in a more structured manner can often pay dividends down the line.
24
+
- easier to edit and validate
25
+
- easier to query
26
+
27
+
Approaching your schemas in a more structured manner can often pay dividends down the line.
26
28
27
29
## Install
28
30
@@ -73,6 +75,22 @@ export default defineConfig({
73
75
});
74
76
```
75
77
78
+
## Configuration
79
+
80
+
You can optionally configure the `_type` used for the row object in the table schema by passing a `rowType` when adding the plugin. For most users this is unnecessary, but it can be useful if you are migrating from a legacy table plugin.
0 commit comments