@bigbinary/neeto-editor 1.47.12 → 1.47.14
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/Editor.js +227 -69
- package/dist/Editor.js.map +1 -1
- package/dist/EditorContent.js +1 -1
- package/dist/FormikEditor.js +2 -1
- package/dist/FormikEditor.js.map +1 -1
- package/dist/Menu.js +1 -1
- package/dist/{chunk-Db3trsz6.js → chunk-CBY2h1zh.js} +2 -2
- package/dist/{chunk-Db3trsz6.js.map → chunk-CBY2h1zh.js.map} +1 -1
- package/dist/{chunk-DpvlQ94X.js → chunk-DmstYxyh.js} +2 -2
- package/dist/{chunk-DpvlQ94X.js.map → chunk-DmstYxyh.js.map} +1 -1
- package/dist/cjs/Editor.cjs.js +227 -69
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/EditorContent.cjs.js +1 -1
- package/dist/cjs/FormikEditor.cjs.js +2 -1
- package/dist/cjs/FormikEditor.cjs.js.map +1 -1
- package/dist/cjs/Menu.cjs.js +1 -1
- package/dist/cjs/{chunk-DnuP-Z6c.cjs.js → chunk-26e51eTo.cjs.js} +2 -1
- package/dist/cjs/{chunk-DnuP-Z6c.cjs.js.map → chunk-26e51eTo.cjs.js.map} +1 -1
- package/dist/cjs/{chunk-DBc-t5t0.cjs.js → chunk-CWE188ZD.cjs.js} +2 -2
- package/dist/cjs/{chunk-DBc-t5t0.cjs.js.map → chunk-CWE188ZD.cjs.js.map} +1 -1
- package/dist/cjs/index.cjs.js +8 -7
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/utils.cjs.js +1 -1
- package/dist/editor-stats.html +1 -19
- package/dist/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/utils.js +1 -1
- package/package.json +1 -1
- package/src/translations/en.json +10 -1
|
@@ -12632,7 +12632,7 @@ var substituteVariables = function substituteVariables(highlightedContent, varia
|
|
|
12632
12632
|
});
|
|
12633
12633
|
};
|
|
12634
12634
|
var convertPlainTextToHtml = function convertPlainTextToHtml(htmlString) {
|
|
12635
|
-
if (
|
|
12635
|
+
if (/^<[a-z].*>/i.test(htmlString.trim())) return htmlString;
|
|
12636
12636
|
return htmlString.split("\n").reduce(function (html, str) {
|
|
12637
12637
|
return "".concat(html, "<p>").concat(str, "</p>");
|
|
12638
12638
|
}, "");
|
|
@@ -12642,4 +12642,4 @@ exports.applyLineHighlighting = applyLineHighlighting;
|
|
|
12642
12642
|
exports.applySyntaxHighlightingAndLineNumbers = applySyntaxHighlightingAndLineNumbers;
|
|
12643
12643
|
exports.convertPlainTextToHtml = convertPlainTextToHtml;
|
|
12644
12644
|
exports.substituteVariables = substituteVariables;
|
|
12645
|
-
//# sourceMappingURL=chunk-
|
|
12645
|
+
//# sourceMappingURL=chunk-CWE188ZD.cjs.js.map
|