mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
Merge remote-tracking branch 'origin/math2'
# Conflicts: # package-lock.json
This commit is contained in:
@@ -283,7 +283,9 @@ export default class AttributeDetailWidget extends TabAwareWidget {
|
||||
return false;
|
||||
}
|
||||
|
||||
this.attribute.value = suggestion.notePath;
|
||||
const pathChunks = suggestion.notePath.split('/');
|
||||
|
||||
this.attribute.value = pathChunks[pathChunks.length - 1]; // noteId
|
||||
|
||||
this.triggerCommand('updateAttributeList', { attributes: this.allAttributes });
|
||||
this.updateRelatedNotes();
|
||||
|
||||
@@ -181,7 +181,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget {
|
||||
});
|
||||
}
|
||||
|
||||
addTextToActiveEditorEvent(text) {
|
||||
addTextToActiveEditorEvent({text}) {
|
||||
if (!this.isActive()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user