Timothy Jaeryang Baek 3 meses atrás
pai
commit
9b5da77ffc

+ 1 - 0
backend/requirements.txt

@@ -6,6 +6,7 @@ python-multipart==0.0.20
 python-socketio==5.13.0
 python-jose==3.4.0
 passlib[bcrypt]==1.7.4
+cryptography
 
 requests==2.32.4
 aiohttp==3.11.11

+ 1 - 0
pyproject.toml

@@ -14,6 +14,7 @@ dependencies = [
     "python-socketio==5.13.0",
     "python-jose==3.4.0",
     "passlib[bcrypt]==1.7.4",
+    "cryptography",
 
     "requests==2.32.4",
     "aiohttp==3.11.11",

+ 1 - 1
src/lib/components/notes/NoteEditor.svelte

@@ -873,9 +873,9 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
 				<RichTextInput
 					className="input-prose-sm px-0.5"
 					bind:value={note.data.content.json}
-					placeholder={$i18n.t('Write something...')}
 					html={note.data?.content?.html}
 					json={true}
+					placeholder={$i18n.t('Write something...')}
 					editable={versionIdx === null && !enhancing}
 					onChange={(content) => {
 						note.data.content.html = content.html;