Skip to content

Commit

Permalink
display table icon next to cursor
Browse files Browse the repository at this point in the history
  • Loading branch information
kosei-n committed May 21, 2024
1 parent ab435fe commit a4fe1e7
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,37 @@
font-size: 1.2em;
}

.cm-cursor {
&:after {
position: relative;
top: 0em;
left: 0.3em;
display: block;
width: 1em;
height: 1em;
content: ' ';

background-repeat: no-repeat;
background-size: 1em;
}
}

// .cm-cursor.cm-cursor-primary {
// background-image: url(../../../svg/table.svg);
// }

.cm-cursor.cm-cursor-primary {
&:after {
background-image: url(../../../svg/table.svg);
}
}



// .cm-cursor.cm-cursor-primary {
// border-color: aqua;
// }

}

}
Expand Down
1 change: 1 addition & 0 deletions packages/editor/svg/table.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a4fe1e7

Please sign in to comment.