mirror of
https://github.com/marktext/marktext.git
synced 2025-05-04 02:30:48 +08:00
fix(#450) style error when render inline math
This commit is contained in:
parent
5ff7f7b92e
commit
af38ca1a85
@ -156,7 +156,7 @@ span.ag-math {
|
||||
padding: .5rem;
|
||||
border-radius: 4px;
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
z-index: 10;
|
||||
}
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user