Files
notesnook/docs/help/contents/rich-text-editor/personalizing-rich-text-editor.md
01zulfi 0cc33f7a81 core: fix title generation when title format is set to $headline$ (#7739)
* core: generate headline title until user edit && update headline extraction
* when title format is set to $, keep generating headline title until user manually edits the title
* extract headline from first html tag with content rather than first paragraph

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

* core: extract headline up to 150 chars regardless of html tag
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

* core: improve note headline title code quality
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

* core: remove HEADLINE_CHARACTER_LIMIT constant
Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>

* web: only update title input if note title changes

---------

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
Co-authored-by: Abdullah Atta <abdullahatta@streetwriters.co>
2025-04-10 10:17:45 +05:00

1.6 KiB

Personalizing text editor

Customize some common editor defaults to get a personalized editing experience.

Default font size and font family

Desktop/Web

The default font size and font family for all notes in the notes editor can be configured from Settings > Editor Settings.

Mobile

The default font size and font family for all notes in the notes editor can be configured from Settings > Customization > Editor.


info

Custom fonts are not supported yet.

Default note title format in rich text editor

When you create a note in the text editor, a default title Note $date$ $time$ is automatically set. You can change the default title format to better fit your needs.

Go to Settings > Editor > Title format to customize the title formatting.

Supported formatting templates

$date$: Today's date

$time$: The current time

$count$: Current note count + 1

$timestamp$: Full date & time without any spaces or symbols (e.g. 202305261253)

$timestampz$: UTC offset added to timestamp

You can use a combination of above templates in the note title. For example Note $count$ - $date$ will become Note 150 - 06-22-2023.

$headline$: Up to first 10 words of the note's headline. This will keep updating the title as headline of the note changes until you manually edit the title. Shouldn't be used in combination with other templates.

Paragraph spacing

By default when you press enter on a line in the text editor, a new paragraph is created with double spacing. You can go to Settings > Customization > Editor to turn off Double spaced lines.