Add Feature: User can have richer formatted text into the comments (unexpected theme changes fixed)

This commit is contained in:
Sam X. Chen 2019-07-25 16:26:33 -04:00
parent a5c1395c46
commit 8f899fca72
2 changed files with 24 additions and 1 deletions

View file

@ -1,6 +1,7 @@
Template.editor.onRendered(() => {
const textareaSelector = 'textarea';
const enableRicherEditor = Meteor.settings.public.RICHER_EDITOR || true;
const enableRicherEditor =
Meteor.settings.public.RICHER_CARD_COMMENT_EDITOR || true;
const mentions = [
// User mentions
{

View file

@ -9,6 +9,28 @@ global-reset()
.note-popover .popover-content .note-color-palette div .note-color-btn, .panel-heading.note-toolbar .note-color-palette div .note-color-btn
background: none
a:focus
outline: unset
outline-offset: unset
a:hover,a:focus
color: unset
text-decoration: unset
.badge
display: unset
min-width: unset
padding: unset
font-size: unset
font-weight: unset
line-height: unset
color: unset
text-align: unset
white-space: unset
vertical-align: unset
background-color: unset
border-radius: unset
html, body, input, select, textarea, button
font: 14px Roboto, "Helvetica Neue", Arial, Helvetica, sans-serif
line-height: 18px