fix: Fixes issue where selecting a third-party editor/note-type as default for a tag would not correctly apply editor

This commit is contained in:
Mo
2023-08-01 13:53:15 -05:00
parent fe77508061
commit 73609ca7e3
4 changed files with 24 additions and 6 deletions

View File

@@ -31,6 +31,7 @@ export interface ComponentManagerInterface {
setPermissionDialogUIHandler(handler: (dialog: PermissionDialog) => void): void
findComponentWithPackageIdentifier(identifier: string): ComponentInterface | undefined
editorForNote(note: SNNote): UIFeature<EditorFeatureDescription | IframeComponentFeatureDescription>
getDefaultEditorIdentifier(currentTag?: SNTag): string