yomichan/ext/js
toasted-nutbread 5dcc2315d2
Structured content auto language (#2131)
* Pass JapaneseUtil instance to StructuredContentGenerator

* Move body of createStructuredContent to an internal function

* Create _createStructuredContentGenericElement

* Wrap structured content in a <span>

* Change _createStructuredContent to _appendStructuredContent

* Add public appendStructuredContent function

* Add missing return

* Remove unused _createDocumentFragment

* Automatically assign lang=ja for content with Japanese characters
without an explicit language

* Add test
2022-05-14 18:12:57 -04:00
..
accessibility Workaround for Google Docs canvas rendering updates (#2096) 2022-04-02 09:38:40 -04:00
app Hide popup on cursor exit (#2109) 2022-04-03 22:52:53 -04:00
background Improve Anki storeMediaFile (#2084) 2022-03-13 21:17:41 -04:00
comm Update ClipboardReader.getImage implementation (#2085) 2022-03-13 21:17:48 -04:00
data Hide popup on cursor exit (#2109) 2022-04-03 22:52:53 -04:00
debug Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
display Structured content auto language (#2131) 2022-05-14 18:12:57 -04:00
dom Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
general Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
input Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
language Text scanner event capture (#2101) 2022-04-02 13:10:39 -04:00
media Rename MediaLoader to DisplayContentManager (#2087) 2022-03-14 21:42:33 -04:00
pages Add additional Anki card marker aliases (#2083) 2022-03-13 21:17:35 -04:00
script Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
templates Structured content auto language (#2131) 2022-05-14 18:12:57 -04:00
core.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00
yomichan.js Update copyright date (#2062) 2022-02-02 20:43:10 -05:00