From 18b3efaf52f74c8a51a5dfa24c34d803338e30d9 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Fri, 12 Oct 2012 18:32:12 +0000 Subject: [PATCH] MCE Views: Add alignment styles for generic views. Adds `alignnone`, `aligncenter`, `alignleft`, and `alignright` by default. see #21390, #21812, #21813. git-svn-id: https://develop.svn.wordpress.org/trunk@22219 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/advanced/skins/wp_theme/content.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css b/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css index 8f3c083537..e830395d06 100644 --- a/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css +++ b/wp-includes/js/tinymce/themes/advanced/skins/wp_theme/content.css @@ -161,6 +161,23 @@ img.wp-oembed { box-shadow: none; } +.wp-view-wrap.alignnone { + display: block; +} + +.wp-view-wrap.aligncenter { + display: block; + text-align: center; +} + +.wp-view-wrap.alignleft { + float: left; +} + +.wp-view-wrap.alignright { + float: right; +} + .wp-view-wrap .overlay { opacity: 0; display: block;