From 06f6f7121c10b68389297d71255cd76ac3ddc6f5 Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Wed, 10 May 2023 14:13:20 +0200 Subject: [PATCH] Add support for floated images again This was unintentionally removed when purging the files for Redactor. --- wcfsetup/install/files/style/ui/ckeditor.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/wcfsetup/install/files/style/ui/ckeditor.scss b/wcfsetup/install/files/style/ui/ckeditor.scss index 4580026d6f..e9ce3f5fef 100644 --- a/wcfsetup/install/files/style/ui/ckeditor.scss +++ b/wcfsetup/install/files/style/ui/ckeditor.scss @@ -283,6 +283,17 @@ html[data-color-scheme="dark"] { text-align: right !important; } +/* image float */ +.messageFloatObjectLeft { + float: left; + margin: 0 20px 20px 0; +} + +.messageFloatObjectRight { + float: right; + margin: 0 0 20px 20px; +} + @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