Skip to content

Commit

Permalink
0.9.8
Browse files Browse the repository at this point in the history
  • Loading branch information
benmerckx committed Apr 26, 2024
1 parent d3f336d commit 8e4cae3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
2 changes: 1 addition & 1 deletion apps/dev/src/schema/example/BasicFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const BasicFields = Config.document('Basic fields', {
}
}
}),
richText: Field.richText('Rich text field'),
richText: Field.richText('Rich text field', {enableTables: true}),
select: Field.select('Select field', {
width: 0.5,
options: {
Expand Down
20 changes: 20 additions & 0 deletions apps/web/content/pages/docs/fields/rich-text.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,26 @@
}
]
},
{
"_type": "heading",
"level": 3,
"content": [
{
"_type": "text",
"text": "`enableTables`"
}
]
},
{
"_type": "paragraph",
"textAlign": "left",
"content": [
{
"_type": "text",
"text": "Allow tables to be inserted in this field."
}
]
},
{
"_type": "heading",
"level": 2,
Expand Down
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## [0.9.8]

- Add support for tables in Rich Text Fields. This can be enabled using the
`enableTables` option.

## [0.9.7]

- Add `Edit.link` and `Edit.links` to create link values in the Edit api. These
Expand Down

0 comments on commit 8e4cae3

Please sign in to comment.