8
0
Просмотр исходного кода

Code refactoring in html-embed styles.

Aleksander Nowodzinski 5 лет назад
Родитель
Сommit
7623117b14

+ 28 - 0
packages/ckeditor5-html-embed/theme/htmlembed.css

@@ -2,3 +2,31 @@
  * Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved.
  * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
  */
+
+/* The feature container. */
+.ck-widget.raw-html {
+	position: relative;
+
+	/* The switch mode button. */
+	& .raw-html__mode-toggle-button {
+		position: absolute;
+	}
+
+	/* Using the feature with enabled previews in data. */
+	&.raw-html_preview_enabled {
+		&.raw-html_preview_visible {
+			& .raw-html__source {
+				display: none;
+			}
+
+			& .raw-html__preview {
+				display: block;
+			}
+		}
+
+		/* Mode: edit the HTML source. */
+		&:not(.raw-html_preview_visible) .raw-html__preview {
+			display: none;
+		}
+	}
+}

Разница между файлами не показана из-за своего большого размера
+ 27 - 25
packages/ckeditor5-theme-lark/theme/ckeditor5-html-embed/htmlembed.css


Некоторые файлы не были показаны из-за большого количества измененных файлов