mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
feat(popup_editor): display promoted attributes
This commit is contained in:
parent
ed68dda70b
commit
59ce2072c5
@ -267,6 +267,7 @@ export default class DesktopLayout {
|
|||||||
.child(new NoteIconWidget())
|
.child(new NoteIconWidget())
|
||||||
.child(new NoteTitleWidget()))
|
.child(new NoteTitleWidget()))
|
||||||
.child(new ClassicEditorToolbar())
|
.child(new ClassicEditorToolbar())
|
||||||
|
.child(new PromotedAttributesWidget())
|
||||||
.child(new NoteDetailWidget()));
|
.child(new NoteDetailWidget()));
|
||||||
|
|
||||||
applyModals(rootContainer);
|
applyModals(rootContainer);
|
||||||
|
@ -69,11 +69,6 @@ interface AttributeResult {
|
|||||||
attributeId: string;
|
attributeId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* This widget is quite special because it's used in the desktop ribbon, but in mobile outside of ribbon.
|
|
||||||
* This works without many issues (apart from autocomplete), but it should be kept in mind when changing things
|
|
||||||
* and testing.
|
|
||||||
*/
|
|
||||||
export default class PromotedAttributesWidget extends NoteContextAwareWidget {
|
export default class PromotedAttributesWidget extends NoteContextAwareWidget {
|
||||||
|
|
||||||
private $container!: JQuery<HTMLElement>;
|
private $container!: JQuery<HTMLElement>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user