mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	grammar
This commit is contained in:
		| @@ -13,8 +13,8 @@ async function createNote(parentNotePath, options = {}) { | ||||
|         target: 'into' | ||||
|     }, options); | ||||
|  | ||||
|     // if isProtected isn't available (user didn't enter password yet), then note is created as unencrypted | ||||
|     // but this is quite weird since user doesn't see WHERE the note is being created, so it shouldn't occur often | ||||
|     // if isProtected isn't available (user didn't enter password yet), then note is created as unencrypted, | ||||
|     // but this is quite weird since the user doesn't see WHERE the note is being created, so it shouldn't occur often | ||||
|     if (!options.isProtected || !protectedSessionHolder.isProtectedSessionAvailable()) { | ||||
|         options.isProtected = false; | ||||
|     } | ||||
| @@ -93,7 +93,7 @@ async function createNoteWithTypePrompt(parentNotePath, options = {}) { | ||||
|     return await createNote(parentNotePath, options); | ||||
| } | ||||
|  | ||||
| /* If first element is heading, parse it out and use it as a new heading. */ | ||||
| /* If the first element is heading, parse it out and use it as a new heading. */ | ||||
| function parseSelectedHtml(selectedHtml) { | ||||
|     const dom = $.parseHTML(selectedHtml); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user