Skip to content

Commit f423198

Browse files
save file
1 parent 2f49cc2 commit f423198

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

utils/misc/html-entities/html-entities.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@
141141
html
142142
{height:100%;font-family:arial}
143143
body
144-
{min-height:calc(100% - 40px);margin:20px}
144+
{min-height:calc(100% - 40px);margin:20px;display:flex;flex-direction:column;gap:20px;align-items:center}
145145

146146
#center
147-
{display:flex;flex-direction:column;gap:20px;align-items:center;
147+
{display:flex;flex-direction:column;gap:20px;
148148
max-width:1400px;width:100%;padding:0 20px}
149149

150150
[component]
@@ -194,7 +194,7 @@
194194
{width:32px;height:32px;border:1px solid gray;border-radius:3px;box-sizing:border-box;cursor:pointer}
195195

196196
#hdr
197-
{display:flex;align-items:center}
197+
{display:flex;align-items:center;gap:20px}
198198

199199
#view
200200
{flex:1;display:flex;gap:10px;width:100%}
@@ -272,8 +272,8 @@
272272

273273
var view = $(root,'#view');
274274

275-
await editor.source.initdom('txt');
276-
await editor.output.initdom('txt');
275+
await editor.source.initdom({mode:'text'});
276+
await editor.output.initdom({mode:'text'});
277277

278278

279279
log.initdom();
@@ -298,7 +298,7 @@
298298
btn.encode = function(){
299299

300300
var txt = editor.source.getValue();
301-
var encoded = convert(txt);
301+
var encoded = encode(txt);
302302
editor.output.setValue(encoded,-1);
303303

304304
}//encode

0 commit comments

Comments
 (0)