Anki/ts/lib/context-keys.ts
Matthias Metelka 3dca559f88 Create separate collapsed field state
this means users can collapse fields with the HTML editor open and it will stay open when the field is expanded again.
2022-08-11 23:52:38 +02:00

8 lines
379 B
TypeScript

// Copyright: Ankitects Pty Ltd and contributors
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export const fontFamilyKey = Symbol("fontFamily");
export const fontSizeKey = Symbol("fontSize");
export const directionKey = Symbol("direction");
export const descriptionKey = Symbol("description");
export const collapsedKey = Symbol("collapsed");