Skip to content

Commit

Permalink
Hide toolbar after adding a table
Browse files Browse the repository at this point in the history
  • Loading branch information
daviferreira committed Jul 27, 2015
1 parent 56e0185 commit c0b8962
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/table.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ Table.prototype = {
var table = this._doc.getElementById('medium-editor-table');
table.removeAttribute('id');
placeCaretAtNode(this._doc, table.querySelector('td'), true);

this._editor.checkSelection();
},

_html: function (rows, cols) {
Expand Down

0 comments on commit c0b8962

Please sign in to comment.