@mnykj/alleditor-basic-modules 1.0.1 → 1.0.2
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/index.esm.js +4 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -4967,7 +4967,10 @@ var imageToHtmlConf = {
|
|
|
4967
4967
|
function parseHtml$3(elem, children, editor) {
|
|
4968
4968
|
var $elem = $(elem);
|
|
4969
4969
|
var href = $elem.attr('data-href') || '';
|
|
4970
|
-
|
|
4970
|
+
try {
|
|
4971
|
+
href = decodeURIComponent(href);
|
|
4972
|
+
} catch (_a) {
|
|
4973
|
+
}
|
|
4971
4974
|
return {
|
|
4972
4975
|
type: 'image',
|
|
4973
4976
|
src: $elem.attr('src') || '',
|