移除markd旧解析库;优化button
parent
75081547bc
commit
77c1022a8e
|
@ -106,6 +106,7 @@
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
background: none;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -255,7 +255,6 @@ code.inline {
|
||||||
import $ from '../utils'
|
import $ from '../utils'
|
||||||
import '../code/index'
|
import '../code/index'
|
||||||
|
|
||||||
import core from './backup'
|
|
||||||
import markd from './core'
|
import markd from './core'
|
||||||
|
|
||||||
export default class Markd {
|
export default class Markd {
|
||||||
|
@ -272,7 +271,6 @@ export default class Markd {
|
||||||
}
|
}
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
// this.__BOX__.innerHTML = core.safe(this.textContent)
|
|
||||||
this.__BOX__.innerHTML = markd(this.textContent)
|
this.__BOX__.innerHTML = markd(this.textContent)
|
||||||
this.textContent = ''
|
this.textContent = ''
|
||||||
|
|
||||||
|
|
Reference in New Issue