Skip to content

Commit

Permalink
link in editor
Browse files Browse the repository at this point in the history
should be fixed, i'll test once i get the local developement stuff working
  • Loading branch information
simeon committed Jun 21, 2018
1 parent 5aec2b6 commit e29e72c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions selected
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
compiled/examples/flickr-zach.wise.json
4 changes: 2 additions & 2 deletions static/bootstrap-wysihtml5/bootstrap-wysihtml5-0.0.2.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
var activeButton = $(this).hasClass("wysihtml5-command-active");

if (!activeButton) {
self.editor.currentView.element.focus(false);
self.editor.currentView.element.focus();
caretBookmark = self.editor.composer.selection.getBookmark();
insertImageModal.appendTo('body').modal('show');
insertImageModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
Expand Down Expand Up @@ -342,7 +342,7 @@
var activeButton = $(this).hasClass("wysihtml5-command-active");

if (!activeButton) {
self.editor.currentView.element.focus(false);
self.editor.currentView.element.focus();
caretBookmark = self.editor.composer.selection.getBookmark();
insertLinkModal.appendTo('body').modal('show');
insertLinkModal.on('click.dismiss.modal', '[data-dismiss="modal"]', function(e) {
Expand Down

0 comments on commit e29e72c

Please sign in to comment.