Skip to content

Commit 6808292

Browse files
committed
Editors: Made drawings appear clickiable via cursor
During review of #5864
1 parent c10b0fd commit 6808292

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

resources/sass/_editor.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,9 @@ body.editor-is-fullscreen {
451451
outline: 1px dashed var(--editor-color-primary);
452452
outline-offset: 1px;
453453
}
454+
.editor-content-area [drawio-diagram] {
455+
cursor: pointer;
456+
}
454457

455458
.editor-table-marker {
456459
position: fixed;

resources/sass/_forms.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@
142142
padding-inline-end: 12px;
143143
max-width: 864px;
144144
}
145+
[drawio-diagram] {
146+
cursor: pointer;
147+
}
145148
[drawio-diagram]:hover {
146149
outline: 2px solid var(--color-primary);
147150
}

resources/sass/_tinymce.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,8 @@ body.page-content.mce-content-body {
205205
}
206206

207207
/**
208-
* Set correct cursor for drawio
208+
* Ensure cursor indicates that drawings are clickable
209209
*/
210-
211210
.page-content.mce-content-body [drawio-diagram] {
212211
cursor: pointer;
213212
}

0 commit comments

Comments
 (0)