Add placeholder for rich text editor (#9613)

* Add placeholder for rich text editor
This commit is contained in:
Florian Duros
2022-11-24 10:31:56 +00:00
committed by GitHub
parent 8b8d24c24c
commit 7c63d52500
8 changed files with 109 additions and 19 deletions
@@ -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;
}
}