mirror of
https://github.com/zadam/trilium.git
synced 2024-11-11 18:08:13 +08:00
optimize length of type/mime type labels
This commit is contained in:
parent
d1992b061c
commit
36b575c286
2 changed files with 3 additions and 3 deletions
|
@ -59,8 +59,8 @@ const MIME_TYPES_DICT = [
|
||||||
{ title: "Pug", mime: "text/x-pug" },
|
{ title: "Pug", mime: "text/x-pug" },
|
||||||
{ default: true, title: "Java", mime: "text/x-java" },
|
{ default: true, title: "Java", mime: "text/x-java" },
|
||||||
{ title: "Java Server Pages", mime: "application/x-jsp" },
|
{ title: "Java Server Pages", mime: "application/x-jsp" },
|
||||||
{ default: true, title: 'JavaScript frontend', mime: 'application/javascript;env=frontend' },
|
{ default: true, title: 'JS frontend', mime: 'application/javascript;env=frontend' },
|
||||||
{ default: true, title: 'JavaScript backend', mime: 'application/javascript;env=backend' },
|
{ default: true, title: 'JS backend', mime: 'application/javascript;env=backend' },
|
||||||
{ default: true, title: "JSON", mime: "application/json" },
|
{ default: true, title: "JSON", mime: "application/json" },
|
||||||
{ title: "JSON-LD", mime: "application/ld+json" },
|
{ title: "JSON-LD", mime: "application/ld+json" },
|
||||||
{ title: "JSX", mime: "text/jsx" },
|
{ title: "JSX", mime: "text/jsx" },
|
||||||
|
|
|
@ -10,7 +10,7 @@ const NOTE_TYPES = [
|
||||||
|
|
||||||
{ type: "text", mime: "text/html", title: "Text", selectable: true },
|
{ type: "text", mime: "text/html", title: "Text", selectable: true },
|
||||||
{ type: "relation-map", mime: "application/json", title: "Relation Map", selectable: true },
|
{ type: "relation-map", mime: "application/json", title: "Relation Map", selectable: true },
|
||||||
{ type: "render", mime: '', title: "Render HTML note", selectable: true },
|
{ type: "render", mime: '', title: "Render Note", selectable: true },
|
||||||
{ type: "code", mime: 'text/plain', title: "Code", selectable: true }
|
{ type: "code", mime: 'text/plain', title: "Code", selectable: true }
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue