mirror of
https://github.com/streetwriters/notesnook.git
synced 2026-02-24 04:00:59 +01:00
feat: make editor placeholders more user friendly
This commit is contained in:
@@ -212,12 +212,13 @@ function Editor(props) {
|
||||
onFocus={() => {
|
||||
toggleProperties(false);
|
||||
}}
|
||||
placeholder="Type anything here"
|
||||
placeholder="Start writing your note here..."
|
||||
container=".editor"
|
||||
scrollContainer=".editorScroll"
|
||||
onSave={() => {
|
||||
saveSession();
|
||||
}}
|
||||
initialContent={[{ insert: "\n" }]}
|
||||
changeInterval={500}
|
||||
onWordCountChanged={updateWordCount}
|
||||
onQuillInitialized={() => {
|
||||
|
||||
@@ -56,7 +56,7 @@ function TitleBox(props) {
|
||||
data-test-id="editor-title"
|
||||
className="editorTitle"
|
||||
autoFocus={shouldFocus}
|
||||
placeholder="Untitled"
|
||||
placeholder="Note title"
|
||||
as="textarea"
|
||||
width="100%"
|
||||
minHeight={[30, 30, 60]}
|
||||
|
||||
Reference in New Issue
Block a user