mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
ability to remove attribute with mouse + other tweaks
This commit is contained in:
@@ -410,7 +410,9 @@ export default class AttributeEditorWidget extends TabAwareWidget {
|
||||
const $attributesContainer = $("<div>");
|
||||
|
||||
for (const attribute of ownedAttributes) {
|
||||
attributeRenderer.renderAttribute(attribute, $attributesContainer, true);
|
||||
if (!attribute.isDeleted) {
|
||||
attributeRenderer.renderAttribute(attribute, $attributesContainer, true);
|
||||
}
|
||||
}
|
||||
|
||||
this.textEditor.setData($attributesContainer.html());
|
||||
|
||||
Reference in New Issue
Block a user