From 6a1014d8c1654ccf2d6d06593dfb150e24116439 Mon Sep 17 00:00:00 2001 From: sbwalker Date: Thu, 18 Jul 2024 11:01:01 -0400 Subject: [PATCH] QuillJSTextEditor setting improvements --- .../Modules/Controls/QuillJSTextEditor.razor | 267 ++++++++++++------ .../Modules/Controls/QuillJSTextEditor.resx | 3 + Oqtane.Client/Resources/SharedResources.resx | 12 + 3 files changed, 189 insertions(+), 93 deletions(-) diff --git a/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor b/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor index 95f9fb0c..167514ae 100644 --- a/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor +++ b/Oqtane.Client/Modules/Controls/QuillJSTextEditor.razor @@ -6,7 +6,7 @@ @inject IStringLocalizer Localizer @inject IStringLocalizer SharedLocalizer -
+
@if (_allowRichText) { @@ -63,12 +63,6 @@ } - @if (_hasAdminPermission) - { - - - - }
@@ -94,10 +88,6 @@ @((MarkupString)"  ") } - else if(_hasAdminPermission) - { - - } @if (ReadOnly) { @@ -109,66 +99,93 @@ } } + @if (_allowSettings) + { + +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+