@liascript/editor 1.1.7--0.15.12 → 1.1.7--0.16.1
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 +9 -3
- package/README.md +1 -1
- package/dist/{Base.9a5d63ee.js → Base.605d9ab5.js} +1 -1
- package/dist/{Base.a9e738fa.js → Base.d8e1fc60.js} +1 -1
- package/dist/index.55026812.js +1 -0
- package/dist/index.5ecf2628.js +1 -0
- package/dist/index.756a5816.css +1 -0
- package/dist/index.796e2c5e.js +1 -0
- package/dist/index.7d02065b.js +1 -0
- package/dist/index.html +1 -1
- package/package.json +3 -1
- package/dist/index.270309fa.js +0 -1
- package/dist/index.2b67d179.js +0 -1
- package/dist/index.3d681c84.js +0 -1
- package/dist/index.72230c64.css +0 -1
- package/dist/index.d57ed7b9.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,7 +4,13 @@ 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.
|
|
7
|
+
## [0.16.1] - 27/09/2024
|
|
8
|
+
|
|
9
|
+
- feat: Allow to upload LiaScript courses at the Index-page directly from the device as single files or as ZIP archives
|
|
10
|
+
- improve: Hide skip navigation link
|
|
11
|
+
- improve(Macro): Escaping of `${` as `\${`
|
|
12
|
+
|
|
13
|
+
## [0.15.12] - 28/08/2024
|
|
8
14
|
|
|
9
15
|
- chore: Update npm packages
|
|
10
16
|
- improve(Macro): Parameter with more than 3 backticks
|
|
@@ -16,14 +22,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
16
22
|
|
|
17
23
|
The 3 backticks were hard-coded, hence it was not possible to pass markdown-blocks with code-blocks. Now it is possible to define multiline parameters with more than 3 backticks, allowing for more complex parameters. Basically it works like an ordinary code-block now, which can contain other code-blocks with less backticks.
|
|
18
24
|
|
|
19
|
-
## [0.15.11] - 22/
|
|
25
|
+
## [0.15.11] - 22/08/2024
|
|
20
26
|
|
|
21
27
|
- improve: Code-Terminal, which scrolls to the bottom on every new output
|
|
22
28
|
- feat: Add backslash followed by a newline in a paragraph, will result in a line-break
|
|
23
29
|
- fix: Single images with a block-comment were interpreted as a paragraph with a starting
|
|
24
30
|
image and thus resulted in a shorted image, with half of the size
|
|
25
31
|
|
|
26
|
-
## [0.15.10] - 14/
|
|
32
|
+
## [0.15.10] - 14/08/2024
|
|
27
33
|
|
|
28
34
|
- improve: Translations for code, now also translations for code copy-buttons
|
|
29
35
|
- improve: onload will block the execution of other scripts until it is finished
|
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.
|
|
26
|
+
> `1.1.7--0.16.1`. 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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("h7nmo",(function(n,o){e(n.exports,"Connector",(()=>i));var s=t("kEwQO"),r=t("e7gxU");class i{constructor(){}hasIndex(){return!1}storage(){return new s.LiaStorage}initSettings(e,t=!1){return r.Settings.init(e,t,this.setSettings)}setSettings(e){r.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(r.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=r.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t){console.log("getMisc not implemented")}}})),t.register("kEwQO",(function(t,n){e(t.exports,"LiaStorage",(()=>o));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}));
|
|
1
|
+
function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("h7nmo",(function(n,o){e(n.exports,"Connector",(()=>i));var s=t("kEwQO"),r=t("e7gxU");class i{constructor(){}hasIndex(){return!1}storage(){return new s.LiaStorage}initSettings(e,t=!1){return r.Settings.init(e,t,this.setSettings)}setSettings(e){r.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(r.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=r.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}async storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t,n){console.log("getMisc not implemented")}}})),t.register("kEwQO",(function(t,n){e(t.exports,"LiaStorage",(()=>o));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("1uw5Z",(function(n,o){e(n.exports,"Connector",(function(){return i}));var r=t("4c9ow"),s=t("2QXC3");class i{constructor(){}hasIndex(){return!1}storage(){return new r.LiaStorage}initSettings(e,t=!1){return s.Settings.init(e,t,this.setSettings)}setSettings(e){s.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(s.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=s.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t){console.log("getMisc not implemented")}}})),t.register("4c9ow",(function(t,n){e(t.exports,"LiaStorage",(function(){return o}));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}))}();
|
|
1
|
+
!function(){function e(e,t,n,o){Object.defineProperty(e,t,{get:n,set:o,enumerable:!0,configurable:!0})}var t=("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{}).parcelRequirea18f;t.register("1uw5Z",(function(n,o){e(n.exports,"Connector",(function(){return i}));var r=t("4c9ow"),s=t("2QXC3");class i{constructor(){}hasIndex(){return!1}storage(){return new r.LiaStorage}initSettings(e,t=!1){return s.Settings.init(e,t,this.setSettings)}setSettings(e){s.Settings.update(e)}getSettings(){let e="";try{e=localStorage.getItem(s.Settings.PORT)}catch(e){console.warn("cannot write to localStorage")}let t=null;if("string"==typeof e){try{t=JSON.parse(e)}catch(e){console.warn("getSettings =>",e)}t||(t=s.Settings.data),window.innerWidth<=768&&(t.table_of_contents=!1)}return t}open(e,t,n){}load(e){}store(e){}update(e,t){}slide(e){}getIndex(){}deleteFromIndex(e){}async storeToIndex(e){}restoreFromIndex(e,t){}reset(e,t){this.initSettings(null,!0)}async getFromIndex(e){return null}async addMisc(e,t,n,o){console.log("addMisc not implemented")}async getMisc(e,t,n){console.log("getMisc not implemented")}}})),t.register("4c9ow",(function(t,n){e(t.exports,"LiaStorage",(function(){return o}));class o{constructor(){}getItems(e=[]){"string"==typeof e&&(e=[e]);let t={};for(let n=0;n<e.length;n++){let o=localStorage.getItem(e[n]);t[e[n]]=o?JSON.parse(o):o}return t}setItems(e){this._setLocal(e)}_setLocal(e){if("object"==typeof e)for(const[t,n]of Object.entries(e))localStorage.setItem(t,JSON.stringify(n))}}}))}();
|