mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-22 14:39:34 +01:00
feat: allow custom headline in note
This commit is contained in:
@@ -282,7 +282,7 @@ function isNoteEmpty(note, content) {
|
|||||||
|
|
||||||
function getNoteHeadline(note, content) {
|
function getNoteHeadline(note, content) {
|
||||||
if (note.locked) return "";
|
if (note.locked) return "";
|
||||||
return content.toHeadline();
|
return note.headline || content.toHeadline();
|
||||||
}
|
}
|
||||||
|
|
||||||
function getNoteTitle(note, content) {
|
function getNoteTitle(note, content) {
|
||||||
|
|||||||
Reference in New Issue
Block a user