mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
ui: monaco: lazy load resources
This commit is contained in:
1 parent
538862de07
commit
f020923d35
8 files changed
+57
-26
No files matched your search
@@ -18,10 +18,9 @@ export default function DataInputComponent(props) {
|
||||
className="scratchpad__data-input"
|
||||
style={{ overflowY: 'scroll' }}
|
||||
wrap="off"
|
||||
contentEditable
|
||||
>
|
||||
{/* eslint-disable-next-line react/no-danger */}
|
||||
<pre dangerouslySetInnerHTML={{ __html: value }} />
|
||||
<pre dangerouslySetInnerHTML={{ __html: value }} contentEditable />
|
||||
</div>
|
||||
) : (
|
||||
<textarea
|
||||
|
||||
Reference in new issue
Block a user