From 603a09d0f81bfd0c10a65005f8c5c66393c6f18c Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Mon, 15 May 2023 13:38:48 +0200 Subject: [PATCH] Improve the visuals of the editor while being initialized --- wcfsetup/install/files/style/ui/ckeditor.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index c7480f9018..c629f1b55d 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -304,6 +304,16 @@ html[data-color-scheme="dark"] { margin: 0 0 20px 20px; } +/* Fake visuals for the WYSIWYG editor while it is still loading. */ +.wysiwygTextarea { + background-color: var(--wcfContentContainerBackground) !important; + border-radius: var(--wcfBorderRadius) var(--wcfBorderRadius) 0 0 !important; + border-color: var(--wcfContentBorderInner) !important; + cursor: not-allowed !important; + height: 240px !important; + resize: none !important; +} + @include screen-xs { html.iOS .ck.ck-content { /* Font sizes below 16px cause iOS to zoom when moving the focus inside of it. */ -- 2.20.1