diff options
Diffstat (limited to 'css')
-rw-r--r-- | css/prosemirror.scss | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/css/prosemirror.scss b/css/prosemirror.scss index 0cd43af70..7b47a6e9d 100644 --- a/css/prosemirror.scss +++ b/css/prosemirror.scss @@ -205,4 +205,11 @@ } } - +.editor__content p.is-empty:first-child::before { + content: attr(data-empty-text); + float: left; + color: #aaa; + pointer-events: none; + height: 0; + font-style: italic; +} |