@liascript/editor 1.1.7--0.16.1 → 1.1.7--0.16.3
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 +57 -0
- package/README.md +1 -1
- package/dist/ace.js +1 -1
- package/dist/index.0178bf58.js +1 -0
- package/dist/{index.d86379f4.js → index.11db52ff.js} +1 -1
- package/dist/index.4c3cd848.js +6 -0
- package/dist/index.59c6bf24.js +1 -0
- package/dist/index.882bce07.js +1 -0
- package/dist/index.9ee3d3aa.css +1 -0
- package/dist/{index.53dbecfd.js → index.ce81be0a.js} +1 -1
- package/dist/index.dd678bd3.js +1 -0
- package/dist/index.fb30f4c5.js +6 -0
- package/dist/index.html +1 -1
- package/dist/theme-cloud_editor.js +1 -1
- package/package.json +4 -3
- package/dist/index.55026812.js +0 -1
- package/dist/index.5ecf2628.js +0 -1
- package/dist/index.756a5816.css +0 -1
- package/dist/index.7748fab8.js +0 -6
- package/dist/index.796e2c5e.js +0 -1
- package/dist/index.7d02065b.js +0 -1
- package/dist/index.96efa9cf.js +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,63 @@ 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.3] - 21/10/2024
|
|
8
|
+
|
|
9
|
+
- feat(Typography): It is now possible within a LiaScript Markdown to apply the following typographical elements:
|
|
10
|
+
|
|
11
|
+
- A sequence of dashes is now translated into:
|
|
12
|
+
|
|
13
|
+
1. - (single dash): Hyphen or minus sign
|
|
14
|
+
2. -- (double dash): En dash
|
|
15
|
+
3. --- (triple dash): Em dash
|
|
16
|
+
|
|
17
|
+
- Translate ... to unicode ellipsis
|
|
18
|
+
|
|
19
|
+
- Language base quotes single and double are translated into their typographical counterparts, based on the language of the course. Additionally these two types have been added to the escaped elements `\"` and `\'`.
|
|
20
|
+
|
|
21
|
+
- improve(HTML-Parser): The parsing speed for HTML has been increased, due to a new abort mechanism, which will stop the parsing of a HTML end-tag has been detected. This will prevent the parser from running into an long loop.
|
|
22
|
+
|
|
23
|
+
- improve(Parser): Some minor improvements for regular expressions have been applied after benchmarking the parser.
|
|
24
|
+
|
|
25
|
+
## [0.16.2] - 04/10/2024
|
|
26
|
+
|
|
27
|
+
- 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.
|
|
28
|
+
|
|
29
|
+
Additionally, a URL translation for download links for Zip-files stored on the following services is now supported:
|
|
30
|
+
|
|
31
|
+
- [GitHub](https://github.com)
|
|
32
|
+
- [OneDrive](https://onedrive.live.com)
|
|
33
|
+
- [Dropbox](https://www.dropbox.com)
|
|
34
|
+
|
|
35
|
+
- feat(Table): Add `data-sortable` to tables, which can be set to `true` or `false` to enable or disable sorting for a column.
|
|
36
|
+
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.
|
|
37
|
+
|
|
38
|
+
```markdown
|
|
39
|
+
<!-- data-sortable="false" -->
|
|
40
|
+
| Header 1 | <!-- data-sortable="true" --> Header 2 |
|
|
41
|
+
| :------- | :------------------------------------- |
|
|
42
|
+
| Item 1 | Item 2 |
|
|
43
|
+
| Item 5 | Item 6 |
|
|
44
|
+
| Item 9 | Item 10 |
|
|
45
|
+
| Item 13 | Item 14 |
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
- 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.
|
|
49
|
+
|
|
50
|
+
- improve(Quiz): Quiz definitions now allow for escaped strings, such that a text-inputs
|
|
51
|
+
|
|
52
|
+
`[[a\|b]]`
|
|
53
|
+
|
|
54
|
+
or selections allow
|
|
55
|
+
|
|
56
|
+
`[[\(a\) | (b) | \[c\]]]`
|
|
57
|
+
|
|
58
|
+
- feat(Formula): Pass global `.katex` CSS to webcomponent
|
|
59
|
+
|
|
60
|
+
Somehow the global styles were not passed to the webcomponent, although
|
|
61
|
+
the shadow-DOM was open. This is now done explizitly by querying all
|
|
62
|
+
definitions for .katex and injecting them into the webcomponent.
|
|
63
|
+
|
|
7
64
|
## [0.16.1] - 27/09/2024
|
|
8
65
|
|
|
9
66
|
- feat: Allow to upload LiaScript courses at the Index-page directly from the device as single files or as ZIP archives
|
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.
|
|
26
|
+
> `1.1.7--0.16.3`. 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
|