Skip to content

Commit

Permalink
docs(readme): add jsonb format to example
Browse files Browse the repository at this point in the history
  • Loading branch information
sargreal committed Mar 1, 2024
1 parent f142d6f commit 3cb37ca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ module.exports = {
// Possible formats: plain, markdown, html (default plain)
translatedFieldTypes: [
'string',
{ type: 'block', format: 'jsonb' },
{ type: 'text', format: 'plain' },
{ type: 'richtext', format: 'markdown' },
'component',
Expand Down
3 changes: 2 additions & 1 deletion plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ module.exports = {
},
// Which field types are translated (default string, text, richtext, components and dynamiczones)
// Either string or object with type and format
// Possible formats: plain, markdown, html (default plain)
// Possible formats: plain, markdown, html, jsonb (default plain)
translatedFieldTypes: [
'string',
{ type: 'block', format: 'jsonb' },
{ type: 'text', format: 'plain' },
{ type: 'richtext', format: 'markdown' },
'component',
Expand Down

0 comments on commit 3cb37ca

Please sign in to comment.