feat: make editor placeholders more user friendly

This commit is contained in:
thecodrr
2021-01-17 15:18:08 +05:00
parent a1e0bc829f
commit 044a3d2131
2 changed files with 3 additions and 2 deletions

View File

@@ -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={() => {

View File

@@ -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]}