Socket
Socket
Sign inDemoInstall

react-lz-editor

Package Overview
Dependencies
100
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.11.9 to 0.12.1

10

editor/index.js

@@ -739,3 +739,5 @@ 'use strict';

onCancel: this.handleCancel,
closable: false },
closable: false,
okText: _i18n.lang[this.state.language].OKText,
cancelText: _i18n.lang[this.state.language].cancelText },
_react2.default.createElement(_input2.default, {

@@ -767,3 +769,3 @@ type: 'text',

'div',
{ className: 'RichEditor-root editorHidden', content: this.state.HTML, id: 'text-editor-container' },
{ className: 'RichEditor-root editorHidden ' + (this.props.disabled ? 'disabled-editor' : ''), content: this.state.HTML, id: 'text-editor-container' },
_react2.default.createElement(

@@ -793,4 +795,5 @@ 'div',

'div',
{ className: className, onClick: this.focus, style: { display: this.state.showMarkdownSource == true ? "none" : "block" } },
{ className: 'editor-board ' + className, onClick: this.focus, style: { display: this.state.showMarkdownSource == true ? "none" : "block" } },
_react2.default.createElement(_draftJs.Editor, (_React$createElement = {
className: '',
blockRendererFn: mediaBlockRenderer,

@@ -811,2 +814,3 @@ editorState: this.state.editorState,

),
_react2.default.createElement('div', { className: 'disabled-mask', style: { display: this.props.disabled ? 'block' : 'none' } }),
urlInput

@@ -813,0 +817,0 @@ );

@@ -521,2 +521,2 @@ 'use strict';

module.exports = GroupUpload;
module.exports = GroupUpload;

@@ -339,2 +339,2 @@ 'use strict';

module.exports = UploadImage;
module.exports = UploadImage;

@@ -989,2 +989,2 @@ 'use strict';

};
module.exports = commonFun;
module.exports = commonFun;

@@ -156,2 +156,2 @@ 'use strict';

}
};
};
{
"name": "react-lz-editor",
"version": "0.11.9",
"version": "0.12.1",
"description": "An open source react rich-text editor (mordern react editor includes media support such as texts, images, videos, audios, links etc.), development based on Draft-Js and Ant-design, good support html, markdown, draft-raw mode.",

@@ -5,0 +5,0 @@ "main": "index",

@@ -112,2 +112,3 @@ [中文](https://github.com/leejaen/react-lz-editor/blob/master/README.cn.md)

| convertFormat | string | "html" | Set support format `(html, markdown, raw)`, default to "html" |
| disabled | bool | false | Disabled editor or not |
| uploadProps | object | null | Customize uploading settings. [API: Antd.Upload](https://ant.design/components/upload/) |

@@ -225,2 +225,3 @@ 'use strict';

video: false,
disabled: true,
audio: false,

@@ -227,0 +228,0 @@ convertFormat: 'raw',

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc