Skip to content

Commit

Permalink
forcing to p tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Callens committed May 13, 2015
1 parent b4f9747 commit 9acc4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/angular/directives/wysiwyg.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@

scope.setElement = function(type) {
scope.formatAction('formatblock', type);
scope.getCurrentElement();
};

scope.getCurrentElement = function() {
Expand All @@ -62,6 +61,7 @@
}
}

scope.setElement('p');
return scope.availableElements[0];
}

Expand Down

0 comments on commit 9acc4fd

Please sign in to comment.