File tree Expand file tree Collapse file tree 1 file changed +31
-5
lines changed
html-components/list/web-editor Expand file tree Collapse file tree 1 file changed +31
-5
lines changed Original file line number Diff line number Diff line change 100100
101101
102102 < style >
103+
104+ html
105+ {font-family : arial}
103106
104-
105-
107+ # latest
108+ {display : block;margin-top : 50px ;border : 1px solid blue;border-radius : 10px ;padding : 10px }
109+
110+
111+ code
112+ {display : block;white-space : pre;background : whitesmoke}
113+
106114 </ style >
107115
108116 </ head >
124132 </ div >
125133
126134 < code >
127-
135+ < script type =text/html >
136+
137+ < web-editor component fullsize mode = html src = 'https://libs.ext-code.com/html/web-editor/web-editor.html' > </ web-editor >
138+
139+ < web - editor component mode = text style = 'height:100px' >
140+
141+ lorem elum ipsum
142+
143+ < / w e b - e d i t o r >
144+
145+ </ script >
128146 </ code >
129147
130- < web-editor component id =latest src ='https://libs.ext-code.com/html/web-editor/web-editor.html '> </ web-editor >
148+ < web-editor component id =latest fullsize src ='https://libs.ext-code.com/html/web-editor/web-editor.html '> </ web-editor >
131149
132150
133151 < log-mod component > </ log-mod >
136154
137155
138156 < script >
157+
139158
140-
159+ document . querySelectorAll ( 'code script' ) . forEach ( node => node . parentNode . textContent = node . textContent ) ;
160+
161+
162+ //:
163+
164+
165+ //:
166+
141167 function initdom ( ) {
142168
143169 hdr . initdom ( ) ;
You can’t perform that action at this time.
0 commit comments