feat: Markdown, Rich text, Code, and Checklist note types have been moved to the new Plugins preferences pane. Previous notes created using these types will not experience any disruption. To create new notes using these types, you can reinstall them from the Plugins preferences screen. It is recommended to use the Super note type in place of these replaced note types. (#2630)
This commit is contained in:
@@ -67,13 +67,13 @@ describe('note view controller', () => {
|
||||
it('should create notes with markdown note type', async () => {
|
||||
application.items.getDisplayableComponents = jest.fn().mockReturnValue([
|
||||
{
|
||||
identifier: NativeFeatureIdentifier.TYPES.MarkdownProEditor,
|
||||
identifier: NativeFeatureIdentifier.TYPES.DeprecatedMarkdownProEditor,
|
||||
} as ComponentItem,
|
||||
])
|
||||
|
||||
application.componentManager.getDefaultEditorIdentifier = jest
|
||||
.fn()
|
||||
.mockReturnValue(NativeFeatureIdentifier.TYPES.MarkdownProEditor)
|
||||
.mockReturnValue(NativeFeatureIdentifier.TYPES.DeprecatedMarkdownProEditor)
|
||||
|
||||
const controller = new NoteViewController(
|
||||
undefined,
|
||||
|
||||
Reference in New Issue
Block a user