diff --git a/editormd.js b/editormd.js index af3350c5..165c6806 100644 --- a/editormd.js +++ b/editormd.js @@ -2,7 +2,7 @@ * Editor.md * * @file editormd.js - * @version v1.7.11 + * @version v1.7.12 * @description Open source online markdown editor. * @license MIT License * @author Pandao @@ -59,7 +59,7 @@ }; editormd.title = editormd.$name = "Editor.md"; - editormd.version = "1.7.11"; + editormd.version = "1.7.12"; editormd.homePage = "https://pandao.github.io/editor.md/"; editormd.classPrefix = "editormd-"; @@ -3990,7 +3990,7 @@ callback(); }; - css.href = fileName + `.css?version=${version}`; + css.href = fileName + `.css?editormd_version=${version}`; if(into === "head") { document.getElementsByTagName("head")[0].appendChild(css); @@ -4021,7 +4021,7 @@ script = document.createElement("script"); script.id = fileName.replace(/[\./]+/g, "-"); script.type = "text/javascript"; - script.src = fileName + `.js?version=${version}`; + script.src = fileName + `.js?editormd_version=${version}`; if (editormd.isIE8) { diff --git a/package-lock.json b/package-lock.json index 4a7363e6..bcc8bbbb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@ibm-skills-network/editor.md", - "version": "1.7.11", + "version": "1.7.12", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@ibm-skills-network/editor.md", - "version": "1.7.11", + "version": "1.7.12", "license": "MIT", "devDependencies": { "dateformatter": "0.1.0", diff --git a/package.json b/package.json index bc1a3dc5..e8a08381 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@ibm-skills-network/editor.md", - "version": "1.7.11", + "version": "1.7.12", "description": "Open source online markdown editor.", "directories": { "doc": "docs", diff --git a/src/editormd.js b/src/editormd.js index 13c569b3..481ce1c6 100644 --- a/src/editormd.js +++ b/src/editormd.js @@ -47,7 +47,7 @@ }; editormd.title = editormd.$name = "Editor.md"; - editormd.version = "1.7.11"; + editormd.version = "1.7.12"; editormd.homePage = "https://pandao.github.io/editor.md/"; editormd.classPrefix = "editormd-"; @@ -3978,7 +3978,7 @@ callback(); }; - css.href = fileName + `.css?version=${version}`; + css.href = fileName + `.css?editormd_version=${version}`; if(into === "head") { document.getElementsByTagName("head")[0].appendChild(css); @@ -4009,7 +4009,7 @@ script = document.createElement("script"); script.id = fileName.replace(/[\./]+/g, "-"); script.type = "text/javascript"; - script.src = fileName + `.js?version=${version}`; + script.src = fileName + `.js?editormd_version=${version}`; if (editormd.isIE8) {