Removed logging.

This commit is contained in:
Martin Edenhofer 2016-02-26 11:51:55 +01:00
parent a4197a68f0
commit d4def003ba

View file

@ -69,7 +69,6 @@
this.toggleBlock = function(tag) {
sel = window.getSelection()
node = $(sel.anchorNode)
console.log('toggleBlock', tag, node.parent(), node.is())
if (node.is(tag) || node.parent().is(tag) || node.parent().parent().is(tag)) {
document.execCommand('formatBlock', false, 'div')
//document.execCommand('RemoveFormat')