mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
added in-editor help for editing attributes
This commit is contained in:
@@ -11,7 +11,7 @@ function renderAttribute(attribute, $container, renderIsInheritable) {
|
||||
$container.append(document.createTextNode(formatValue(attribute.value)));
|
||||
}
|
||||
|
||||
$container.append(' ');
|
||||
$container.append(" ");
|
||||
} else if (attribute.type === 'relation') {
|
||||
if (attribute.isAutoLink) {
|
||||
return;
|
||||
@@ -20,7 +20,7 @@ function renderAttribute(attribute, $container, renderIsInheritable) {
|
||||
if (attribute.value) {
|
||||
$container.append(document.createTextNode('~' + attribute.name + isInheritable + "="));
|
||||
$container.append(createNoteLink(attribute.value));
|
||||
$container.append(" ");
|
||||
$container.append(" ");
|
||||
} else {
|
||||
ws.logError(`Relation ${attribute.attributeId} has empty target`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user