@liascript/editor 1.1.7--0.16.0 → 1.1.7--0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -4,11 +4,50 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.16.0] - 27/09/2024
7
+ ## [0.16.2] - 04/10/2024
8
+
9
+ - feat(Zip): Courses can now be uploaded as ZIP files, which will be automatically extracted and loaded. Also courses can be hosted as Zip-files, which will be extracted on the fly.
10
+
11
+ Additionally, a URL translation for download links for Zip-files stored on the following services is now supported:
12
+
13
+ - [GitHub](https://github.com)
14
+ - [OneDrive](https://onedrive.live.com)
15
+ - [Dropbox](https://www.dropbox.com)
16
+
17
+ - feat(Table): Add `data-sortable` to tables, which can be set to `true` or `false` to enable or disable sorting for a column.
18
+ By default every column is sortable, but this changed globally or on a per column basis. The defintion in the column header will overwrite the global setting.
19
+
20
+ ```markdown
21
+ <!-- data-sortable="false" -->
22
+ | Header 1 | <!-- data-sortable="true" --> Header 2 |
23
+ | :------- | :------------------------------------- |
24
+ | Item 1 | Item 2 |
25
+ | Item 5 | Item 6 |
26
+ | Item 9 | Item 10 |
27
+ | Item 13 | Item 14 |
28
+ ```
29
+
30
+ - feat(Table): Tables of type `none` which are not displayed as an visualization have now a non sticky first column. Previously the first column was sticky, while the others could be moved.
31
+
32
+ - improve(Quiz): Quiz definitions now allow for escaped strings, such that a text-inputs
33
+
34
+ `[[a\|b]]`
35
+
36
+ or selections allow
37
+
38
+ `[[\(a\) | (b) | \[c\]]]`
39
+
40
+ - feat(Formula): Pass global `.katex` CSS to webcomponent
41
+
42
+ Somehow the global styles were not passed to the webcomponent, although
43
+ the shadow-DOM was open. This is now done explizitly by querying all
44
+ definitions for .katex and injecting them into the webcomponent.
45
+
46
+ ## [0.16.1] - 27/09/2024
8
47
 
9
48
  - feat: Allow to upload LiaScript courses at the Index-page directly from the device as single files or as ZIP archives
10
49
  - improve: Hide skip navigation link
11
- - improve(Macro): Escaping of ${ as \${
50
+ - improve(Macro): Escaping of `${` as `\${`
12
51
 
13
52
  ## [0.15.12] - 28/08/2024
14
53
 
package/README.md CHANGED
@@ -23,7 +23,7 @@ install via npm:
23
23
  `npm i @liascript/editor`
24
24
 
25
25
  > **Note:** The version information might look a bit different e.g.
26
- > `1.1.7--0.16.0`. The second version mirrors current version of LiaScript,
26
+ > `1.1.7--0.16.2`. The second version mirrors current version of LiaScript,
27
27
  > while the first number is referring to the changes of the editor-branch.
28
28
 
29
29
  ## HowTo