Skip to content

Build your personal knowledge base with Trilium Notes

1.0 KB
Raw Blame
export const TOOLBAR_COMPONENT_NAME = "footnote";

export const ELEMENTS = {
    footnoteItem: "footnoteItem",
    footnoteReference: "footnoteReference",
    footnoteSection: "footnoteSection",
    footnoteContent: "footnoteContent",
    footnoteBackLink: "footnoteBackLink"
};

export const CLASSES = {
    footnoteContent: "footnote-content",
    footnoteItem: "footnote-item",
    footnoteReference: "footnote-reference",
    footnoteSection: "footnote-section",
    footnoteBackLink: "footnote-back-link",
    footnotes: "footnotes",
    hidden: "hidden"
};

export const COMMANDS = {
    insertFootnote: "InsertFootnote"
};

export const ATTRIBUTES = {
    footnoteContent: "data-footnote-content",
    footnoteId: "data-footnote-id",
    footnoteIndex: "data-footnote-index",
    footnoteItem: "data-footnote-item",
    footnoteReference: "data-footnote-reference",
    footnoteSection: "data-footnote-section",
    footnoteBackLink: "data-footnote-back-link",
    footnoteBackLinkHref: "data-footnote-back-link-href"
};