yomichan/ext/data/schemas
Stephen Kraus 6a74746113
Add new structured content features: lists and the HTML lang attribute (#2129)
* Add support for structured content lists and `list-style-type` style

A full list of supported style types is documented here:
https://developer.mozilla.org/en-US/docs/Web/CSS/list-style-type

There's nothing in this code preventing a term bank from assigning,
for example, a `list-style-type` style to a `div` element, but it
doesn't seem like browsers will complain about things like that.

* Add support for `lang` attribute in structured content

Support added for the following node types:

"ruby", "rt", "rp", "table", "thead", "tbody", "tfoot", "tr", "td",
"th", "span", "div", "ol", "ul", "li", "a"

I couldn't get it to work for the alt-hover text on "img" tags.

Tests are included in the file
"test/data/dictionaries/valid-dictionary/term_bank_1.json"

* Add styles for structured content lists

* Add override rules for new structured-content list styles

see: https://github.com/FooSoft/yomichan/pull/2129

Co-authored-by: stephenmk <stephenmk@users.noreply.github.com>
2022-05-14 09:59:38 -04:00
..
custom-audio-list-schema.json Move data folder (#1371) 2021-02-12 19:56:24 -05:00
dictionary-index-schema.json Enable frequency dictionaries to specify the frequency mode (#1944) 2021-09-26 11:08:25 -04:00
dictionary-kanji-bank-v1-schema.json Move data folder (#1371) 2021-02-12 19:56:24 -05:00
dictionary-kanji-bank-v3-schema.json Move data folder (#1371) 2021-02-12 19:56:24 -05:00
dictionary-kanji-meta-bank-v3-schema.json String frequency support (#1989) 2021-10-14 21:26:53 -04:00
dictionary-tag-bank-v3-schema.json Move data folder (#1371) 2021-02-12 19:56:24 -05:00
dictionary-term-bank-v1-schema.json List vz rule identifier in term bank schema (#1843) 2021-07-19 18:42:12 -04:00
dictionary-term-bank-v3-schema.json Add new structured content features: lists and the HTML lang attribute (#2129) 2022-05-14 09:59:38 -04:00
dictionary-term-meta-bank-v3-schema.json String frequency support (#1989) 2021-10-14 21:26:53 -04:00
options-schema.json Hide popup on cursor exit (#2109) 2022-04-03 22:52:53 -04:00