Removed logging.
This commit is contained in:
parent
a4197a68f0
commit
d4def003ba
1 changed files with 0 additions and 1 deletions
|
@ -69,7 +69,6 @@
|
||||||
this.toggleBlock = function(tag) {
|
this.toggleBlock = function(tag) {
|
||||||
sel = window.getSelection()
|
sel = window.getSelection()
|
||||||
node = $(sel.anchorNode)
|
node = $(sel.anchorNode)
|
||||||
console.log('toggleBlock', tag, node.parent(), node.is())
|
|
||||||
if (node.is(tag) || node.parent().is(tag) || node.parent().parent().is(tag)) {
|
if (node.is(tag) || node.parent().is(tag) || node.parent().parent().is(tag)) {
|
||||||
document.execCommand('formatBlock', false, 'div')
|
document.execCommand('formatBlock', false, 'div')
|
||||||
//document.execCommand('RemoveFormat')
|
//document.execCommand('RemoveFormat')
|
||||||
|
|
Loading…
Reference in a new issue