From dbbcd85ce30c60912610473a44137adf3134cd3b 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: http://core.svn.wordpress.org/trunk@22219 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../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;