@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.10 → 1.0.0-alpha.12
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.js +1 -1
- package/lib/LcdpUeditor.js +1 -1
- package/package.json +1 -1
- package/ueditor-resource/dialogs/preview/preview.html +1 -1
- package/ueditor-resource/index.html +1 -1
- /package/ueditor-resource/{lcdp-ueditor.all.js → ueditor.all.js} +0 -0
- /package/ueditor-resource/{lcdp-ueditor.parse.js → ueditor.parse.js} +0 -0
    
        package/es/LcdpUeditor.js
    CHANGED
    
    | @@ -131,7 +131,7 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) { | |
| 131 131 | 
             
                  if (this.isReady) {
         | 
| 132 132 | 
             
                    if ('value' in nextProps && this.currentContent !== nextProps.value) {
         | 
| 133 133 | 
             
                      this.isReportFlag = false;
         | 
| 134 | 
            -
                      this.ueditorInst.setContent(nextProps.value);
         | 
| 134 | 
            +
                      this.ueditorInst.setContent(nextProps.value || '');
         | 
| 135 135 | 
             
                    }
         | 
| 136 136 | 
             
                    // 禁用操作需要调用指定的api进行操作
         | 
| 137 137 | 
             
                    if (nextProps.disabled !== this.props.disabled) {
         | 
    
        package/lib/LcdpUeditor.js
    CHANGED
    
    | @@ -122,7 +122,7 @@ var LcdpUeditor = class extends import_react.default.Component { | |
| 122 122 | 
             
                if (this.isReady) {
         | 
| 123 123 | 
             
                  if ("value" in nextProps && this.currentContent !== nextProps.value) {
         | 
| 124 124 | 
             
                    this.isReportFlag = false;
         | 
| 125 | 
            -
                    this.ueditorInst.setContent(nextProps.value);
         | 
| 125 | 
            +
                    this.ueditorInst.setContent(nextProps.value || "");
         | 
| 126 126 | 
             
                  }
         | 
| 127 127 | 
             
                  if (nextProps.disabled !== this.props.disabled) {
         | 
| 128 128 | 
             
                    if (nextProps.disabled) {
         | 
    
        package/package.json
    CHANGED
    
    
| @@ -24,7 +24,7 @@ | |
| 24 24 | 
             
                    }
         | 
| 25 25 | 
             
                </style>
         | 
| 26 26 | 
             
                <script type="text/javascript" src="../internal.js?32939b8e"></script>
         | 
| 27 | 
            -
                <script src="../../ueditor.parse.js? | 
| 27 | 
            +
                <script src="../../ueditor.parse.js?8ec8e2ae"></script>
         | 
| 28 28 | 
             
                <title></title>
         | 
| 29 29 | 
             
            </head>
         | 
| 30 30 | 
             
            <body class="view">
         | 
| @@ -6,7 +6,7 @@ | |
| 6 6 | 
             
                <meta http-equiv="X-UA-Compatible" content="ie=edge">
         | 
| 7 7 | 
             
                <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
         | 
| 8 8 | 
             
                <script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script>
         | 
| 9 | 
            -
                <script type="text/javascript" charset="utf-8" src=" | 
| 9 | 
            +
                <script type="text/javascript" charset="utf-8" src="ueditor.all.js"></script>
         | 
| 10 10 | 
             
                <script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js?8c5d8442"></script>
         | 
| 11 11 | 
             
                <script src="./plugins/demo/demo.js"></script>
         | 
| 12 12 | 
             
                <script>
         | 
| 
            File without changes
         | 
| 
            File without changes
         |