@bigbinary/neeto-editor 1.47.67 → 1.47.69
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/dist/Editor.js +19 -9
- package/dist/Editor.js.map +1 -1
- package/dist/FormikEditor.js +2 -2
- package/dist/Menu.js +2 -2
- package/dist/{chunk-BYP78yHy.js → chunk-Bb0y1lai.js} +54 -33
- package/dist/chunk-Bb0y1lai.js.map +1 -0
- package/dist/cjs/Editor.cjs.js +19 -9
- package/dist/cjs/Editor.cjs.js.map +1 -1
- package/dist/cjs/FormikEditor.cjs.js +2 -2
- package/dist/cjs/Menu.cjs.js +2 -2
- package/dist/cjs/{chunk-TLlmBkfB.cjs.js → chunk-BwbMuztF.cjs.js} +54 -32
- package/dist/cjs/chunk-BwbMuztF.cjs.js.map +1 -0
- package/dist/cjs/index.cjs.js +2 -2
- package/dist/editor-stats.html +1 -19
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-BYP78yHy.js.map +0 -1
- package/dist/cjs/chunk-TLlmBkfB.cjs.js.map +0 -1
package/dist/cjs/Editor.cjs.js
CHANGED
|
@@ -5,7 +5,7 @@ var _toConsumableArray = require('@babel/runtime/helpers/toConsumableArray');
|
|
|
5
5
|
var _slicedToArray = require('@babel/runtime/helpers/slicedToArray');
|
|
6
6
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
7
7
|
var React = require('react');
|
|
8
|
-
var Menu$4 = require('./chunk-
|
|
8
|
+
var Menu$4 = require('./chunk-BwbMuztF.cjs.js');
|
|
9
9
|
var classnames = require('classnames');
|
|
10
10
|
var constants = require('./chunk-Cd5HlrFr.cjs.js');
|
|
11
11
|
var neetoCist = require('@bigbinary/neeto-cist');
|
|
@@ -106,7 +106,6 @@ require('@bigbinary/neeto-icons/Email');
|
|
|
106
106
|
require('@bigbinary/neeto-icons/Customize');
|
|
107
107
|
require('@bigbinary/neeto-icons/Refresh');
|
|
108
108
|
require('react-colorful');
|
|
109
|
-
require('@bigbinary/neeto-molecules/DynamicVariables');
|
|
110
109
|
require('@bigbinary/neeto-image-uploader-frontend');
|
|
111
110
|
require('@bigbinary/neetoui/Tab');
|
|
112
111
|
require('@bigbinary/neetoui/formik/ActionBlock');
|
|
@@ -117,6 +116,7 @@ require('@bigbinary/neeto-icons/misc/Info');
|
|
|
117
116
|
require('@bigbinary/neeto-icons/misc/Warning');
|
|
118
117
|
require('@bigbinary/neeto-icons/misc/Danger');
|
|
119
118
|
require('@bigbinary/neeto-icons/misc/Success');
|
|
119
|
+
require('@bigbinary/neeto-molecules/DynamicVariables');
|
|
120
120
|
require('./chunk-B83fTs8d.cjs.js');
|
|
121
121
|
require('yup');
|
|
122
122
|
require('@bigbinary/neeto-icons/Delete');
|
|
@@ -6349,7 +6349,8 @@ var CalloutComponent = function CalloutComponent(_ref) {
|
|
|
6349
6349
|
className: "callout-emoji",
|
|
6350
6350
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon, {})
|
|
6351
6351
|
}), /*#__PURE__*/jsxRuntime.jsx(Menu$4.NodeViewContent, {
|
|
6352
|
-
className: "callout-content"
|
|
6352
|
+
className: "callout-content",
|
|
6353
|
+
"data-cy": "callout-content"
|
|
6353
6354
|
})]
|
|
6354
6355
|
})
|
|
6355
6356
|
});
|
|
@@ -22267,7 +22268,7 @@ var Editor = function Editor(_ref, ref) {
|
|
|
22267
22268
|
error: error,
|
|
22268
22269
|
className: errorWrapperClassName,
|
|
22269
22270
|
children: /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
22270
|
-
children: [/*#__PURE__*/jsxRuntime.jsx(Menu$4.Menu, {
|
|
22271
|
+
children: [menuType !== "none" && /*#__PURE__*/jsxRuntime.jsx(Menu$4.Menu, {
|
|
22271
22272
|
addonCommands: addonCommands,
|
|
22272
22273
|
addons: addons,
|
|
22273
22274
|
attachmentProps: attachmentProps,
|
|
@@ -22283,11 +22284,20 @@ var Editor = function Editor(_ref, ref) {
|
|
|
22283
22284
|
className: menuClassName,
|
|
22284
22285
|
isIndependant: isMenuIndependent,
|
|
22285
22286
|
setIsNeetoKbArticleActive: setNeetoKbArticleState
|
|
22286
|
-
}), children, /*#__PURE__*/jsxRuntime.
|
|
22287
|
-
|
|
22288
|
-
|
|
22289
|
-
|
|
22290
|
-
|
|
22287
|
+
}), children, /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
22288
|
+
style: {
|
|
22289
|
+
position: "relative"
|
|
22290
|
+
},
|
|
22291
|
+
children: [menuType === "none" && /*#__PURE__*/jsxRuntime.jsx(Menu$4.MenuDynamicVariables, {
|
|
22292
|
+
editor: editor,
|
|
22293
|
+
variables: variables,
|
|
22294
|
+
standalone: true
|
|
22295
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Menu$4.EditorContent, _objectSpread({
|
|
22296
|
+
className: contentWrapperClassName
|
|
22297
|
+
}, _objectSpread({
|
|
22298
|
+
editor: editor
|
|
22299
|
+
}, otherProps)))]
|
|
22300
|
+
}), isMediaUploaderActive && /*#__PURE__*/jsxRuntime.jsx(Menu$4.MediaUploader, {
|
|
22291
22301
|
editor: editor,
|
|
22292
22302
|
mediaUploader: mediaUploader,
|
|
22293
22303
|
onClose: function onClose() {
|