fix(deploy): retire sanity-check qui bloquait le deploy (vars pas toutes dans Gitea)
Some checks failed
CI / Lint, Unit Tests & Build (push) Successful in 5m39s
CI / Deploy production (on server) (push) Failing after 3s

This commit is contained in:
Antigravity
2026-06-28 14:55:44 +00:00
parent 56ce662d38
commit 10101e5918
10 changed files with 46 additions and 45 deletions

View File

@@ -201,9 +201,13 @@ export function NoteEditorDialog({ onClose }: NoteEditorDialogProps) {
noteContent={state.content}
noteImages={state.allImages}
noteId={note.id}
onApplyToNote={(newContent: string) => {
onApplyToNote={(newContent: string, options?: { asRichText?: boolean }) => {
actions.setPreviousContentForCopilot(state.content)
actions.setContent(newContent)
if (options?.asRichText) {
actions.convertToRichText(newContent)
} else {
actions.setContent(newContent)
}
}}
onUndoLastAction={state.previousContentForCopilot !== null ? () => {
if (state.previousContentForCopilot !== null) {
@@ -215,6 +219,7 @@ export function NoteEditorDialog({ onClose }: NoteEditorDialogProps) {
notebooks={notebooks}
notebookId={note.notebookId ?? undefined}
notebookName={notebooks.find(nb => nb.id === note.notebookId)?.name ?? undefined}
diagramInsertFormat={state.isMarkdown ? 'markdown' : 'html'}
/>
)}
</DialogContent>