Browse Source

Merge pull request #1067 from tinymce/fix-bootstrap-integration

Fixed the bootstrap intergration docs using an incorrect selector
pull/1069/head
Lee Newson 6 years ago
committed by GitHub
parent
commit
255b51fc0e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      integrations/bootstrap.md

2
integrations/bootstrap.md

@ -15,7 +15,7 @@ Bootstrap blocks all focus events on contents within the dialog. Add this script
```js ```js
// Prevent Bootstrap dialog from blocking focusin // Prevent Bootstrap dialog from blocking focusin
$(document).on('focusin', function(e) { $(document).on('focusin', function(e) {
if ($(e.target).closest(".mce-window").length) {
if ($(e.target).closest(".tox-tinymce-aux, .moxman-window, .tam-assetmanager-root").length) {
e.stopImmediatePropagation(); e.stopImmediatePropagation();
} }
}); });

Loading…
Cancel
Save