mirror of
https://github.com/wekan/wekan.git
synced 2026-02-10 10:14:21 +01:00
Add Feature: User can have richer formatted text into the comments (admin-panel fixed)
This commit is contained in:
parent
2eae236c5a
commit
a5c1395c46
4 changed files with 25 additions and 22 deletions
|
|
@ -1,6 +1,6 @@
|
|||
Template.editor.onRendered(() => {
|
||||
const textareaSelector = 'textarea';
|
||||
const disableRicherEditor = Meteor.settings.public.NO_RICHER_EDITOR;
|
||||
const enableRicherEditor = Meteor.settings.public.RICHER_EDITOR || true;
|
||||
const mentions = [
|
||||
// User mentions
|
||||
{
|
||||
|
|
@ -31,7 +31,7 @@ Template.editor.onRendered(() => {
|
|||
autosize($textarea);
|
||||
$textarea.escapeableTextComplete(mentions);
|
||||
};
|
||||
if (!disableRicherEditor) {
|
||||
if (enableRicherEditor) {
|
||||
const isSmall = Utils.isMiniScreen();
|
||||
const toolbar = isSmall
|
||||
? [
|
||||
|
|
|
|||
|
|
@ -6,6 +6,9 @@ global-reset()
|
|||
-webkit-box-sizing: unset
|
||||
box-sizing: unset
|
||||
|
||||
.note-popover .popover-content .note-color-palette div .note-color-btn, .panel-heading.note-toolbar .note-color-palette div .note-color-btn
|
||||
background: none
|
||||
|
||||
html, body, input, select, textarea, button
|
||||
font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif
|
||||
line-height: 18px
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue