Added side property to Toolbar to avoid issues with tables and codeblocks

This commit is contained in:
FBarrca 2025-01-05 00:27:40 +01:00
parent 50371338ee
commit f61eab437f

View file

@ -304,7 +304,9 @@ function renderFloatingWidget(
const deco = Decoration.widget({
widget: new FloatingWidget(chatApiManager, selectionInfo),
above: true,
inline: false,
inline: true,
side: -9999,
}).range(firstSelectedRange.from);
return Decoration.set([deco]);