@bigbinary/neeto-editor 1.47.70 → 1.47.71

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 CHANGED
@@ -4,7 +4,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
4
4
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
5
5
  import * as React from 'react';
6
6
  import React__default, { memo, useState, useEffect, useRef, useCallback, createElement, forwardRef, useImperativeHandle } from 'react';
7
- import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, D as DecorationSet, d as Decoration, g as getMarkAttributes, N as Node, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, i as isNodeSelection, n as nodeInputRule, h as getNodeType, j as getNodeAtPosition, l as isNodeActive, o as isAtStartOfNode, p as isAtEndOfNode, C as CALLOUT_TYPES, q as NodeViewWrapper, r as NodeViewContent, R as ReactNodeViewRenderer, s as findChildren, u as escapeForRegEx, v as ReactRenderer, x as EmojiPickerMenu, y as emojiPickerApi, z as combineTransactionSteps, A as getChangedRanges, B as findChildrenInRange, F as getMarksBetween, G as getAttributes, I as InputRule, H as highlightFocussedNode, J as resetFocussedNode, K as findParentNodeClosestToPos, P as PasteRule, L as BubbleMenu, O as getLinkPopoverPosition, Q as getMarkType, S as getMarkRange, T as useEditor, U as useEditorState, M as Menu$4, V as MenuDynamicVariables, W as EditorContent, X as MediaUploader, Y as LinkAddPopOver, Z as EditorView } from './chunk-BrsXgI-R.js';
7
+ import { E as Extension, a as Mark, m as mergeAttributes, b as markInputRule, c as markPasteRule, D as DecorationSet, d as Decoration, g as getMarkAttributes, N as Node, w as wrappingInputRule, t as textblockTypeInputRule, k as keydownHandler, e as callOrReturn, f as getExtensionField, i as isNodeSelection, n as nodeInputRule, h as getNodeType, j as getNodeAtPosition, l as isNodeActive, o as isAtStartOfNode, p as isAtEndOfNode, C as CALLOUT_TYPES, q as NodeViewWrapper, r as NodeViewContent, R as ReactNodeViewRenderer, s as findChildren, u as escapeForRegEx, v as ReactRenderer, x as EmojiPickerMenu, y as emojiPickerApi, z as combineTransactionSteps, A as getChangedRanges, B as findChildrenInRange, F as getMarksBetween, G as getAttributes, I as InputRule, H as highlightFocussedNode, J as resetFocussedNode, K as findParentNodeClosestToPos, P as PasteRule, L as BubbleMenu, O as getLinkPopoverPosition, Q as getMarkType, S as getMarkRange, T as useEditor, U as useEditorState, M as Menu$4, V as MenuDynamicVariables, W as EditorContent, X as MediaUploader, Y as LinkAddPopOver, Z as EditorView } from './chunk-BNBYmEN2.js';
8
8
  import classnames from 'classnames';
9
9
  import { D as DIRECT_UPLOAD_ENDPOINT, E as EDITOR_OPTIONS, C as COMBINED_REGEX, a as EDITOR_SIZES } from './chunk-DDwycKmK.js';
10
10
  import { isNotPresent, findBy, isNotEmpty, isPresent, noop as noop$1, slugify } from '@bigbinary/neeto-cist';
@@ -22264,20 +22264,18 @@ var Editor = function Editor(_ref, ref) {
22264
22264
  className: menuClassName,
22265
22265
  isIndependant: isMenuIndependent,
22266
22266
  setIsNeetoKbArticleActive: setNeetoKbArticleState
22267
- }), children, /*#__PURE__*/jsxs("div", {
22268
- style: {
22269
- position: "relative"
22270
- },
22271
- children: [menuType === "none" && /*#__PURE__*/jsx(MenuDynamicVariables, {
22267
+ }), children, menuType === "none" && /*#__PURE__*/jsx("div", {
22268
+ className: "neeto-editor-fixed-menu-standalone-variables-wrapper",
22269
+ children: /*#__PURE__*/jsx(MenuDynamicVariables, {
22272
22270
  editor: editor,
22273
22271
  variables: variables,
22274
22272
  standalone: true
22275
- }), /*#__PURE__*/jsx(EditorContent, _objectSpread({
22276
- className: contentWrapperClassName
22277
- }, _objectSpread({
22278
- editor: editor
22279
- }, otherProps)))]
22280
- }), isMediaUploaderActive && /*#__PURE__*/jsx(MediaUploader, {
22273
+ })
22274
+ }), /*#__PURE__*/jsx(EditorContent, _objectSpread({
22275
+ className: contentWrapperClassName
22276
+ }, _objectSpread({
22277
+ editor: editor
22278
+ }, otherProps))), isMediaUploaderActive && /*#__PURE__*/jsx(MediaUploader, {
22281
22279
  editor: editor,
22282
22280
  mediaUploader: mediaUploader,
22283
22281
  onClose: function onClose() {