function
Field
func Field(
name string,
options ...field.PluginOption,
) field.DefinitionDefine rich text with the default feature set.
Source plugins/richtext/richtext.go:85
Example
richtext.Field("body", field.Required(), field.Localized())Related types
PluginOptionOptions accepted by Plugin fields.
DefinitionAn immutable authored field definition.