From 92a59568102e3191d9853ae67f8a8672eb848fad Mon Sep 17 00:00:00 2001 From: Ed Ngai Date: Mon, 19 Nov 2018 13:22:22 -0800 Subject: [PATCH] fix(rich-text-editor): add table layout property to table output (#3580) --- ui/components/rich-text-editor/base/_index.scss | 1 + ui/dependencies/_layout.scss | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui/components/rich-text-editor/base/_index.scss b/ui/components/rich-text-editor/base/_index.scss index ea7ebe376e..7a47eb4153 100644 --- a/ui/components/rich-text-editor/base/_index.scss +++ b/ui/components/rich-text-editor/base/_index.scss @@ -609,6 +609,7 @@ } table { + @include normal-wrap; width: auto; caption { diff --git a/ui/dependencies/_layout.scss b/ui/dependencies/_layout.scss index b836cc033e..0149fc4362 100644 --- a/ui/dependencies/_layout.scss +++ b/ui/dependencies/_layout.scss @@ -185,7 +185,12 @@ word-break: break-word; } - +// normal-wrap +@mixin normal-wrap { + overflow-wrap: normal; + word-wrap: normal; + word-break: normal; +} // Clearfix @mixin clearfix {