diff --git a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx index 58b8063a9e5..eea2a1c4297 100644 --- a/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx +++ b/libs/remix-ui/editor/src/lib/remix-ui-editor.tsx @@ -1204,6 +1204,11 @@ export const EditorUI = (props: EditorUIProps) => { function addAcceptDeclineWidget(id, editor, position, acceptHandler, rejectHandler, acceptAllHandler?, rejectAllHandler?) { const widget = editor.addContentWidget({ allowEditorOverflow: true, + afterRender: () => { + if (document.getElementById(id)) { + document.getElementById(id).style.left = '0px' + } + }, getDomNode: () => { if (document.getElementById(id)) { return document.getElementById(id)