File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 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 : 20 px ; 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 ]
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 : 20 px }
198198
199199 # view
200200 {flex : 1 ;display : flex;gap : 10px ;width : 100% }
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 ( ) ;
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
You can’t perform that action at this time.
0 commit comments