From 78085f5959bcc978fe06ea5535bea409885bd484 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Patrick=20M=C3=BCller?= <p.mueller@pcsg.de>
Date: Wed, 19 May 2021 12:38:02 +0200
Subject: [PATCH] feat: source code and font size edit buttons in article
 editor

---
 bin/backend/controls/articles/Article.js | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/bin/backend/controls/articles/Article.js b/bin/backend/controls/articles/Article.js
index 0a76b2a..d603447 100644
--- a/bin/backend/controls/articles/Article.js
+++ b/bin/backend/controls/articles/Article.js
@@ -986,6 +986,13 @@ define('package/quiqqer/erp/bin/backend/controls/articles/Article', [
                             self.$Editor.setAttribute('buttons', {
                                 lines: [
                                     [[
+                                        {
+                                            type  : "button",
+                                            button: "Source"
+                                        },
+                                        {
+                                            type: "separator"
+                                        },
                                         {
                                             type  : "button",
                                             button: "Bold"
@@ -1001,6 +1008,13 @@ define('package/quiqqer/erp/bin/backend/controls/articles/Article', [
                                         {
                                             type: "separator"
                                         },
+                                        {
+                                            type  : "button",
+                                            button: "FontSize"
+                                        },
+                                        {
+                                            type: "separator"
+                                        },
                                         {
                                             type  : "button",
                                             button: "RemoveFormat"
-- 
GitLab