We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 877c4f0 commit 42e5483Copy full SHA for 42e5483
packages/core/src/extensions/SideMenu/SideMenuPlugin.ts
@@ -550,7 +550,10 @@ export class SideMenuView<
550
const { contentNode, startPos, endPos } = blockInfo;
551
552
// Creates a new block if current one is not empty for the suggestion menu to open in.
553
- if (contentNode.textContent.length !== 0) {
+ if (
554
+ contentNode.type.spec.content !== "inline*" ||
555
+ contentNode.textContent.length !== 0
556
+ ) {
557
const newBlockInsertionPos = endPos + 1;
558
const newBlockContentPos = newBlockInsertionPos + 2;
559
0 commit comments