From 109aacd7f7d6aa18d968b6ea5deb29c0b1c22144 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Wed, 27 May 2015 09:23:45 -0400 Subject: [PATCH] H1 through h6 now clear:both by default, also on ADMIN side! --- root/front-page.php | 2 +- root/scss/_defaults.scss | 4 +++- root/scss/admin/tinymce.css | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 root/scss/admin/tinymce.css diff --git a/root/front-page.php b/root/front-page.php index 079b641..853b913 100644 --- a/root/front-page.php +++ b/root/front-page.php @@ -4,7 +4,7 @@
-
+
diff --git a/root/scss/_defaults.scss b/root/scss/_defaults.scss index 9ce5ae4..78383e3 100644 --- a/root/scss/_defaults.scss +++ b/root/scss/_defaults.scss @@ -2,7 +2,9 @@ // site. Make sure this is placed before _structures (if that is still the // primary css file). - +h1,h2,h3,h4,h5,h6 { + clear: both; +} /* PLUGINS */ /* Nextgen */ diff --git a/root/scss/admin/tinymce.css b/root/scss/admin/tinymce.css new file mode 100644 index 0000000..24e0f6a --- /dev/null +++ b/root/scss/admin/tinymce.css @@ -0,0 +1,35 @@ +/* +GaslightMedia, all rights reserved. +*/ +/* + Created on : May 22, 2015, 11:19:44 AM + Author : laury +*/ + /* + * To make the TINYMCE editor in wordpress reflect some of the default styles + * we have active on all our themes, thus leading to a more true WYSIWYG + * experience. + */ +#tinymce h1 { + clear: both; +} + +#tinymce h2 { + clear: both; +} + +#tinymce h3 { + clear: both; +} + +#tinymce h4 { + clear: both; +} + +#tinymce h5 { + clear: both; +} + +#tinymce h6 { + clear: both; +} \ No newline at end of file -- 2.17.1