@bigbinary/neeto-editor 1.25.22 → 1.25.23

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/index.js CHANGED
@@ -4,7 +4,7 @@ import * as React$6 from 'react';
4
4
  import React__default, { useContext, useState, useRef as useRef$1, useEffect as useEffect$1, useImperativeHandle, createContext, forwardRef as forwardRef$1, cloneElement, useLayoutEffect, Fragment as Fragment$1 } from 'react';
5
5
  import { renderToString } from 'react-dom/server';
6
6
  import { Toastr, Dropdown as Dropdown$1, Tooltip, Input, Button as Button$1, Typography, Alert, Modal, Spinner, Avatar, Tab, Label } from '@bigbinary/neetoui';
7
- import { LeftAlign, CenterAlign, RightAlign, Delete, Close, MenuVertical, MenuHorizontal, Paragraph as Paragraph$1, TextH1, TextH2, Text as Text$2, ListNumber, ListDot, ImageUpload, Video, Blockquote as Blockquote$1, Code as Code$1, Smiley, Minus, MediaVideo, Notes, NeetoChangelog, TextBold, TextItalic, Underline as Underline$1, TextCross, Highlight as Highlight$1, Quote, Braces, Undo, Redo, Check, Email as Email$1, Link as Link$1, Settings, File as File$2 } from '@bigbinary/neeto-icons';
7
+ import { LeftAlign, CenterAlign, RightAlign, Delete, Close, MenuVertical, MenuHorizontal, Paragraph as Paragraph$1, TextH1, TextH2, Text as Text$2, ListNumber, ListDot, ImageUpload, Video, Blockquote as Blockquote$1, CodeBlock as CodeBlock$2, Smiley, Minus, MediaVideo, Notes, NeetoChangelog, TextBold, TextItalic, Underline as Underline$1, TextCross, Highlight as Highlight$1, Quote, Code as Code$1, Undo, Redo, Check, Email as Email$1, Link as Link$1, Braces, Settings, File as File$2 } from '@bigbinary/neeto-icons';
8
8
  import axios from 'axios';
9
9
  import ReactDOM, { flushSync, createPortal } from 'react-dom';
10
10
  import { useFuncDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
@@ -100833,7 +100833,7 @@ var MENU_ITEMS = (cov_140r6ea3a4().s[0]++, [{
100833
100833
  optionName: EDITOR_OPTIONS.CODE_BLOCK,
100834
100834
  title: "Code block",
100835
100835
  description: "Add a code block with syntax highlighting.",
100836
- Icon: Code$1,
100836
+ Icon: CodeBlock$2,
100837
100837
  command: function command(_ref11) {
100838
100838
  var editor = _ref11.editor,
100839
100839
  range = _ref11.range;
@@ -118148,7 +118148,7 @@ var MENU_OPTIONS$1 = function MENU_OPTIONS(_ref2) {
118148
118148
  optionName: "code",
118149
118149
  tooltip: (cov_17cji89s6g().b[6][0]++, tooltips.code) || (cov_17cji89s6g().b[6][1]++, t$2("menu.code"))
118150
118150
  }, {
118151
- Icon: Braces,
118151
+ Icon: CodeBlock$2,
118152
118152
  command: function command() {
118153
118153
  cov_17cji89s6g().f[8]++;
118154
118154
  cov_17cji89s6g().s[10]++;
@@ -127974,7 +127974,7 @@ var MENU_OPTIONS = function MENU_OPTIONS(_ref2) {
127974
127974
  optionName: "code",
127975
127975
  tooltip: (cov_1fwd2t6om3().b[6][0]++, tooltips.code) || (cov_1fwd2t6om3().b[6][1]++, t("menu.code"))
127976
127976
  }, {
127977
- Icon: Braces,
127977
+ Icon: CodeBlock$2,
127978
127978
  command: function command() {
127979
127979
  cov_1fwd2t6om3().f[8]++;
127980
127980
  cov_1fwd2t6om3().s[10]++;