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.cjs
CHANGED
|
@@ -1893,6 +1893,7 @@ function TextMenu({
|
|
|
1893
1893
|
import_menus.BubbleMenu,
|
|
1894
1894
|
{
|
|
1895
1895
|
editor,
|
|
1896
|
+
pluginKey: "textBubbleMenu",
|
|
1896
1897
|
shouldShow: ({ editor: e, state, from, to, view }) => {
|
|
1897
1898
|
if (e.isActive("imageBlock")) return false;
|
|
1898
1899
|
if (e.isActive("videoBlock")) return false;
|
|
@@ -2460,6 +2461,7 @@ function ImageMenu({
|
|
|
2460
2461
|
import_menus3.BubbleMenu,
|
|
2461
2462
|
{
|
|
2462
2463
|
editor,
|
|
2464
|
+
pluginKey: "imageBubbleMenu",
|
|
2463
2465
|
shouldShow: ({ editor: e, state }) => {
|
|
2464
2466
|
if (!e.isActive("imageBlock")) return false;
|
|
2465
2467
|
const { selection } = state;
|