Issue by busykai
Monday Sep 23, 2013 at 22:47 GMT
Originally opened as adobe/brackets#5311
Override the implementation of the jquery focus() to prevent HTML menus
(class "dropdown-toggle") grabbing the focus.
Bootstrap's dropdown implementation exlicitly calls focus() which causes
currently active CM instance to lose focus. As the result, when the
command is executed, it cannot get ahold of the current editor instance.
busykai included the following code: https://github.com/adobe/brackets/pull/5311/commits
Monday Sep 23, 2013 at 22:47 GMT
Originally opened as adobe/brackets#5311
Override the implementation of the jquery focus() to prevent HTML menus
(class "dropdown-toggle") grabbing the focus.
Bootstrap's dropdown implementation exlicitly calls focus() which causes
currently active CM instance to lose focus. As the result, when the
command is executed, it cannot get ahold of the current editor instance.
busykai included the following code: https://github.com/adobe/brackets/pull/5311/commits