Browse Source

Removed overriden typography in the document editor example.

dkonopka 7 years ago
parent
commit
f6870840dc
1 changed files with 2 additions and 11 deletions
  1. 2 11
      docs/_snippets/examples/document-editor.html

+ 2 - 11
docs/_snippets/examples/document-editor.html

@@ -127,7 +127,8 @@
 
 	/* Scale down all heading previews because they are way too big to be presented in the UI.
 	Preserve the relative scale, though. */
-	.document-editor .ck-heading-dropdown .ck-list .ck-button:not(.ck-heading_paragraph) .ck-button__label {
+	.document-editor .ck-heading-dropdown .ck-list .ck-heading_heading1 .ck-button__label,
+	.document-editor .ck-heading-dropdown .ck-list .ck-heading_heading2 .ck-button__label {
 		transform: scale(0.8);
 		transform-origin: left;
 	}
@@ -177,16 +178,6 @@
 		margin-bottom: .952em;
 	}
 
-	/* Set the styles for "Paragraph" and single <span> inside table (except fontSize plugin)
-	https://github.com/ckeditor/ckeditor5/issues/1291 */
-	.document-editor .ck-content p,
-	.document-editor .ck-content table span:not( [class*="text-"] )  {
-		font-size: 1em;
-		line-height: 1.63em;
-		padding-top: .5em;
-		margin-bottom: 1.13em;
-	}
-
 	/* Make the block quoted text serif with some additional spacing. */
 	.document-editor .ck-content blockquote {
 		font-family: Georgia, serif;