summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/THtmlArea/Home.page
blob: 85c4c33c71eda82735b319a9a88fe0637b710aad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<com:TContent ID="body">

<h1>THtmlArea Samples</h1>

<table class="sampletable">

<tr><td class="samplenote">
THtmlArea with default settings:
</td><td class="sampleaction">
<com:THtmlArea ID="HtmlArea1" />
<com:TButton Text="Submit" OnClick="button1Clicked" />
<br/>
<com:TLiteral Encode="true" ID="Result1" />
</td></tr>

<tr><td class="samplenote">
Full featured THtmlArea example 
</td><td class="sampleaction">
<com:THtmlArea ID="HtmlArea2" Width="670px" Height="300px">
  <prop:Options>
		theme : "advanced",
		plugins : "devkit,style,layer,table,save,advhr,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras",
		theme_advanced_buttons1_add_before : "save,newdocument,separator,styleselect",
		theme_advanced_buttons1_add : "separator,insertdate,inserttime,preview,separator,advsearchreplace",
		theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
		theme_advanced_buttons3 : "tablecontrols,separator,emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
		theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,|,visualchars,nonbreaking",
		theme_advanced_toolbar_location : "top",
		theme_advanced_toolbar_align : "left",
		theme_advanced_path_location : "bottom",
		content_css : "example_full.css",
	    plugin_insertdate_dateFormat : "%Y-%m-%d",
	    plugin_insertdate_timeFormat : "%H:%M:%S",
		extended_valid_elements : "hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]",
		external_link_list_url : "example_link_list.js",
		external_image_list_url : "example_image_list.js",
		flash_external_list_url : "example_flash_list.js",
		media_external_list_url : "example_media_list.js",
		file_browser_callback : "fileBrowserCallBack",
		theme_advanced_resize_horizontal : false,
		theme_advanced_resizing : true,
		nonbreaking_force_tab : true,
		apply_source_formatting : true
  </prop:Options>
</com:THtmlArea>
<com:TButton Text="Submit" OnClick="button2Clicked" />
<br/>
<com:TLiteral Encode="true" ID="Result2" />
</td></tr>

<tr><td class="samplenote">
THtmlArea with visual editting disabled:
</td><td class="sampleaction">
<com:THtmlArea ID="HtmlArea3" EnableVisualEdit="false" />
<br/>
<com:TButton Text="Submit" OnClick="button3Clicked" />
<br/>
<com:TLiteral Encode="true" ID="Result3" />
</td></tr>

</table>

<div class="last-modified">$Id$</div></com:TContent>