fix: super note improvements (#1991)
* fix: super note previews * fix; checkmark size * fix: top padding * fix: prevent delete shortcut * fix: spellcheck control * fix: only embed file if uploaded to current note * fix: ability to create new tag from editor autocomplete * feat: protected file embed handling * fix: event payload
This commit is contained in:
@@ -179,7 +179,7 @@ describe('NoteView', () => {
|
||||
application,
|
||||
})
|
||||
|
||||
await noteView.dismissProtectedWarning()
|
||||
await noteView.authorizeAndDismissProtectedWarning()
|
||||
|
||||
expect(notesController.setShowProtectedWarning).toHaveBeenCalledWith(false)
|
||||
})
|
||||
@@ -192,7 +192,7 @@ describe('NoteView', () => {
|
||||
application,
|
||||
})
|
||||
|
||||
await noteView.dismissProtectedWarning()
|
||||
await noteView.authorizeAndDismissProtectedWarning()
|
||||
|
||||
expect(notesController.setShowProtectedWarning).not.toHaveBeenCalled()
|
||||
})
|
||||
@@ -207,7 +207,7 @@ describe('NoteView', () => {
|
||||
application,
|
||||
})
|
||||
|
||||
await noteView.dismissProtectedWarning()
|
||||
await noteView.authorizeAndDismissProtectedWarning()
|
||||
|
||||
expect(notesController.setShowProtectedWarning).toHaveBeenCalledWith(false)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user