carbon-react 154.4.0 → 154.4.1

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.
@@ -53,6 +53,7 @@ export interface TextEditorProps extends MarginProps, TagProps {
53
53
  warning?: string;
54
54
  /** The initial value of the editor, as a HTML string, or JSON */
55
55
  value?: string | undefined;
56
+ customPlugins?: React.ReactNode;
56
57
  }
57
58
  export declare const TextEditor: React.ForwardRefExoticComponent<TextEditorProps & React.RefAttributes<TextEditorHandle>>;
58
59
  export default TextEditor;
@@ -46,6 +46,7 @@ export const TextEditor = /*#__PURE__*/forwardRef(({
46
46
  rows,
47
47
  warning,
48
48
  value,
49
+ customPlugins,
49
50
  ...rest
50
51
  }, ref) => {
51
52
  if (!deprecateOptionalWarnTriggered && isOptional) {
@@ -205,7 +206,7 @@ export const TextEditor = /*#__PURE__*/forwardRef(({
205
206
  validateUrl: validateUrl
206
207
  }), /*#__PURE__*/React.createElement(ClickableLinkPlugin, {
207
208
  newTab: true
208
- }), /*#__PURE__*/React.createElement(AutoLinkerPlugin, null)), footer && /*#__PURE__*/React.createElement(StyledFooterWrapper, {
209
+ }), /*#__PURE__*/React.createElement(AutoLinkerPlugin, null), customPlugins), footer && /*#__PURE__*/React.createElement(StyledFooterWrapper, {
209
210
  "data-role": `${namespace}-footer-wrapper`
210
211
  }, footer), /*#__PURE__*/React.createElement(LinkMonitorPlugin, null)), characterLimit > 0 && !readOnly && /*#__PURE__*/React.createElement(CharacterCounterPlugin, {
211
212
  maxChars: characterLimit,
@@ -53,6 +53,7 @@ export interface TextEditorProps extends MarginProps, TagProps {
53
53
  warning?: string;
54
54
  /** The initial value of the editor, as a HTML string, or JSON */
55
55
  value?: string | undefined;
56
+ customPlugins?: React.ReactNode;
56
57
  }
57
58
  export declare const TextEditor: React.ForwardRefExoticComponent<TextEditorProps & React.RefAttributes<TextEditorHandle>>;
58
59
  export default TextEditor;
@@ -54,6 +54,7 @@ const TextEditor = exports.TextEditor = /*#__PURE__*/(0, _react.forwardRef)(({
54
54
  rows,
55
55
  warning,
56
56
  value,
57
+ customPlugins,
57
58
  ...rest
58
59
  }, ref) => {
59
60
  if (!deprecateOptionalWarnTriggered && isOptional) {
@@ -213,7 +214,7 @@ const TextEditor = exports.TextEditor = /*#__PURE__*/(0, _react.forwardRef)(({
213
214
  validateUrl: _helpers.validateUrl
214
215
  }), /*#__PURE__*/_react.default.createElement(_LexicalClickableLinkPlugin.ClickableLinkPlugin, {
215
216
  newTab: true
216
- }), /*#__PURE__*/_react.default.createElement(_plugins.AutoLinkerPlugin, null)), footer && /*#__PURE__*/_react.default.createElement(_textEditor2.StyledFooterWrapper, {
217
+ }), /*#__PURE__*/_react.default.createElement(_plugins.AutoLinkerPlugin, null), customPlugins), footer && /*#__PURE__*/_react.default.createElement(_textEditor2.StyledFooterWrapper, {
217
218
  "data-role": `${namespace}-footer-wrapper`
218
219
  }, footer), /*#__PURE__*/_react.default.createElement(_plugins.LinkMonitorPlugin, null)), characterLimit > 0 && !readOnly && /*#__PURE__*/_react.default.createElement(_plugins.CharacterCounterPlugin, {
219
220
  maxChars: characterLimit,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "154.4.0",
3
+ "version": "154.4.1",
4
4
  "description": "A library of reusable React components for easily building user interfaces.",
5
5
  "files": [
6
6
  "lib",