File tree 2 files changed +3
-0
lines changed
@sanity/form-builder/src/inputs/BlockEditor-slate
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -280,9 +280,11 @@ export default class BlockEditor extends React.Component {
280
280
281
281
const hasError = validation && validation . messages && validation . messages . length > 0
282
282
const showLinkButton = this . customSpans . length > 0
283
+
283
284
return (
284
285
< FormField
285
286
label = { type . title }
287
+ description = { type . description }
286
288
labelFor = { this . _inputId }
287
289
level = { level }
288
290
className = { fullscreen ? styles . formFieldFullscreen : styles . formField }
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export default {
11
11
{
12
12
name : 'defaults' ,
13
13
title : 'Content' ,
14
+ description : 'Profound description of what belongs here' ,
14
15
type : 'array' ,
15
16
of : [
16
17
{ type : 'image' , title : 'Image' } ,
You can’t perform that action at this time.
0 commit comments