mirror of
https://github.com/fbarrca/obsidian-inlineAI.git
synced 2026-07-22 11:50:24 +00:00
Added side property to Toolbar to avoid issues with tables and codeblocks
This commit is contained in:
parent
50371338ee
commit
f61eab437f
1 changed files with 3 additions and 1 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue