Skip to content

Commit 8aec571

Browse files
committed
Mentions: Fixed some users not showing in mention selector
1 parent 382f4db commit 8aec571

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/js/wysiwyg/ui/decorators/MentionDecorator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function handleUserListLoading(selectList: HTMLElement) {
7474
}
7575

7676
const doc = htmlToDom(responseHtml);
77-
const toInsert = doc.body.children;
77+
const toInsert = [...doc.body.children];
7878
for (const listEl of toInsert) {
7979
const adopted = window.document.adoptNode(listEl) as HTMLElement;
8080
selectList.appendChild(adopted);

0 commit comments

Comments
 (0)