diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-08 09:06:24 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-08 09:06:24 +0700 |
| commit | 38a175086c9c06845e0248fddcd39a590d323a6e (patch) | |
| tree | d0d5962adc4a235497bb68d8d19616922140b32f | |
| parent | d523e45b01c2d8e2814382b928f3387e3c53ac11 (diff) | |
| download | pakakeh.ts-38a175086c9c06845e0248fddcd39a590d323a6e.tar.xz | |
editor: set the caret color to red
Since we cannot change its shape, changing the color to red make the
text cursor position visible to eyes.
| -rw-r--r-- | editor/editor.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/editor/editor.ts b/editor/editor.ts index 9cd4988..a036311 100644 --- a/editor/editor.ts +++ b/editor/editor.ts @@ -167,6 +167,7 @@ export class WuiEditor { width: 3em; } .${WUI_EDITOR_CLASS_CONTENT} { + caret-color: red; display: inline-block; padding: 0px 8px 0 0; vertical-align: top; |
