Skip to content

Commit a5e133e

Browse files
save file
1 parent 41452cd commit a5e133e

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/editors/markdown-editor/v2.0/markdown-editor-v2.0.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@
182182
{border:none}
183183

184184
#view
185-
{display:none;flex:1}
185+
{display:flex;flex:1}
186186

187187
web-editor
188188
{width:50%}
@@ -239,7 +239,7 @@
239239

240240
<div id=page-slider style='width:10px;cursor:ew-resize'></div>
241241

242-
<output-md component=page></output-md>
242+
<output-md component=page v2.0></output-md>
243243

244244
</div>
245245

@@ -312,14 +312,14 @@
312312

313313
editor.initdom(root,{mode:'markdown'});
314314

315-
slider.node = $.slider('editor-root','#page-slider','output-root',slider,ui);
315+
slider.node = $.slider('web-editor','#page-slider','output-md',slider,ui);
316316

317317
output.initdom(root);
318318

319319

320320

321321

322-
ui.setup(view);
322+
//ui.setup(view);
323323

324324
publish.query();
325325
editor.focus();
@@ -478,7 +478,7 @@
478478

479479
function horiz(){
480480

481-
localStorage.setItem('orientation','horiz');
481+
//localStorage.setItem('orientation','horiz');
482482

483483
ui.mode = 'horiz';
484484
slider.node.style.cursor = 'ns-resize';
@@ -496,7 +496,7 @@
496496

497497
function vert(){
498498

499-
localStorage.setItem('orientation','vert');
499+
//localStorage.setItem('orientation','vert');
500500

501501
ui.mode = 'vert';
502502
slider.node.style.cursor = 'ew-resize';

0 commit comments

Comments
 (0)