do not allow to edit code block preview
This commit is contained in:
parent
6f6c4de46d
commit
5224badbd4
1 changed files with 1 additions and 0 deletions
|
|
@ -381,6 +381,7 @@ const StyledMarkdownPreview = memo(function StyledMarkdownPreview(
|
|||
const codeWrapState = uiConfig?.codeWrap ? "pre-wrap" : "pre";
|
||||
return (
|
||||
<StyledMarkdown
|
||||
contentEditable='false'
|
||||
fontSize={getFontSize()}
|
||||
whiteSpace={codeWrapState}
|
||||
bgColor={props.useParentBackgroundColor ? "" : vscBackground}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue