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:
@@ -358,6 +358,12 @@ export class SNComponentManager
|
||||
return this.viewers.find((viewer) => viewer.identifier === identifier)
|
||||
}
|
||||
|
||||
public findComponentWithPackageIdentifier(identifier: string): ComponentInterface | undefined {
|
||||
return this.items.getDisplayableComponents().find((component) => {
|
||||
return component.identifier === identifier
|
||||
})
|
||||
}
|
||||
|
||||
private componentViewerForSessionKey(key: string): ComponentViewerInterface | undefined {
|
||||
return this.viewers.find((viewer) => viewer.sessionKey === key)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user