-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tinymce-vue dialog unable to edit in bootstrap-vue modal. #4537
Closed
asika32764 opened this issue
Dec 30, 2019
· 3 comments
· Fixed by #4702, tghelere/CL#13, mariazevedo88/hash-generator-js#33, tghelere/CL#14 or mariazevedo88/hash-generator-js#34
Closed
Tinymce-vue dialog unable to edit in bootstrap-vue modal. #4537
asika32764 opened this issue
Dec 30, 2019
· 3 comments
· Fixed by #4702, tghelere/CL#13, mariazevedo88/hash-generator-js#33, tghelere/CL#14 or mariazevedo88/hash-generator-js#34
Comments
Here's the pure Javascript version of the workaround. document.addEventListener('focusin', function (e) {
let closest = e.target.closest(".tox-tinymce-aux, .tox-dialog, .moxman-window, .tam-assetmanager-root");
if (closest !== null && closest !== undefined) {
e.stopImmediatePropagation();
}
}); |
You could also try wrapping the MCE editor in a div with a <div @focusin.stop>
<!-- MCE editor placed here -->
</div> |
Setting the |
20 tasks
Merged
jacobmllr95
added a commit
that referenced
this issue
Jan 31, 2020
#4702) * feat(b-modal): add `ignoreEnforceFocusSelector` prop * Update modal.js * Update modal.js * Update modal.spec.js * Update package.json * Update package.json * Update modal.js * Update README.md * Update package.json Co-authored-by: Troy Morehouse <troymore@nbnet.nb.ca>
This was referenced Feb 24, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See https://codesandbox.io/s/tinymce-vue-bootstrap-vue-modal-focusin-zxfjn
Use official workaround for bootstrap-vue modal not works. The Tinymce dialog are not editable.
Seems works with native Bootstrap 4 https://codesandbox.io/s/bootstrap-tinymce-mxi9f
The issue also post at tinymce/tinymce-vue#116
The text was updated successfully, but these errors were encountered: