@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.1 → 1.0.0-alpha.11
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/es/LcdpUeditor.d.ts +6 -0
- package/es/LcdpUeditor.js +37 -13
- package/es/type.d.ts +1 -1
- package/lib/LcdpUeditor.d.ts +80 -0
- package/lib/LcdpUeditor.js +260 -0
- package/lib/const.d.ts +12 -0
- package/lib/const.js +39 -0
- package/lib/defaultConfig.json +77 -0
- package/lib/index.d.ts +4 -0
- package/lib/index.js +41 -0
- package/lib/tools/UeditorResourceLoader.d.ts +21 -0
- package/lib/tools/UeditorResourceLoader.js +90 -0
- package/lib/tools/loadScript.d.ts +5 -0
- package/lib/tools/loadScript.js +39 -0
- package/lib/type.d.ts +142 -0
- package/lib/type.js +17 -0
- package/package.json +5 -3
- package/ueditor-resource/dialogs/image/image.js +1 -1
- package/ueditor-resource/dialogs/video/video.js +1 -1
- package/ueditor-resource/index.html +146 -146
- package/ueditor-resource/lang/zh-tw/images/copy.png +0 -0
- package/ueditor-resource/lang/zh-tw/images/localimage.png +0 -0
- package/ueditor-resource/lang/zh-tw/images/music.png +0 -0
- package/ueditor-resource/lang/zh-tw/images/upload.png +0 -0
- package/ueditor-resource/lang/zh-tw/zh-tw.js +748 -0
- package/ueditor-resource/themes/default/css/ueditor.css +1 -1
- package/ueditor-resource/ueditor.all.js +2 -2
- package/ueditor-resource/ueditor.config.js +0 -1
| @@ -9417,7 +9417,7 @@ UE.api = function () { | |
| 9417 9417 | 
             
                    n = document.createElement("a");
         | 
| 9418 9418 | 
             
                  function r(e) {
         | 
| 9419 9419 | 
             
                    var r = e;
         | 
| 9420 | 
            -
                    return t && (n.setAttribute("href", r), r = n.href), n.setAttribute("href", r), {
         | 
| 9420 | 
            +
                    return t && (n.setAttribute("href", encodeURI(r)), r = n.href), n.setAttribute("href", encodeURI(r)), {
         | 
| 9421 9421 | 
             
                      href: n.href,
         | 
| 9422 9422 | 
             
                      protocol: n.protocol ? n.protocol.replace(/:$/, "") : "",
         | 
| 9423 9423 | 
             
                      host: n.host,
         | 
| @@ -32443,7 +32443,7 @@ function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len | |
| 32443 32443 | 
             
                var editor = new UE.Editor(options);
         | 
| 32444 32444 | 
             
                editor.options.editor = editor;
         | 
| 32445 32445 | 
             
                utils.loadFile(document, {
         | 
| 32446 | 
            -
                  href: editor.options.themePath + editor.options.theme + "/css/ueditor.css? | 
| 32446 | 
            +
                  href: editor.options.themePath + editor.options.theme + "/css/ueditor.css?cfa2e867",
         | 
| 32447 32447 | 
             
                  tag: "link",
         | 
| 32448 32448 | 
             
                  type: "text/css",
         | 
| 32449 32449 | 
             
                  rel: "stylesheet"
         |