mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 15:19:01 +02:00
feat(web_view): hide attribute from attribute preview
This commit is contained in:
parent
54e3ab5139
commit
a1ac276be5
@ -79,7 +79,19 @@ async function renderAttributes(attributes: FAttribute[], renderIsInheritable: b
|
|||||||
return $container;
|
return $container;
|
||||||
}
|
}
|
||||||
|
|
||||||
const HIDDEN_ATTRIBUTES = ["originalFileName", "fileSize", "template", "inherit", "cssClass", "iconClass", "pageSize", "viewType", "geolocation", "docName"];
|
const HIDDEN_ATTRIBUTES = [
|
||||||
|
"originalFileName",
|
||||||
|
"fileSize",
|
||||||
|
"template",
|
||||||
|
"inherit",
|
||||||
|
"cssClass",
|
||||||
|
"iconClass",
|
||||||
|
"pageSize",
|
||||||
|
"viewType",
|
||||||
|
"geolocation",
|
||||||
|
"docName",
|
||||||
|
"webViewSrc"
|
||||||
|
];
|
||||||
|
|
||||||
async function renderNormalAttributes(note: FNote) {
|
async function renderNormalAttributes(note: FNote) {
|
||||||
const promotedDefinitionAttributes = note.getPromotedDefinitionAttributes();
|
const promotedDefinitionAttributes = note.getPromotedDefinitionAttributes();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user