railsadminteam / rails_admin

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data
MIT License
7.88k stars 2.25k forks source link

CKEditor modals don't work inside bootstrap modals #3538

Closed tosbourn closed 2 years ago

tosbourn commented 2 years ago

Describe the bug When adding a link, or any other action in CK editor that generates a modal, text input fields no longer are selectable.

Reproduction steps Have a form with a ckeditor field generate inside a modal (has_many relationships will work) and try and add a link.

Expected behavior You can add the link and edit the link text.

Additional context

Add any other context about the problem here.

The fix is to update one line (PR incoming) to tell modals in bootstrap not to steal focus all the time.