浏览代码

Docs: Updated snippet styles to the latest nested editable CSS class naming convention (see #578).

Aleksander Nowodzinski 7 年之前
父节点
当前提交
cd389a5663
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/assets/snippet-styles.css

+ 2 - 2
docs/assets/snippet-styles.css

@@ -74,12 +74,12 @@ It breaks CKEditor 5 (see how <p><code>[]</code></p> looks). */
 	padding: 0;
 }
 
-#snippet-inline-editor .ck-editor__editable {
+#snippet-inline-editor .ck-editor__editable:not(.ck-editor__nested-editable) {
 	margin-bottom: 1rem;
 	padding: 2rem;
 }
 
-#snippet-inline-editor .ck-editor__editable:not(.ck-focused) {
+#snippet-inline-editor .ck-editor__editable:not(.ck-editor__nested-editable):not(.ck-focused) {
 	border: 1px solid rgba(0, 0, 0, 0.15);
 }