mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-17 08:46:26 +00:00
sacar console.log
This commit is contained in:
parent
375226d7dd
commit
0498a48b8c
1 changed files with 2 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue