5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-06 00:15:46 +00:00

sacar console.log

This commit is contained in:
void 2019-11-20 00:54:50 -03:00
parent 375226d7dd
commit 0498a48b8c

View file

@ -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)