Skip to content

Commit 4baf637

Browse files
save file
1 parent 1b31de6 commit 4baf637

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@
9696

9797
var menu;
9898

99+
var hdr;
99100
var mainmenu;
100101
var filemod;
101102
var publish;
@@ -214,7 +215,7 @@
214215
{border:none}
215216

216217
#view
217-
{display:none;flex:1}
218+
{display:flex;flex:1}
218219

219220
publish-ui
220221
{z-index:1;position:relative}
@@ -355,15 +356,16 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
355356

356357
await editor.initdom(view,{mode:'html'});
357358

358-
slider.node = $.slider.glass('editor-root','#page-slider','output-root',slider,ui,output);
359+
360+
slider.node = $.slider.glass('web-editor','#page-slider','output-html',slider,ui,output);
359361

360362
output.initdom(root);
361363

362364

363365
log.initdom();
364366

365367

366-
ui.setup(view);
368+
//ui.setup(view);
367369

368370

369371
editor.focus();
@@ -528,6 +530,7 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
528530

529531
ui.setup = function(view){
530532

533+
531534
var o = localStorage.getItem('orientation');
532535
if(o==='horiz'){
533536
horiz();
@@ -542,7 +545,7 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
542545

543546
function horiz(){
544547

545-
localStorage.setItem('orientation','horiz');
548+
//localStorage.setItem('orientation','horiz');
546549

547550
ui.mode = 'horiz';
548551
slider.node.style.cursor = 'ns-resize';
@@ -560,7 +563,7 @@ <h1 slot=seo-hdr class=visually-hidden>html editor</h1>
560563

561564
function vert(){
562565

563-
localStorage.setItem('orientation','vert');
566+
//localStorage.setItem('orientation','vert');
564567

565568
ui.mode = 'vert';
566569
slider.node.style.cursor = 'ew-resize';

0 commit comments

Comments
 (0)