mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-23 22:21:48 +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) {
|
if (has) {
|
||||||
tr.removeMark(from, to, type)
|
tr.removeMark(from, to, type)
|
||||||
} else {
|
} else {
|
||||||
console.log(tr.addMark(from, to, type.create({
|
tr.addMark(from, to, type.create({
|
||||||
href: window.prompt('elegir url', '//sutty.nl')
|
href: window.prompt('elegir url', '//sutty.nl')
|
||||||
})))
|
}))
|
||||||
}
|
}
|
||||||
|
|
||||||
return dispatch(tr)
|
return dispatch(tr)
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(schema)
|
|
||||||
|
|
||||||
class SuttyEditor {
|
class SuttyEditor {
|
||||||
constructor ({element, markdown, toolbar}) {
|
constructor ({element, markdown, toolbar}) {
|
||||||
this.state = this.buildState(markdown)
|
this.state = this.buildState(markdown)
|
||||||
|
|
Loading…
Reference in a new issue