@khanacademy/perseus-editor 18.2.2 → 18.2.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/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/es/index.js
CHANGED
|
@@ -54,7 +54,7 @@ import arrowCounterClockwise from '@phosphor-icons/core/bold/arrow-counter-clock
|
|
|
54
54
|
|
|
55
55
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
56
56
|
const libName = "@khanacademy/perseus-editor";
|
|
57
|
-
const libVersion = "18.2.
|
|
57
|
+
const libVersion = "18.2.3";
|
|
58
58
|
addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
59
59
|
|
|
60
60
|
const devices = {
|
|
@@ -3936,7 +3936,7 @@ class Editor extends React.Component {
|
|
|
3936
3936
|
} else if (templateType === "titledTable") {
|
|
3937
3937
|
template = "|| **Table title** ||\n" + "header 1 | header 2 | header 3\n" + "- | - | -\n" + "data 1 | data 2 | data 3\n" + "data 4 | data 5 | data 6\n" + "data 7 | data 8 | data 9";
|
|
3938
3938
|
} else if (templateType === "alignment") {
|
|
3939
|
-
template = "$\\begin{align}
|
|
3939
|
+
template = "$\\begin{align} \n" + "\\\\\\\\\n" + "\\end{align}$";
|
|
3940
3940
|
} else if (templateType === "piecewise") {
|
|
3941
3941
|
template = "$f(x) = \\begin{cases}\n" + "7 & \\text{if }x=1 \\\\\n" + "f(x-1)+5 & \\text{if }x > 1\n" + "\\end{cases}$";
|
|
3942
3942
|
} else if (templateType === "allWidgets") {
|