style: apply eslint --fix (semi, indent 4); no behavior change, Jest 68/68
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Assistant: claude-code Assistant-Model: sonnet Assistant-Process: 299063@bnt-lap001 Assistant-Session: 53eb1e1c-c13a-4277-9ce2-3702960d93f7
This commit is contained in:
parent
de47bf1d2b
commit
652cb4e255
43 changed files with 1081 additions and 1115 deletions
|
|
@ -178,7 +178,6 @@ class EditControl extends ControlBase {
|
|||
</div>
|
||||
</div>
|
||||
`;
|
||||
|
||||
}, '<p>Error generating edit tools</p>', 'generateEditToolsHTML');
|
||||
}
|
||||
|
||||
|
|
@ -264,7 +263,7 @@ class EditControl extends ControlBase {
|
|||
|
||||
exportMenu.exportAsMarkdown = () => {
|
||||
// Simple HTML to Markdown conversion (basic)
|
||||
let markdown = htmlContent
|
||||
const markdown = htmlContent
|
||||
.replace(/<h1[^>]*>(.*?)<\/h1>/gi, '# $1\n\n')
|
||||
.replace(/<h2[^>]*>(.*?)<\/h2>/gi, '## $1\n\n')
|
||||
.replace(/<h3[^>]*>(.*?)<\/h3>/gi, '### $1\n\n')
|
||||
|
|
@ -278,7 +277,6 @@ class EditControl extends ControlBase {
|
|||
};
|
||||
|
||||
document.body.appendChild(exportMenu);
|
||||
|
||||
}, null, 'exportDocument');
|
||||
}
|
||||
|
||||
|
|
@ -356,7 +354,6 @@ class EditControl extends ControlBase {
|
|||
|
||||
// Show feedback
|
||||
this.showActionFeedback('🔄 All changes reset', '#ffc107', '#212529');
|
||||
|
||||
}, null, 'resetAll');
|
||||
}
|
||||
|
||||
|
|
@ -572,4 +569,4 @@ if (typeof module !== 'undefined' && module.exports) {
|
|||
// Also expose globally: bundlers shim `module`, so the else-branch never ran in dist builds
|
||||
if (typeof window !== 'undefined') {
|
||||
window.EditControl = EditControl;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue