File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515 HovermodeDropdown ,
1616 Flaglist ,
1717 Radio ,
18+ Info ,
1819} from '../components' ;
1920import { HoverColor } from '../components/fields/derived' ;
2021import DataSelector from '../components/fields/DataSelector' ;
@@ -166,8 +167,27 @@ const StyleLayoutPanel = (props, {localize: _}) => (
166167 </ HovermodeDropdown >
167168 </ PlotlySection >
168169 </ PlotlyFold >
169- < PlotlyFold name = { _ ( 'Meta' ) } >
170+ < PlotlyFold name = { _ ( 'Meta Text ' ) } >
170171 < DataSelector label = { _ ( 'Custom Data' ) } attr = "meta" />
172+ < Info >
173+ < p >
174+ { _ (
175+ 'You can refer to the items in this column in any text fields of the editor like so: '
176+ ) }
177+ < span
178+ style = { {
179+ lineHeight : '20px' ,
180+ backgroundColor : '#eadef7' ,
181+ borderRadius : '2px' ,
182+ fontStyle : 'italic' ,
183+ } }
184+ >
185+ { '%{meta[0]}' }
186+ </ span >
187+ { ' .' }
188+ </ p >
189+ { _ ( 'Note: item count starts at 0.' ) }
190+ </ Info >
171191 </ PlotlyFold >
172192 </ LayoutPanel >
173193) ;
You can’t perform that action at this time.
0 commit comments