Add placeholder for rich text editor (#9613)
* Add placeholder for rich text editor
This commit is contained in:
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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue