From 0b903fb2d6eab22281709d641afd662daf105987 Mon Sep 17 00:00:00 2001 From: Thorsten Rinne Date: Thu, 30 May 2024 15:22:51 +0200 Subject: [PATCH] feat: added info message if Markdown editor is enabled, closes #2964 --- phpmyfaq/admin/configuration.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/phpmyfaq/admin/configuration.php b/phpmyfaq/admin/configuration.php index caf10e2e70..9f07044da3 100644 --- a/phpmyfaq/admin/configuration.php +++ b/phpmyfaq/admin/configuration.php @@ -52,8 +52,11 @@ 'main.metaKeywords' ]; + $message = ''; + // Special checks if (isset($editData['edit']['main.enableMarkdownEditor'])) { + $message = 'Markdown editor enabled, WYSIWYG editor disabled.'; $editData['edit']['main.enableWysiwygEditor'] = false; // Disable WYSIWYG editor if Markdown is enabled } if (isset($editData['edit']['main.currentVersion'])) { @@ -133,6 +136,12 @@ class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-cente
+ + + +