Skip to content

Commit

Permalink
Merge pull request #4815 from relative-ci/fix-preview-source
Browse files Browse the repository at this point in the history
fix(ui): PreviewSource - disable auto
  • Loading branch information
vio authored Nov 4, 2024
2 parents bb9b961 + ac894a4 commit 262308a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion packages/ui/src/components/preview-source/preview-source.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,17 @@ export const PreviewSource = (props: PreviewSourceProps) => {
)}
</ControlGroup>
)}
<Textarea readOnly rows={rows} value={source} className={css.content} />
<Textarea
rows={rows}
value={source}
readOnly
autoComplete="off"
autoCorrect="off"
autoCapitalize="off"
spellCheck="false"
translate="no"
className={css.content}
/>
</div>
);
};

0 comments on commit 262308a

Please sign in to comment.