Add placeholder for rich text editor (#9613)

* Add placeholder for rich text editor
This commit is contained in:
Florian Duros 2022-11-24 11:31:56 +01:00 committed by GitHub
parent 8b8d24c24c
commit 7c63d52500
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 109 additions and 19 deletions

View file

@ -32,4 +32,15 @@ limitations under the License.
user-select: all;
}
}
.mx_WysiwygComposer_Editor_content_placeholder::before {
content: var(--placeholder);
width: 0;
height: 0;
overflow: visible;
display: inline-block;
pointer-events: none;
white-space: nowrap;
color: $tertiary-content;
}
}