Add placeholder for rich text editor (#9613)
* Add placeholder for rich text editor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user