@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/index.js
CHANGED
|
@@ -107,7 +107,7 @@ var arrowCounterClockwise__default = /*#__PURE__*/_interopDefaultLegacy(arrowCou
|
|
|
107
107
|
|
|
108
108
|
// This file is processed by a Rollup plugin (replace) to inject the production
|
|
109
109
|
const libName = "@khanacademy/perseus-editor";
|
|
110
|
-
const libVersion = "18.2.
|
|
110
|
+
const libVersion = "18.2.3";
|
|
111
111
|
perseusUtils.addLibraryVersionToPerseusDebug(libName, libVersion);
|
|
112
112
|
|
|
113
113
|
const devices = {
|
|
@@ -4086,7 +4086,7 @@ class Editor extends React__namespace.Component {
|
|
|
4086
4086
|
} else if (templateType === "titledTable") {
|
|
4087
4087
|
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";
|
|
4088
4088
|
} else if (templateType === "alignment") {
|
|
4089
|
-
template = "$\\begin{align}
|
|
4089
|
+
template = "$\\begin{align} \n" + "\\\\\\\\\n" + "\\end{align}$";
|
|
4090
4090
|
} else if (templateType === "piecewise") {
|
|
4091
4091
|
template = "$f(x) = \\begin{cases}\n" + "7 & \\text{if }x=1 \\\\\n" + "f(x-1)+5 & \\text{if }x > 1\n" + "\\end{cases}$";
|
|
4092
4092
|
} else if (templateType === "allWidgets") {
|