Ver código fonte

Fix: The main toolbar should always stay on top of contextual UI elements. Closes ckeditor/ckeditor5#6220.

Aleksander Nowodzinski 5 anos atrás
pai
commit
7da2b4e1e0

+ 4 - 1
packages/ckeditor5-editor-classic/theme/classiceditor.css

@@ -11,6 +11,9 @@
 
 	& .ck-editor__top .ck-sticky-panel .ck-toolbar {
 		/* https://github.com/ckeditor/ckeditor5-editor-classic/issues/62 */
-		z-index: var(--ck-z-modal);
+		/* https://github.com/ckeditor/ckeditor5/issues/6220 */
+		z-index: calc(var(--ck-z-modal) + 1);
+
+		position: relative;
 	}
 }