don't render markdown preview unless user wants to see it
This commit is contained in:
parent
0aee683f0f
commit
37f8784789
|
@ -101,7 +101,7 @@ export function MarkdownInput ({ label, groupClassName, ...props }) {
|
|||
</div>
|
||||
<div className={tab !== 'preview' ? 'd-none' : 'form-group'}>
|
||||
<div className={`${styles.text} form-control`}>
|
||||
<Text>{meta.value}</Text>
|
||||
{tab === 'preview' && <Text>{meta.value}</Text>}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue