Skip to content

Commit

Permalink
fix: added contentEditable=false to link renderer to avoid editing pr…
Browse files Browse the repository at this point in the history
…oblems
  • Loading branch information
giuliaghisini committed Dec 19, 2023
1 parent a771e55 commit 85f95b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/Slate/Link/renderer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const getExtensionForFiles = (element) => {
svg_format: false,
};
return (
<span className="slate-inline-file-infos">
<span className="slate-inline-file-infos" contentEditable={false}>
{' '}
(
{!icon.svg_format ? (
Expand Down

0 comments on commit 85f95b8

Please sign in to comment.