From 38a175086c9c06845e0248fddcd39a590d323a6e Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 8 Dec 2023 09:06:24 +0700 Subject: 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. --- editor/editor.ts | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.3