From 36a8277bb293cfa01615188e820453b2a3355b95 Mon Sep 17 00:00:00 2001
From: srosse <stephane.rosse@frentix.com>
Date: Mon, 22 Jul 2019 18:54:49 +0200
Subject: [PATCH] OO-4110: remove Webdings and Windings from the TinyMCE
 configuration

---
 .../impl/elements/richText/RichTextConfiguration.java         | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/olat/core/gui/components/form/flexible/impl/elements/richText/RichTextConfiguration.java b/src/main/java/org/olat/core/gui/components/form/flexible/impl/elements/richText/RichTextConfiguration.java
index bf4558470b0..d01ca545e98 100644
--- a/src/main/java/org/olat/core/gui/components/form/flexible/impl/elements/richText/RichTextConfiguration.java
+++ b/src/main/java/org/olat/core/gui/components/form/flexible/impl/elements/richText/RichTextConfiguration.java
@@ -1081,7 +1081,9 @@ public class RichTextConfiguration implements Disposable {
 		  .append("remove_script_host:").append(isRemoveScriptHost()).append(",\n")
 		  .append("statusbar:").append(true).append(",\n")
 		  .append("resize:").append(true).append(",\n")
-		  .append("menubar:").append(tinyConfig.hasMenu()).append(",\n");
+		  .append("menubar:").append(tinyConfig.hasMenu()).append(",\n")
+		  .append("font_formats:").append("'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva',\n")
+		  ;
  		if(isReadOnly()) {
  			tinyMenuSb.append("readonly: 1,\n");
  		}
-- 
GitLab