@lingxiteam/lcdp-ueditor-react 1.0.0-alpha.18 → 1.0.0-alpha.19
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 -0
- package/es/type.d.ts +1 -0
- package/lib/LcdpUeditor.js +1 -0
- package/lib/type.d.ts +1 -0
- package/package.json +1 -1
package/es/LcdpUeditor.js
CHANGED
|
@@ -111,6 +111,7 @@ var LcdpUeditor = /*#__PURE__*/function (_React$Component) {
|
|
|
111
111
|
return null;
|
|
112
112
|
};
|
|
113
113
|
_this.editorConfig = _objectSpread(_objectSpread({}, DefaultConfig), {}, {
|
|
114
|
+
maximumWords: (config === null || config === void 0 ? void 0 : config.maximumWords) || 10000,
|
|
114
115
|
initialFrameHeight: (config === null || config === void 0 ? void 0 : config.height) || 300,
|
|
115
116
|
autoHeightEnabled: false,
|
|
116
117
|
selectCallback: function selectCallback(cb, type) {
|
package/es/type.d.ts
CHANGED
package/lib/LcdpUeditor.js
CHANGED
|
@@ -107,6 +107,7 @@ var LcdpUeditor = class extends import_react.default.Component {
|
|
|
107
107
|
};
|
|
108
108
|
this.editorConfig = {
|
|
109
109
|
...import_defaultConfig.default,
|
|
110
|
+
maximumWords: (config == null ? void 0 : config.maximumWords) || 1e4,
|
|
110
111
|
initialFrameHeight: (config == null ? void 0 : config.height) || 300,
|
|
111
112
|
autoHeightEnabled: false,
|
|
112
113
|
selectCallback: (cb, type) => {
|
package/lib/type.d.ts
CHANGED