fix: Clicking links when editor hasn't been focused should navigate

This commit is contained in:
Tom Moor
2022-02-17 20:08:04 -08:00
parent b23f7b0953
commit cbe65ddcd7
2 changed files with 8 additions and 2 deletions

View File

@@ -548,6 +548,12 @@ const EditorStyles = styled.div<{
cursor: pointer;
}
.ProseMirror-focused {
a {
cursor: text;
}
}
a:hover {
text-decoration: ${(props) => (props.readOnly ? "underline" : "none")};
}