From 5e1facf8638504445ad489354ce0ac3f16badabe Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Wed, 30 Nov 2016 17:21:20 +0100 Subject: [PATCH] Added flexbox-relevant keywords --- .../bbcode/highlighter/CssHighlighter.class.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wcfsetup/install/files/lib/system/bbcode/highlighter/CssHighlighter.class.php b/wcfsetup/install/files/lib/system/bbcode/highlighter/CssHighlighter.class.php index 413ab3b1b6..1f7f7fe2c1 100644 --- a/wcfsetup/install/files/lib/system/bbcode/highlighter/CssHighlighter.class.php +++ b/wcfsetup/install/files/lib/system/bbcode/highlighter/CssHighlighter.class.php @@ -77,6 +77,9 @@ class CssHighlighter extends Highlighter { * @inheritDoc */ protected $keywords1 = [ + 'align-content', + 'align-items', + 'align-self', 'azimuth', 'background', 'background-attachment', @@ -135,6 +138,13 @@ class CssHighlighter extends Highlighter { 'display', 'elevation', 'empty-cells', + 'flex', + 'flex-basis', + 'flex-wrap', + 'flex-direction', + 'flex-flow', + 'flex-grow', + 'flex-shrink', 'float', 'font', 'font-family', @@ -143,6 +153,7 @@ class CssHighlighter extends Highlighter { 'font-variant', 'font-weight', 'height', + 'justify-content', 'l@@eft', 'letter-spacing', 'line-height', @@ -160,6 +171,7 @@ class CssHighlighter extends Highlighter { 'min-height', 'min-width', 'opacity', + 'order', 'orphans', 'outline', 'outline-color', -- 2.20.1