Ver código fonte

:art: fix https://github.com/siyuan-note/siyuan/issues/8232

Vanessa 2 anos atrás
pai
commit
8a1bf4c833
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      app/src/assets/scss/mobile.scss

+ 2 - 2
app/src/assets/scss/mobile.scss

@@ -453,12 +453,12 @@
   }
 }
 
-html .protyle-wysiwyg [spellcheck]:empty:before {
+html .protyle-wysiwyg [spellcheck][contenteditable="true"]:empty:before {
   content: "Enter text";
   color: var(--b3-theme-on-surface-light);
 }
 
-html[lang="zh_CN"] .protyle-wysiwyg [spellcheck]:empty:before {
+html[lang="zh_CN"] .protyle-wysiwyg [spellcheck][contenteditable="true"]:empty:before {
   content: "键入文字";
   color: var(--b3-theme-on-surface-light);
 }