Sync shows/disappears
This commit is contained in:
parent
25b763703d
commit
1f24f1f2f2
4 changed files with 67 additions and 44 deletions
|
|
@ -115,7 +115,7 @@ export class MarkedPosition {
|
|||
heading(token) {
|
||||
const content = this.parser.parseInline(token.tokens)
|
||||
return `
|
||||
<div class="heading-container">
|
||||
<div class="heading-container" data-heading="${token.depth}">
|
||||
<h${token.depth} ondblclick="setpos(event)" data-offset-start="${token.position.start.offset}" data-offset-end="${token.position.end.offset}">${content}</h${token.depth}>\n
|
||||
<div class="line"></div>\n
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue