Using medium-editor inside a Bootstrap modal, the changes do not take affect in Chrome. Works fine in Safari.
Expected behavior: Changes take affect in all browsers
Actual behavior: Chrome does not work.
Link to an example: https://jsfiddle.net/he2nnuhf/5/
+1 Same issue for me. Not compatible with bootstrap modals
Workaround:
new MediumEditor('.angular-medium-editor');
new MediumEditor('.angular-medium-editor');
Instantiate two times using the class angular-medium-editor or it will not work, but be aware that this will use more CPU and may expect problems if you have more than one editor on a single page, waiting for an official fix
+1
+1 Same issue for me.
+1 Same issue for me
+1 Same for me
Any update on this? this is a huge drawback :(
I ended up writting a "custom modal" imitating bootstrap style. Kinda dirty but it worked.
Removing tabindex=-1 from your modal fix the issue but is kinda dirty.
You could try using 'elementsContainer' option to specify which element should contain the medium-editor (the modal for example), with this last solution, the toolbar won't be displayed anymore for siblings/parents elements.
Potentially related issues: #1121 + #857
+1 for me, as temporary fix the solution by @ThomasBenoist works
Most helpful comment
Removing
tabindex=-1from your modal fix the issue but is kinda dirty.You could try using 'elementsContainer' option to specify which element should contain the medium-editor (the modal for example), with this last solution, the toolbar won't be displayed anymore for siblings/parents elements.