mirror of
https://github.com/zadam/trilium.git
synced 2024-09-22 16:46:09 +08:00
optimize length of type/mime type labels
This commit is contained in:
parent
d1992b061c
commit
36b575c286
|
@ -59,8 +59,8 @@ const MIME_TYPES_DICT = [
|
|||
{ title: "Pug", mime: "text/x-pug" },
|
||||
{ default: true, title: "Java", mime: "text/x-java" },
|
||||
{ title: "Java Server Pages", mime: "application/x-jsp" },
|
||||
{ default: true, title: 'JavaScript frontend', mime: 'application/javascript;env=frontend' },
|
||||
{ default: true, title: 'JavaScript backend', mime: 'application/javascript;env=backend' },
|
||||
{ default: true, title: 'JS frontend', mime: 'application/javascript;env=frontend' },
|
||||
{ default: true, title: 'JS backend', mime: 'application/javascript;env=backend' },
|
||||
{ default: true, title: "JSON", mime: "application/json" },
|
||||
{ title: "JSON-LD", mime: "application/ld+json" },
|
||||
{ title: "JSX", mime: "text/jsx" },
|
||||
|
|
|
@ -10,7 +10,7 @@ const NOTE_TYPES = [
|
|||
|
||||
{ type: "text", mime: "text/html", title: "Text", 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 }
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in a new issue