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:
parent
8970a21b58
commit
5c1ad25dc9
8 changed files with 156 additions and 10 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue