fix: 复制图文集粘贴成了`code`

2.0/email-builder
Lei OT 11 months ago
parent 159c5d8ad3
commit 0a238044fc

@ -14,8 +14,8 @@ const HtmlPreview = (props) => {
<Conditional <Conditional
condition={isNotEmpty(value)} condition={isNotEmpty(value)}
whenTrue={ whenTrue={
<pre id='__preHtml__' className='whitespace-pre-wrap break-words ps-6 pe-6' dangerouslySetInnerHTML={{__html: value}}> <div id='__preHtml__' className='whitespace-pre-wrap break-words ps-6 pe-6' dangerouslySetInnerHTML={{__html: value}}>
</pre> </div>
} }
whenFalse={<Empty className='p-6' description={false} />} whenFalse={<Empty className='p-6' description={false} />}
/> />

Loading…
Cancel
Save