Skip to content

Commit 9c48817

Browse files
save file
1 parent 63a840e commit 9c48817

File tree

1 file changed

+93
-108
lines changed

1 file changed

+93
-108
lines changed

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

Lines changed: 93 additions & 108 deletions
Original file line numberDiff line numberDiff line change
@@ -264,129 +264,114 @@ <h3>
264264
</div>
265265

266266

267-
<h3>
268-
API
269-
</h3>
270-
271-
<div>
272-
<div>
273-
attributes
274-
</div>
275-
<table>
276-
<tr>
277-
<th>
278-
name
279-
</th>
280-
<th>
281-
value
282-
</th>
283-
<th>
284-
description
285-
</th>
286-
</tr>
287-
<tr>
288-
<td>
267+
<style>
268+
[api] [attribute] [item], [api] [module] [item]
269+
{margin:20px}
270+
271+
</style>
272+
<section api>
273+
<h3>
274+
API
275+
</h3>
276+
277+
<div attribute>
278+
<h4>
279+
[attribute]
280+
</h4>
281+
282+
<div item>
283+
<div class=name>
289284
fullsize
290-
</td>
291-
<td>
285+
</div>
286+
<div class=value>
292287
boolean ( exists )
293-
</td>
294-
<td>
288+
</div>
289+
<div class=description>
295290
makes the editor display the entire document
296-
</td>
297-
</tr>
298-
<tr>
299-
<td>
291+
</div>
292+
</div>
293+
294+
<div item>
295+
<div class=name>
300296
mode
301-
</td>
302-
<td>
297+
</div>
298+
<div class=value>
303299
js | javascript,python,java,c_cpp,csharp,php,ruby,go,swift,html,css,scss,less,typescript,markdown,json,xml,yaml,sql
304-
</td>
305-
<td>
300+
</div>
301+
<div class=description>
306302
sets the mode for the editor
307-
</td>
308-
</tr>
309-
<tr>
310-
<td>
303+
</div>
304+
</div>
305+
306+
<div item>
307+
<div class=name>
311308
src
312-
</td>
313-
<td>
309+
</div>
310+
<div class=value>
314311
[url]
315-
</td>
316-
<td>
312+
</div>
313+
<div class=description>
317314
url of text to display
318-
</td>
319-
</tr>
320-
</table>
321-
322-
323-
<div>
324-
module
315+
</div>
316+
</div>
325317
</div>
326-
<table>
327-
<tr>
328-
<th>
329-
name
330-
</th>
331-
<th>
332-
params
333-
</th>
334-
<th>
335-
description
336-
</th>
337-
</tr>
338-
<tr>
339-
<td>
318+
319+
320+
<div module>
321+
<h4>
322+
[module]
323+
</h4>
324+
325+
<div item>
326+
<div class=name>
340327
getvalue()
341328
<br>
342329
getValue()
343-
</td>
344-
</tr>
345-
346-
347-
348-
</table>
349-
<p>
350-
[module]
351-
<br>
352-
<b>
353-
getvalue()
354-
<br>
355-
getValue()
356-
</b>
357-
<br>
358-
get the text from the editor
359-
</p>
360-
<p>
361-
[module]
362-
<br>
363-
<b>
364-
setvalue( txt )
365-
<br>
366-
setValue( txt )
367-
</b>
368-
<br>
369-
set the text of the editor
370-
</p>
371-
<p>
372-
[module]
373-
<br>
374-
<b>
375-
filename ( file )
376-
</b>
377-
<br>
378-
file string | file as produced by file-mod
379-
<br>
380-
set the filename associated with the document the editor is displaying
381-
</p>
382-
</div>
330+
</div>
331+
<div class=params>
332+
none
333+
</div>
334+
<div class=description>
335+
get the text from the editor
336+
</div>
337+
</div>
338+
339+
<div item>
340+
<div class=name>
341+
setvalue( txt )
342+
<br>
343+
setValue( txt )
344+
</div>
345+
<div class=params>
346+
txt : string, the text to be displayed
347+
</div>
348+
<div class=description>
349+
set the text of the editor
350+
</div>
351+
</div>
352+
353+
<div item>
354+
<div class=name>
355+
filename ( file )
356+
</div>
357+
<div class=parameters>
358+
file string | file as produced by file-mod
359+
</div>
360+
<div class=description>
361+
set the filename associated with the document the editor is displaying
362+
</div>
363+
</div>
364+
</div>
365+
</section>
383366

384367

385-
<h3>
386-
Examples
387-
</h3>
388-
<div>
389-
</div>
368+
<section>
369+
<h3>
370+
Examples
371+
</h3>
372+
<div>
373+
</div>
374+
</section>
390375

391376

392377
<section files>

0 commit comments

Comments
 (0)