Skip to content

Commit eea0072

Browse files
committed
[Doc] Fix liquid syntax error
1 parent 9b8f10a commit eea0072

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/SmartRichTextInput.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,14 @@ That's why `<SmartRichTextInput>` accepts a `locale` prop. It defaults to 'en'.
163163

164164
Specifies the field of the record that the input should edit. It is required.
165165

166+
{% raw %}
166167
```jsx
167168
<Form record={{ id: 123, title: 'Hello, world!', body: '<p>Lorem Ipsum</p>' }}>
168169
<SmartRichTextInput source="body" />
169170
{/* default value is "<p>Lorem Ipsum</p>" */}
170171
</Form>
171172
```
173+
{% endraw %}
172174

173175
If you edit a record with a complex structure, you can use a path as the `source` parameter. For instance, if the API returns the following 'book' record:
174176

0 commit comments

Comments
 (0)