mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00

* Move field description into EditingArea as placeholder
* Prevent insertion of breaks into empty fields
to allow :empty CSS selector to also work on fields other than the first one.
* Remove redundant setContext from EditingArea
* Fix import order
* Revert "Prevent insertion of breaks into empty fields"
This reverts commit 1615fd5cf4
.
* Use class:empty instead of :empty CSS pseudo-class
* Restrict description to single line, ellipse overflow
* Make description in field dialog a bit clearer
14 lines
789 B
TypeScript
14 lines
789 B
TypeScript
// Copyright: Ankitects Pty Ltd and contributors
|
|
// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
|
|
|
/// <reference types="../lib/image-import" />
|
|
|
|
export { default as incrementClozeIcon } from "../icons/contain-plus.svg";
|
|
export { default as alertIcon } from "@mdi/svg/svg/alert.svg";
|
|
export { default as htmlOn } from "@mdi/svg/svg/code-tags.svg";
|
|
export { default as clozeIcon } from "@mdi/svg/svg/contain.svg";
|
|
export { default as richTextOff } from "@mdi/svg/svg/eye-off-outline.svg";
|
|
export { default as richTextOn } from "@mdi/svg/svg/eye-outline.svg";
|
|
export { default as stickyOff } from "@mdi/svg/svg/pin-off-outline.svg";
|
|
export { default as stickyOn } from "@mdi/svg/svg/pin-outline.svg";
|
|
export { default as htmlOff } from "@mdi/svg/svg/xml.svg";
|