fix: Clicking links when editor hasn't been focused should navigate
This commit is contained in:
@@ -548,6 +548,12 @@ const EditorStyles = styled.div<{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.ProseMirror-focused {
|
||||
a {
|
||||
cursor: text;
|
||||
}
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: ${(props) => (props.readOnly ? "underline" : "none")};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user