neuphlo-editor 2.4.2 → 2.4.3
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/react/index.js
CHANGED
|
@@ -556,6 +556,7 @@ function TextMenu({
|
|
|
556
556
|
BubbleMenu,
|
|
557
557
|
{
|
|
558
558
|
editor,
|
|
559
|
+
pluginKey: "textBubbleMenu",
|
|
559
560
|
shouldShow: ({ editor: e, state, from, to, view }) => {
|
|
560
561
|
if (e.isActive("imageBlock")) return false;
|
|
561
562
|
if (e.isActive("videoBlock")) return false;
|
|
@@ -1151,6 +1152,7 @@ function ImageMenu({
|
|
|
1151
1152
|
BubbleMenu3,
|
|
1152
1153
|
{
|
|
1153
1154
|
editor,
|
|
1155
|
+
pluginKey: "imageBubbleMenu",
|
|
1154
1156
|
shouldShow: ({ editor: e, state }) => {
|
|
1155
1157
|
if (!e.isActive("imageBlock")) return false;
|
|
1156
1158
|
const { selection } = state;
|