fix(#450) style error when render inline math

This commit is contained in:
jocs 2018-09-27 21:35:50 +08:00
parent 5ff7f7b92e
commit af38ca1a85
2 changed files with 3 additions and 3 deletions

View File

@ -156,7 +156,7 @@ span.ag-math {
padding: .5rem;
border-radius: 4px;
position: absolute;
top: 30px;
top: 100%;
left: 0;
z-index: 10;
}

View File

@ -76,8 +76,8 @@ const pasteCtrl = ContentState => {
const text = event.clipboardData.getData('text/plain')
let html = event.clipboardData.getData('text/html')
html = this.standardizeHTML(html)
console.log(text)
console.log(html)
// console.log(text)
// console.log(html)
const copyType = this.checkCopyType(html, text)
const { start, end } = this.cursor
const startBlock = this.getBlock(start.key)