feat: Add support for rich content for message in ongoing campaigns (#2577)

This commit is contained in:
Sivin Varghese 2021-08-03 19:38:51 +05:30 committed by GitHub
parent 92c14fa87d
commit 7e960b7c72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 78 additions and 13 deletions

View file

@ -57,6 +57,7 @@ export default {
value: { type: String, default: '' },
placeholder: { type: String, default: '' },
isPrivate: { type: Boolean, default: false },
isFormatMode: { type: Boolean, default: false },
},
data() {
return {
@ -280,4 +281,25 @@ export default {
padding: 0 var(--space-smaller);
}
}
.editor-wrap {
margin-bottom: var(--space-normal);
}
.message-editor {
border: 1px solid var(--color-border);
border-radius: var(--border-radius-normal);
padding: 0 var(--space-slab);
margin-bottom: 0;
}
.editor_warning {
border: 1px solid var(--r-400);
}
.editor-warning__message {
color: var(--r-400);
font-weight: var(--font-weight-normal);
padding: var(--space-smaller) 0 0 0;
}
</style>