Skip to Page Navigation Skip to Page Navigation Skip to Content
Keystone 6
Blog Enterprise β†— Docs

Document

A highly customizable, Slate-based, rich text editor that lets content creators quickly and easily edit content in your system. See the Document Field guide, demo and example project for details.

Options:

  • relationships
  • componentBlocks
  • formatting
  • links
  • dividers
  • layouts
import{ config, list }from'@keystone-6/core';
import{ document }from'@keystone-6/fields-document';
exportdefaultconfig({
lists:{
SomeListName:list({
fields:{
someFieldName:document({
relationships:{/* ... */},
componentBlocks:{
block:{/* ... */},
/* ... */
},
formatting:{/* ... */},
links:true,
dividers:true,
layouts:[/* ... */],
}),
/* ... */
},
}),
/* ... */
},
/* ... */
});

On this page

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /