Skip to content

Commit 6dddd8e

Browse files
save file
1 parent ece59cc commit 6dddd8e

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

utils/editors/html-editor/html-editor.html

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
console.log('html-editor-v2.0.html');
8585
console.log();
8686
console.json=v=>console.log(JSON.stringify(v,null,4));
87-
var df=true,version='v1.0'
87+
var df=true,did='html-editor',version='v1.0'
8888
;
8989

9090
var ace;
@@ -495,15 +495,15 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
495495

496496

497497
function kd(e){
498-
498+
console.log('[ html-editor ]','kd');
499499
if(e.key=='Enter' && e.ctrlKey){
500500
e.preventDefault();
501501
run();
502502
}
503503

504504
if(e.key==' ' && e.ctrlKey){
505505
e.preventDefault();
506-
menumod.open();
506+
menu.open();
507507
}
508508

509509
if(e.key=='s' && e.ctrlKey){
@@ -771,8 +771,14 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
771771
function debug(){
772772

773773
if(!df)return;
774+
774775
var str = [...arguments].join(' ');
775-
console.log('[ https-file ]',str);
776+
777+
console.groupCollapsed(`[ ${did} ]`,str);
778+
console.trace();
779+
console.groupEnd();
780+
781+
//console.log('[ https-file ]',str);
776782

777783
}//debug
778784

0 commit comments

Comments
 (0)