| 1 |
lars |
1 |
<com:TContent ID="body">
|
|
|
2 |
|
|
|
3 |
<h1>THtmlArea Samples</h1>
|
|
|
4 |
|
|
|
5 |
<table class="sampletable">
|
|
|
6 |
|
|
|
7 |
<tr><td class="samplenote">
|
|
|
8 |
THtmlArea with default settings:
|
|
|
9 |
</td><td class="sampleaction">
|
|
|
10 |
<com:THtmlArea ID="HtmlArea1" />
|
|
|
11 |
<com:TButton Text="Submit" OnClick="button1Clicked" />
|
|
|
12 |
<br/>
|
|
|
13 |
<com:TLiteral Encode="true" ID="Result1" />
|
|
|
14 |
</td></tr>
|
|
|
15 |
|
|
|
16 |
<tr><td class="samplenote">
|
|
|
17 |
Full featured THtmlArea example
|
|
|
18 |
</td><td class="sampleaction">
|
|
|
19 |
<com:THtmlArea ID="HtmlArea2" Width="670px" Height="300px">
|
|
|
20 |
<prop:Options>
|
|
|
21 |
theme : "advanced",
|
|
|
22 |
plugins : "devkit,style,layer,table,save,advhr,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
|
|
|
23 |
theme_advanced_buttons1_add_before : "save,newdocument,separator,styleselect",
|
|
|
24 |
theme_advanced_buttons1_add : "separator,insertdate,inserttime,preview,separator,advsearchreplace",
|
|
|
25 |
theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
|
|
|
26 |
theme_advanced_buttons3 : "tablecontrols,separator,emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
|
|
|
27 |
theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,|,visualchars,nonbreaking",
|
|
|
28 |
theme_advanced_toolbar_location : "top",
|
|
|
29 |
theme_advanced_toolbar_align : "left",
|
|
|
30 |
theme_advanced_path_location : "bottom",
|
|
|
31 |
content_css : "example_full.css",
|
|
|
32 |
plugin_insertdate_dateFormat : "%Y-%m-%d",
|
|
|
33 |
plugin_insertdate_timeFormat : "%H:%M:%S",
|
|
|
34 |
extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
|
|
|
35 |
external_link_list_url : "example_link_list.js",
|
|
|
36 |
external_image_list_url : "example_image_list.js",
|
|
|
37 |
flash_external_list_url : "example_flash_list.js",
|
|
|
38 |
media_external_list_url : "example_media_list.js",
|
|
|
39 |
file_browser_callback : "fileBrowserCallBack",
|
|
|
40 |
theme_advanced_resize_horizontal : false,
|
|
|
41 |
theme_advanced_resizing : true,
|
|
|
42 |
nonbreaking_force_tab : true,
|
|
|
43 |
apply_source_formatting : true
|
|
|
44 |
</prop:Options>
|
|
|
45 |
</com:THtmlArea>
|
|
|
46 |
<com:TButton Text="Submit" OnClick="button2Clicked" />
|
|
|
47 |
<br/>
|
|
|
48 |
<com:TLiteral Encode="true" ID="Result2" />
|
|
|
49 |
</td></tr>
|
|
|
50 |
|
|
|
51 |
<tr><td class="samplenote">
|
|
|
52 |
THtmlArea with visual editting disabled:
|
|
|
53 |
</td><td class="sampleaction">
|
|
|
54 |
<com:THtmlArea ID="HtmlArea3" EnableVisualEdit="false" />
|
|
|
55 |
<br/>
|
|
|
56 |
<com:TButton Text="Submit" OnClick="button3Clicked" />
|
|
|
57 |
<br/>
|
|
|
58 |
<com:TLiteral Encode="true" ID="Result3" />
|
|
|
59 |
</td></tr>
|
|
|
60 |
|
|
|
61 |
</table>
|
|
|
62 |
|
|
|
63 |
<div class="last-modified">$Id: Home.page 1916 2007-05-09 02:14:41Z wei $</div></com:TContent>
|