1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-24 15:49:44 +02:00

Allow rich rext for Site Message and Space Desc

Closes #291

Style both site-wide message and per space descriptions using the fully-featured rich text editor.
This commit is contained in:
HarveyKandola 2019-11-15 12:41:08 +00:00
parent 8970a21b58
commit 5c1ad25dc9
8 changed files with 156 additions and 10 deletions

View file

@ -6,7 +6,9 @@
</div>
<div class="form-group">
<label id="siteMessage">Site Message</label>
{{textarea id="siteMessage" rows="3" value=model.general.message class=(if hasMessageInputError "form-control is-invalid" "form-control")}}
<div id="editor-message" class="wysiwyg wysiwyg-editor">
{{{model.general.message}}}
</div>
<small class="form-text text-muted">Provide short message explaining this Documize instance</small>
</div>
<div class="form-group">
@ -59,4 +61,4 @@
</div>
{{ui/ui-button color=constants.Color.Green light=true icon=constants.Icon.Settings label=constants.Label.Save onClick=(action "save")}}
</div>
</div>