@capillarytech/creatives-library 7.17.188 → 7.17.190

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@capillarytech/creatives-library",
3
3
  "author": "meharaj",
4
- "version": "7.17.188",
4
+ "version": "7.17.190",
5
5
  "description": "Capillary creatives ui",
6
6
  "main": "./index.js",
7
7
  "module": "./index.es.js",
@@ -51,16 +51,18 @@ const CKEditorConfig = {
51
51
  fullPage: true,
52
52
  htmlEncodeOutput: true,
53
53
  startupFocus: true,
54
- allowedContent: {
55
- // Allow all content.
56
- $1: {
57
- // elements: this.editorInstance.dtd,
58
- //elements: window.CKEDITOR.dtd,
59
- attributes: true,
60
- styles: true,
61
- classes: true,
62
- },
63
- },
54
+ // allowedContent: {
55
+ // // Allow all content.
56
+ // $1: {
57
+ // // elements: this.editorInstance.dtd,
58
+ // //elements: window.CKEDITOR.dtd,
59
+ // attributes: true,
60
+ // styles: true,
61
+ // classes: true,
62
+ // },
63
+ // },
64
+ allowedContent: true, // Allow all content, including attributes and styles
65
+ extraAllowedContent: 'img[width,height]',
64
66
  disallowedContent: 'script; *[on*]',
65
67
  language: locale,
66
68
  toolbar_Basic:
@@ -59,10 +59,6 @@ function BeeEditor(props) {
59
59
  {key: 'sp', value: 'sp', label: formatMessage(messages.socialPlatform)},
60
60
  {key: 'others', value: 'others', label: formatMessage(messages.others)},
61
61
  ];
62
- const { accessibleFeatures = [] } = currentOrgDetails || {};
63
- const isAiImageGenerationEnabled = accessibleFeatures?.includes(
64
- ENABLE_AI_SUGGESTIONS
65
- );
66
62
  const [visibleTaglist, setVisibleTaglist] = useState(false);
67
63
  const [showRowMetaModal, setRowMetaModal] = useState(false);
68
64
  const [selectedTag, setSelectedTag] = useState({});
@@ -263,7 +259,6 @@ function BeeEditor(props) {
263
259
 
264
260
  </>;
265
261
  return (
266
- <>
267
262
  <CapSpin spinning={saveRowRequest || false}>
268
263
  <div id="bee-plugin-container" style={{ height: "650px" }}></div>
269
264
  <TagList
@@ -307,14 +302,6 @@ function BeeEditor(props) {
307
302
  {contentSection}
308
303
  </CapModal>
309
304
  </CapSpin>
310
- {isAiImageGenerationEnabled && (
311
- <CapAskAira.CapAiMediaGeneration
312
- request={request}
313
- getAPICallObject={getAPICallObject}
314
- iconPlacement="fixed-br-beamer"
315
- />
316
- )}
317
- </>
318
305
  );
319
306
  }
320
307