Comparing version 0.7.2 to 0.7.3
@@ -144,6 +144,4 @@ 'use strict'; | ||
if (this.props.content.length < 12) { | ||
console.log(this.props.content); | ||
this.placeCaretAtEnd(); | ||
} | ||
window.scribe = this.scribe; | ||
this.scribe.el.addEventListener('keydown', this.handleLinkShortcut); | ||
@@ -313,2 +311,3 @@ } | ||
if (e.which === 75 && (e.ctrlKey || e.metaKey)) { | ||
e.preventDefault(); | ||
this.handleCommand('link'); | ||
@@ -341,3 +340,2 @@ } | ||
var _command2 = this.scribe.getCommand(cmd); | ||
console.log(_command2); | ||
_command2.execute(cmd); | ||
@@ -344,0 +342,0 @@ } |
{ | ||
"name": "kattappa", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "A block based rich text editor with support of Images, embeds( Youtube, Instagram, Vine, Vimeo etc)", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
126699
2883