Remove note creation modal
Author: joseplayeroCreated Oct 5, 2024Updated Mar 1, 2026
Labels💎 Bounty💰 Rewarded
Problem
when creating a note, a modal opens to name the file for that note first before creating it.
Solution
Instead editor should open instantly (without opening modal) and the note should only be created only once there is content to be saved. The behaviour should be the same as obsidian.
- The naming of the note should be using either the markdown title (if the user types one) ensuring an hashes are removed from the note name.
- If the user does not type a markdown title, the first 20 characters should be used to name a new note.
- There will need to be automatic removal of characters that are not valid in a filename (make sure you use the same function in the create note modal)
- i'd recommend modifying the
writeEditorContentToDiskfunction (or something similar) so that if a filepath is not provided, it is generated automatically. But make sure to check no other code is broken that calls the same function
Contributing
please comment that you will attempt this before starting. A developer will then be assigned to this task. High quality, high readability code will receive a tip. Low quality code will not be accepted and a new developer will be assigned to the task.
Source: reorproject/reor