diff --git a/app/components/Editor/Editor.js b/app/components/Editor/Editor.js index 4e4d71293..8fa84d74e 100644 --- a/app/components/Editor/Editor.js +++ b/app/components/Editor/Editor.js @@ -193,7 +193,7 @@ class MarkdownEditor extends Component { >
- + {readOnly && } {!readOnly && ( )} diff --git a/app/components/Editor/components/Code.js b/app/components/Editor/components/Code.js index 52fa03671..99cef6ba6 100644 --- a/app/components/Editor/components/Code.js +++ b/app/components/Editor/components/Code.js @@ -9,7 +9,7 @@ export default function Code({ children, node, readOnly, attributes }: Props) { const language = node.data.get('language') || 'javascript'; return ( - + {readOnly && }
         {children}
diff --git a/app/components/Editor/components/CopyButton.js b/app/components/Editor/components/CopyButton.js
index 7e8659c8c..b7eb8acb0 100644
--- a/app/components/Editor/components/CopyButton.js
+++ b/app/components/Editor/components/CopyButton.js
@@ -39,8 +39,9 @@ const StyledCopyToClipboard = styled(CopyToClipboard)`
   z-index: 1;
   font-size: 12px;
   background: ${color.slateLight};
-  border-radius: 2px;
+  border-radius: 0 2px 0 2px;
   padding: 1px 6px;
+  cursor: pointer;
 
   &:hover {
     background: ${color.slate};
diff --git a/app/components/Editor/components/InlineCode.js b/app/components/Editor/components/InlineCode.js
index f81bcf70a..1e87d286a 100644
--- a/app/components/Editor/components/InlineCode.js
+++ b/app/components/Editor/components/InlineCode.js
@@ -2,7 +2,9 @@
 import styled from 'styled-components';
 import { color } from 'shared/styles/constants';
 
-const InlineCode = styled.code`
+const InlineCode = styled.code.attrs({
+  spellCheck: false,
+})`
   padding: 0.25em;
   background: ${color.smoke};
   border-radius: 4px;
diff --git a/app/components/Layout/Layout.js b/app/components/Layout/Layout.js
index a87ae84fa..29878ed11 100644
--- a/app/components/Layout/Layout.js
+++ b/app/components/Layout/Layout.js
@@ -78,6 +78,18 @@ class Layout extends React.Component {
             name="viewport"
             content="width=device-width, initial-scale=1.0"
           />
+          
+