Editors: Made drawings appear clickiable via cursor

During review of #5864
This commit is contained in:
Dan Brown
2026-02-21 15:56:12 +00:00
parent c10b0fd5b9
commit 6808292c90
3 changed files with 7 additions and 2 deletions

View File

@@ -451,6 +451,9 @@ body.editor-is-fullscreen {
outline: 1px dashed var(--editor-color-primary);
outline-offset: 1px;
}
.editor-content-area [drawio-diagram] {
cursor: pointer;
}
.editor-table-marker {
position: fixed;

View File

@@ -142,6 +142,9 @@
padding-inline-end: 12px;
max-width: 864px;
}
[drawio-diagram] {
cursor: pointer;
}
[drawio-diagram]:hover {
outline: 2px solid var(--color-primary);
}

View File

@@ -205,9 +205,8 @@ body.page-content.mce-content-body {
}
/**
* Set correct cursor for drawio
* Ensure cursor indicates that drawings are clickable
*/
.page-content.mce-content-body [drawio-diagram] {
cursor: pointer;
}