mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-16 11:15:12 +00:00
Update MarkdownPreview.js
This commit is contained in:
@@ -280,7 +280,7 @@ export default class MarkdownPreview extends React.Component {
|
|||||||
if (this.props.onDoubleClick != null) this.props.onDoubleClick(e)
|
if (this.props.onDoubleClick != null) this.props.onDoubleClick(e)
|
||||||
}
|
}
|
||||||
|
|
||||||
handleMouseDown(e) {
|
handleMouseDown (e) {
|
||||||
const config = ConfigManager.get()
|
const config = ConfigManager.get()
|
||||||
const clickElement = e.target
|
const clickElement = e.target
|
||||||
const targetTag = clickElement.tagName // The direct parent HTML of where was clicked ie "BODY" or "DIV"
|
const targetTag = clickElement.tagName // The direct parent HTML of where was clicked ie "BODY" or "DIV"
|
||||||
|
|||||||
Reference in New Issue
Block a user