Skip to content

Commit 6765340

Browse files
save file
1 parent 28de932 commit 6765340

File tree

1 file changed

+54
-3
lines changed

1 file changed

+54
-3
lines changed

html-components/list/web-editor/web-editor.html

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,25 +118,33 @@
118118

119119
<body>
120120

121-
<html-components-hdr v2.0 component=grp1>
122-
<img class=title src='../../images/html-components.png' style='top:-5px;height:80px' alt='deploy cloud run service'>
121+
<html-components-hdr component=grp1>
122+
<h2 class=title style='top:10px'>web-editor</h2>
123123
<time slot=date datetime=2025-11-08>08 Nov 2025</time>
124124
</html-components-hdr>
125125

126126

127+
<h3>
128+
Description
129+
</h3>
127130

128131
<div class=description>
129132

130133
The web-editor component produces an editor in the webpage
131134

132135
</div>
136+
137+
138+
<h3>
139+
Include
140+
</h3>
133141

134142
<code>
135143
<script type=text/html>
136144

137145
<web-editor component fullsize mode=html src='https://libs.ext-code.com/html/web-editor/web-editor.html'></web-editor>
138146

139-
<web-editor component mode=text style='height:100px'>
147+
<web-editor component mode=text style='display:block;height:100px'>
140148

141149
lorem elum ipsum
142150

@@ -145,6 +153,49 @@
145153
</script>
146154
</code>
147155

156+
157+
<h3>
158+
API
159+
</h3>
160+
161+
<div>
162+
<p>
163+
[attribute]
164+
<b>
165+
fullsize
166+
</b>
167+
<br>
168+
makes the editor display the entire document
169+
</p>
170+
<p>
171+
[attribute]
172+
<b>
173+
mode
174+
</b>
175+
<br>
176+
sets the mode of the editor
177+
</p>
178+
<ul>
179+
<li>
180+
js, javascript ( default )
181+
</li>
182+
<li>
183+
html
184+
</li>
185+
<li>
186+
text
187+
</li>
188+
<li>
189+
css
190+
</li>
191+
</ul>
192+
</div>
193+
194+
195+
<h3>
196+
Files
197+
</h3>
198+
148199
<web-editor component id=latest fullsize src='https://libs.ext-code.com/html/web-editor/web-editor.html'></web-editor>
149200

150201

0 commit comments

Comments
 (0)