From 0498a48b8c2f0c708998011516e7c6b00e4f4ed2 Mon Sep 17 00:00:00 2001 From: void Date: Wed, 20 Nov 2019 00:54:50 -0300 Subject: [PATCH] sacar console.log --- app/javascript/packs/application.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/javascript/packs/application.js b/app/javascript/packs/application.js index 30f19368..20f2951f 100644 --- a/app/javascript/packs/application.js +++ b/app/javascript/packs/application.js @@ -66,16 +66,14 @@ const makeLink = (state, dispatch) => { if (has) { tr.removeMark(from, to, type) } else { - console.log(tr.addMark(from, to, type.create({ + tr.addMark(from, to, type.create({ href: window.prompt('elegir url', '//sutty.nl') - }))) + })) } return dispatch(tr) } -console.log(schema) - class SuttyEditor { constructor ({element, markdown, toolbar}) { this.state = this.buildState(markdown)