Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[6.x] Fix nested Bard field focus in Firefox#13853

Open
o1y wants to merge 1 commit intostatamic:6.x from
o1y:fix-13852
Open

[6.x] Fix nested Bard field focus in Firefox #13853
o1y wants to merge 1 commit intostatamic:6.x from
o1y:fix-13852

Conversation

@o1y
Copy link
Contributor

@o1y o1y commented Feb 8, 2026

Fixes #13852

ProseMirror automatically sets contenteditable="false" on the node view wrappers that don't have a contentDOM, which nicludes Bard Sets. In Firefox this prevents nested contenteditable="true" elements from receiving focus on click.

This work around pre-sets contenteditable="true" on the <node-view-wrapper>. This seems to cause Firefox to inconsistently handle the drag handle, sometimes handling the drag and sometimes showing a text cursor next to the drag handle instead. The handleDrag method works around this by temporarily toggling contenteditable to false during drag operations.

Would be good to properly test this fix though :)

@o1y o1y changed the title (削除) Fix nested Bard field focus in Firefox (削除ここまで) (追記) [6.x] Fix nested Bard field focus in Firefox (追記ここまで) Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Cursor and text selection not working in nested Bard fields in Firefox

1 participant

AltStyle によって変換されたページ (->オリジナル) /