Version Description
Download this release
Release Info
Developer | namith.jawahar |
Plugin | Wp-Insert |
Version | 1.2.1 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.2.1
- ads/insert-ads.php +176 -176
- fckeditor/_documentation.html +38 -38
- fckeditor/_samples/_plugins/findreplace/fckplugin.js +38 -38
- fckeditor/_samples/_plugins/findreplace/find.html +172 -172
- fckeditor/_samples/_plugins/findreplace/lang/en.js +33 -33
- fckeditor/_samples/_plugins/findreplace/lang/fr.js +33 -33
- fckeditor/_samples/_plugins/findreplace/lang/it.js +33 -33
- fckeditor/_samples/_plugins/findreplace/replace.html +135 -135
- fckeditor/_samples/_plugins/samples/fckplugin.js +73 -73
- fckeditor/_samples/adobeair/application.xml +0 -34
- fckeditor/_samples/adobeair/icons/128.png +0 -0
- fckeditor/_samples/adobeair/icons/16.png +0 -0
- fckeditor/_samples/adobeair/icons/32.png +0 -0
- fckeditor/_samples/adobeair/icons/48.png +0 -0
- fckeditor/_samples/adobeair/package.bat +0 -26
- fckeditor/_samples/adobeair/run.bat +0 -26
- fckeditor/_samples/adobeair/sample01.html +0 -58
- fckeditor/_samples/adobeair/sample01_cert.pfx +0 -0
- fckeditor/_samples/afp/fck.afpa +0 -1
- fckeditor/_samples/afp/fck.afpa.code +0 -165
- fckeditor/_samples/afp/sample01.afp +0 -56
- fckeditor/_samples/afp/sample02.afp +0 -113
- fckeditor/_samples/afp/sample03.afp +0 -91
- fckeditor/_samples/afp/sample04.afp +0 -98
- fckeditor/_samples/afp/sampleposteddata.afp +0 -63
- fckeditor/_samples/asp/sample01.asp +0 -62
- fckeditor/_samples/asp/sample02.asp +0 -108
- fckeditor/_samples/asp/sample03.asp +0 -92
- fckeditor/_samples/asp/sample04.asp +0 -98
- fckeditor/_samples/asp/sampleposteddata.asp +0 -56
- fckeditor/_samples/cfm/sample01.cfm +0 -63
- fckeditor/_samples/cfm/sample01_mx.cfm +0 -67
- fckeditor/_samples/cfm/sample02.cfm +0 -110
- fckeditor/_samples/cfm/sample02_mx.cfm +0 -114
- fckeditor/_samples/cfm/sample03.cfm +0 -95
- fckeditor/_samples/cfm/sample03_mx.cfm +0 -95
- fckeditor/_samples/cfm/sample04.cfm +0 -100
- fckeditor/_samples/cfm/sample04_mx.cfm +0 -101
- fckeditor/_samples/cfm/sampleposteddata.cfm +0 -68
- fckeditor/_samples/default.html +35 -35
- fckeditor/_samples/html/assets/sample06.config.js +0 -49
- fckeditor/_samples/html/assets/sample11_frame.html +0 -69
- fckeditor/_samples/html/assets/sample14.config.js +0 -121
- fckeditor/_samples/html/assets/sample14.styles.css +0 -228
- fckeditor/_samples/html/assets/sample15.config.js +0 -92
- fckeditor/_samples/html/assets/sample16.config.js +0 -92
- fckeditor/_samples/html/assets/sample16.fla +0 -0
- fckeditor/_samples/html/assets/sample16.swf +0 -0
- fckeditor/_samples/html/assets/swfobject.js +0 -18
- fckeditor/_samples/html/sample01.html +0 -59
- fckeditor/_samples/html/sample02.html +0 -63
- fckeditor/_samples/html/sample03.html +0 -140
- fckeditor/_samples/html/sample04.html +0 -95
- fckeditor/_samples/html/sample05.html +0 -125
- fckeditor/_samples/html/sample06.html +0 -73
- fckeditor/_samples/html/sample07.html +0 -59
- fckeditor/_samples/html/sample08.html +0 -196
- fckeditor/_samples/html/sample09.html +0 -100
- fckeditor/_samples/html/sample10.html +0 -79
- fckeditor/_samples/html/sample11.html +0 -43
- fckeditor/_samples/html/sample12.html +0 -124
- fckeditor/_samples/html/sample13.html +0 -148
- fckeditor/_samples/html/sample14.html +0 -66
- fckeditor/_samples/html/sample15.html +0 -66
- fckeditor/_samples/html/sample16.html +0 -91
- fckeditor/_samples/lasso/sample01.lasso +0 -55
- fckeditor/_samples/lasso/sample02.lasso +0 -109
- fckeditor/_samples/lasso/sample03.lasso +0 -87
- fckeditor/_samples/lasso/sample04.lasso +0 -93
- fckeditor/_samples/lasso/sampleposteddata.lasso +0 -53
- fckeditor/_samples/perl/sample01.cgi +0 -117
- fckeditor/_samples/perl/sample02.cgi +0 -182
- fckeditor/_samples/perl/sample03.cgi +0 -167
- fckeditor/_samples/perl/sample04.cgi +0 -174
- fckeditor/_samples/perl/sampleposteddata.cgi +0 -107
- fckeditor/_samples/php/sample01.php +57 -57
- fckeditor/_samples/php/sample02.php +108 -108
- fckeditor/_samples/php/sample03.php +89 -89
- fckeditor/_samples/php/sample04.php +95 -95
- fckeditor/_samples/php/sampleposteddata.php +69 -69
- fckeditor/_samples/py/sample01.py +0 -80
- fckeditor/_samples/py/sampleposteddata.py +0 -88
- fckeditor/_samples/sample.css +74 -74
- fckeditor/_samples/sampleslist.html +120 -120
- fckeditor/_upgrade.html +39 -39
- fckeditor/_whatsnew.html +170 -170
- fckeditor/_whatsnew_history.html +3916 -3916
- fckeditor/editor/_source/classes/fckcontextmenu.js +223 -223
- fckeditor/editor/_source/classes/fckdataprocessor.js +119 -119
- fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js +53 -53
- fckeditor/editor/_source/classes/fckdocumentfragment_ie.js +58 -58
- fckeditor/editor/_source/classes/fckdomrange.js +935 -935
- fckeditor/editor/_source/classes/fckdomrange_gecko.js +104 -104
- fckeditor/editor/_source/classes/fckdomrange_ie.js +199 -199
- fckeditor/editor/_source/classes/fckdomrangeiterator.js +0 -171
ads/insert-ads.php
CHANGED
@@ -1,177 +1,177 @@
|
|
1 |
-
<?php
|
2 |
-
// Hook for adding admin menus
|
3 |
-
add_action("plugins_loaded", "register_ad_widgets");
|
4 |
-
|
5 |
-
// Creating the dynamic widget for the widgets page
|
6 |
-
function register_ad_widgets() {
|
7 |
-
if(get_option('ad_widget_1_enable')) { register_sidebar_widget(__('Ad Widget : 1'), 'ad_widget_1_create'); }
|
8 |
-
if(get_option('ad_widget_2_enable')) { register_sidebar_widget(__('Ad Widget : 2'), 'ad_widget_2_create'); }
|
9 |
-
if(get_option('ad_widget_3_enable')) { register_sidebar_widget(__('Ad Widget : 3'), 'ad_widget_3_create'); }
|
10 |
-
if(get_option('ad_widget_4_enable')) { register_sidebar_widget(__('Ad Widget : 4'), 'ad_widget_4_create'); }
|
11 |
-
if(get_option('ad_widget_5_enable')) { register_sidebar_widget(__('Ad Widget : 5'), 'ad_widget_5_create'); }
|
12 |
-
}
|
13 |
-
|
14 |
-
function ad_widget_1_create($args) {
|
15 |
-
extract($args);
|
16 |
-
echo $before_widget;
|
17 |
-
echo get_option('ad_widget_1');
|
18 |
-
echo $after_widget;
|
19 |
-
}
|
20 |
-
|
21 |
-
function ad_widget_2_create($args) {
|
22 |
-
extract($args);
|
23 |
-
echo $before_widget;
|
24 |
-
echo get_option('ad_widget_2');
|
25 |
-
echo $after_widget;
|
26 |
-
}
|
27 |
-
|
28 |
-
function ad_widget_3_create($args) {
|
29 |
-
extract($args);
|
30 |
-
echo $before_widget;
|
31 |
-
echo get_option('ad_widget_3');
|
32 |
-
echo $after_widget;
|
33 |
-
}
|
34 |
-
|
35 |
-
function ad_widget_4_create($args) {
|
36 |
-
extract($args);
|
37 |
-
echo $before_widget;
|
38 |
-
echo get_option('ad_widget_4');
|
39 |
-
echo $after_widget;
|
40 |
-
}
|
41 |
-
|
42 |
-
function ad_widget_5_create($args) {
|
43 |
-
extract($args);
|
44 |
-
echo $before_widget;
|
45 |
-
echo get_option('ad_widget_5');
|
46 |
-
echo $after_widget;
|
47 |
-
}
|
48 |
-
|
49 |
-
// action function for adding the administrative page
|
50 |
-
function smart_add_adspage() { ?>
|
51 |
-
<div class="wrap">
|
52 |
-
<h2>WP-INSERT : Manage Ads</h2>
|
53 |
-
<?php show_support_options(); ?>
|
54 |
-
<form method="post" action="options.php">
|
55 |
-
<?php wp_nonce_field('update-options'); ?>
|
56 |
-
|
57 |
-
<table class="form-table">
|
58 |
-
|
59 |
-
<tr valign="top">
|
60 |
-
<th scope="row"><b>In post ads</b></th>
|
61 |
-
<td>Paste your ads below to make them appear automatically in your posts.</td>
|
62 |
-
</tr>
|
63 |
-
|
64 |
-
<tr valign="top">
|
65 |
-
<th scope="row">Ad code to insert<br/><b>( Above the post )</b><br/>
|
66 |
-
<br/><input id="ad_top_enable" name="ad_top_enable" type="checkbox" value="1"<?php if(get_option('ad_top_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
67 |
-
<td><textarea id="ad_top" name="ad_top" style="width:350px;height:150px;"><?php echo get_option('ad_top'); ?></textarea><br/>
|
68 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
69 |
-
</tr>
|
70 |
-
|
71 |
-
<tr valign="top">
|
72 |
-
<th scope="row">Ad code to insert<br/><b>( Below the post )</b><br/>
|
73 |
-
<br/><input id="ad_bottom_enable" name="ad_bottom_enable" type="checkbox" value="1"<?php if(get_option('ad_bottom_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
74 |
-
<td><textarea id="ad_bottom" name="ad_bottom" style="width:350px;height:150px;"><?php echo get_option('ad_bottom'); ?></textarea><br/>
|
75 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
76 |
-
</tr>
|
77 |
-
|
78 |
-
<tr valign="top">
|
79 |
-
<th scope="row">Ad code to insert<br/><b>( Left of the post )</b><br/>
|
80 |
-
<br/><input id="ad_left_enable" name="ad_left_enable" type="checkbox" value="1"<?php if(get_option('ad_left_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
81 |
-
<td><textarea id="ad_left" name="ad_left" style="width:350px;height:150px;"><?php echo get_option('ad_left'); ?></textarea><br/>
|
82 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
83 |
-
</tr>
|
84 |
-
|
85 |
-
<tr valign="top">
|
86 |
-
<th scope="row">Ad code to insert<br/><b>( Right of the post )</b><br/>
|
87 |
-
<br/><input id="ad_right_enable" name="ad_right_enable" type="checkbox" value="1"<?php if(get_option('ad_right_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
88 |
-
<td><textarea id="ad_right" name="ad_right" style="width:350px;height:150px;"><?php echo get_option('ad_right'); ?></textarea><br/>
|
89 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
90 |
-
</tr>
|
91 |
-
|
92 |
-
<tr valign="top">
|
93 |
-
<th scope="row"></th>
|
94 |
-
<td><input id="ad_enable_single" name="ad_enable_single" type="checkbox" value="1"<?php if(get_option('ad_enable_single')) echo ' checked="checked"'; ?>/> Show Ads only on single posts and pages<br/></td>
|
95 |
-
</tr>
|
96 |
-
|
97 |
-
<tr valign="top">
|
98 |
-
<th scope="row"><b>Ad Widgets</b></th>
|
99 |
-
<td>Paste your ads below and use the widgets section to insert the ads into your sidebar.</td>
|
100 |
-
</tr>
|
101 |
-
|
102 |
-
<tr valign="top">
|
103 |
-
<th scope="row">Ad code to insert<br/><b>( Ad widget : 1 )</b><br/>
|
104 |
-
<br/><input id="ad_widget_1_enable" name="ad_widget_1_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_1_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
105 |
-
<td><textarea id="ad_widget_1" name="ad_widget_1" style="width:350px;height:150px;"><?php echo get_option('ad_widget_1'); ?></textarea><br/>
|
106 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
107 |
-
</tr>
|
108 |
-
|
109 |
-
<tr valign="top">
|
110 |
-
<th scope="row">Ad code to insert<br/><b>( Ad widget : 2 )</b><br/>
|
111 |
-
<br/><input id="ad_widget_2_enable" name="ad_widget_2_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_2_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
112 |
-
<td><textarea id="ad_widget_2" name="ad_widget_2" style="width:350px;height:150px;"><?php echo get_option('ad_widget_2'); ?></textarea><br/>
|
113 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
114 |
-
</tr>
|
115 |
-
|
116 |
-
<tr valign="top">
|
117 |
-
<th scope="row">Ad code to insert<br/><b>( Ad widget : 3 )</b><br/>
|
118 |
-
<br/><input id="ad_widget_3_enable" name="ad_widget_3_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_3_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
119 |
-
<td><textarea id="ad_widget_3" name="ad_widget_3" style="width:350px;height:150px;"><?php echo get_option('ad_widget_3'); ?></textarea><br/>
|
120 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
121 |
-
</tr>
|
122 |
-
|
123 |
-
<tr valign="top">
|
124 |
-
<th scope="row">Ad code to insert<br/><b>( Ad widget : 4 )</b><br/>
|
125 |
-
<br/><input id="ad_widget_4_enable" name="ad_widget_4_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_4_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
126 |
-
<td><textarea id="ad_widget_4" name="ad_widget_4" style="width:350px;height:150px;"><?php echo get_option('ad_widget_4'); ?></textarea><br/>
|
127 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
128 |
-
</tr>
|
129 |
-
|
130 |
-
<tr valign="top">
|
131 |
-
<th scope="row">Ad code to insert<br/><b>( Ad widget : 5 )</b><br/>
|
132 |
-
<br/><input id="ad_widget_5_enable" name="ad_widget_5_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_5_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
133 |
-
<td><textarea id="ad_widget_5" name="ad_widget_5" style="width:350px;height:150px;"><?php echo get_option('ad_widget_5'); ?></textarea><br/>
|
134 |
-
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
135 |
-
</tr>
|
136 |
-
|
137 |
-
</table>
|
138 |
-
|
139 |
-
<input type="hidden" name="action" value="update" />
|
140 |
-
<input type="hidden" name="page_options" value="ad_top,ad_top_enable,ad_bottom,ad_bottom_enable,ad_left,ad_left_enable,ad_right,ad_right_enable,ad_enable_single,ad_widget_5_enable,ad_widget_4_enable,ad_widget_3_enable,ad_widget_2_enable,ad_widget_1_enable,ad_widget_5,ad_widget_4,ad_widget_3,ad_widget_2,ad_widget_1" />
|
141 |
-
<p class="submit">
|
142 |
-
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
143 |
-
</p>
|
144 |
-
</form>
|
145 |
-
</div>
|
146 |
-
<?php }
|
147 |
-
//Actual insertion of ads into content takes place here.
|
148 |
-
add_filter('the_content', 'insert_into_content');
|
149 |
-
|
150 |
-
function insert_into_content($content) {
|
151 |
-
if(!is_singular() && get_option('ad_enable_single')) { return $content; }
|
152 |
-
else {
|
153 |
-
$output = '<table><tr>';
|
154 |
-
if(get_option('ad_left_enable') && get_option('ad_right_enable')) {$cellspan=' colspan="3"';} else if(get_option('ad_left_enable') || get_option('ad_right_enable')) {$cellspan=' colspan="2"';} else {$cellspan='';}
|
155 |
-
|
156 |
-
if(get_option('ad_top_enable')) {
|
157 |
-
|
158 |
-
$output .= '<td'.$cellspan.' align="center">'.get_option('ad_top').'</td></tr><tr>';
|
159 |
-
}
|
160 |
-
if(get_option('ad_left_enable')) {
|
161 |
-
$output .= '<td valign="top">'.get_option('ad_left').'</td>';
|
162 |
-
}
|
163 |
-
|
164 |
-
$output .= '<td>'.$content.'</td>';
|
165 |
-
|
166 |
-
if(get_option('ad_right_enable')) {
|
167 |
-
$output .= '<td valign="top">'.get_option('ad_right').'</td>';
|
168 |
-
}
|
169 |
-
if(get_option('ad_bottom_enable')) {
|
170 |
-
$output .= '</tr><tr><td'.$cellspan.' align="center">'.get_option('ad_bottom').'</td>';
|
171 |
-
}
|
172 |
-
|
173 |
-
$output .= '</tr></table>';
|
174 |
-
return $output;
|
175 |
-
}
|
176 |
-
}
|
177 |
?>
|
1 |
+
<?php
|
2 |
+
// Hook for adding admin menus
|
3 |
+
add_action("plugins_loaded", "register_ad_widgets");
|
4 |
+
|
5 |
+
// Creating the dynamic widget for the widgets page
|
6 |
+
function register_ad_widgets() {
|
7 |
+
if(get_option('ad_widget_1_enable')) { register_sidebar_widget(__('Ad Widget : 1'), 'ad_widget_1_create'); }
|
8 |
+
if(get_option('ad_widget_2_enable')) { register_sidebar_widget(__('Ad Widget : 2'), 'ad_widget_2_create'); }
|
9 |
+
if(get_option('ad_widget_3_enable')) { register_sidebar_widget(__('Ad Widget : 3'), 'ad_widget_3_create'); }
|
10 |
+
if(get_option('ad_widget_4_enable')) { register_sidebar_widget(__('Ad Widget : 4'), 'ad_widget_4_create'); }
|
11 |
+
if(get_option('ad_widget_5_enable')) { register_sidebar_widget(__('Ad Widget : 5'), 'ad_widget_5_create'); }
|
12 |
+
}
|
13 |
+
|
14 |
+
function ad_widget_1_create($args) {
|
15 |
+
extract($args);
|
16 |
+
echo $before_widget;
|
17 |
+
echo get_option('ad_widget_1');
|
18 |
+
echo $after_widget;
|
19 |
+
}
|
20 |
+
|
21 |
+
function ad_widget_2_create($args) {
|
22 |
+
extract($args);
|
23 |
+
echo $before_widget;
|
24 |
+
echo get_option('ad_widget_2');
|
25 |
+
echo $after_widget;
|
26 |
+
}
|
27 |
+
|
28 |
+
function ad_widget_3_create($args) {
|
29 |
+
extract($args);
|
30 |
+
echo $before_widget;
|
31 |
+
echo get_option('ad_widget_3');
|
32 |
+
echo $after_widget;
|
33 |
+
}
|
34 |
+
|
35 |
+
function ad_widget_4_create($args) {
|
36 |
+
extract($args);
|
37 |
+
echo $before_widget;
|
38 |
+
echo get_option('ad_widget_4');
|
39 |
+
echo $after_widget;
|
40 |
+
}
|
41 |
+
|
42 |
+
function ad_widget_5_create($args) {
|
43 |
+
extract($args);
|
44 |
+
echo $before_widget;
|
45 |
+
echo get_option('ad_widget_5');
|
46 |
+
echo $after_widget;
|
47 |
+
}
|
48 |
+
|
49 |
+
// action function for adding the administrative page
|
50 |
+
function smart_add_adspage() { ?>
|
51 |
+
<div class="wrap">
|
52 |
+
<h2>WP-INSERT : Manage Ads</h2>
|
53 |
+
<?php show_support_options(); ?>
|
54 |
+
<form method="post" action="options.php">
|
55 |
+
<?php wp_nonce_field('update-options'); ?>
|
56 |
+
|
57 |
+
<table class="form-table">
|
58 |
+
|
59 |
+
<tr valign="top">
|
60 |
+
<th scope="row"><b>In post ads</b></th>
|
61 |
+
<td>Paste your ads below to make them appear automatically in your posts.</td>
|
62 |
+
</tr>
|
63 |
+
|
64 |
+
<tr valign="top">
|
65 |
+
<th scope="row">Ad code to insert<br/><b>( Above the post )</b><br/>
|
66 |
+
<br/><input id="ad_top_enable" name="ad_top_enable" type="checkbox" value="1"<?php if(get_option('ad_top_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
67 |
+
<td><textarea id="ad_top" name="ad_top" style="width:350px;height:150px;"><?php echo get_option('ad_top'); ?></textarea><br/>
|
68 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
69 |
+
</tr>
|
70 |
+
|
71 |
+
<tr valign="top">
|
72 |
+
<th scope="row">Ad code to insert<br/><b>( Below the post )</b><br/>
|
73 |
+
<br/><input id="ad_bottom_enable" name="ad_bottom_enable" type="checkbox" value="1"<?php if(get_option('ad_bottom_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
74 |
+
<td><textarea id="ad_bottom" name="ad_bottom" style="width:350px;height:150px;"><?php echo get_option('ad_bottom'); ?></textarea><br/>
|
75 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
76 |
+
</tr>
|
77 |
+
|
78 |
+
<tr valign="top">
|
79 |
+
<th scope="row">Ad code to insert<br/><b>( Left of the post )</b><br/>
|
80 |
+
<br/><input id="ad_left_enable" name="ad_left_enable" type="checkbox" value="1"<?php if(get_option('ad_left_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
81 |
+
<td><textarea id="ad_left" name="ad_left" style="width:350px;height:150px;"><?php echo get_option('ad_left'); ?></textarea><br/>
|
82 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
83 |
+
</tr>
|
84 |
+
|
85 |
+
<tr valign="top">
|
86 |
+
<th scope="row">Ad code to insert<br/><b>( Right of the post )</b><br/>
|
87 |
+
<br/><input id="ad_right_enable" name="ad_right_enable" type="checkbox" value="1"<?php if(get_option('ad_right_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
88 |
+
<td><textarea id="ad_right" name="ad_right" style="width:350px;height:150px;"><?php echo get_option('ad_right'); ?></textarea><br/>
|
89 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
90 |
+
</tr>
|
91 |
+
|
92 |
+
<tr valign="top">
|
93 |
+
<th scope="row"></th>
|
94 |
+
<td><input id="ad_enable_single" name="ad_enable_single" type="checkbox" value="1"<?php if(get_option('ad_enable_single')) echo ' checked="checked"'; ?>/> Show Ads only on single posts and pages<br/></td>
|
95 |
+
</tr>
|
96 |
+
|
97 |
+
<tr valign="top">
|
98 |
+
<th scope="row"><b>Ad Widgets</b></th>
|
99 |
+
<td>Paste your ads below and use the widgets section to insert the ads into your sidebar.</td>
|
100 |
+
</tr>
|
101 |
+
|
102 |
+
<tr valign="top">
|
103 |
+
<th scope="row">Ad code to insert<br/><b>( Ad widget : 1 )</b><br/>
|
104 |
+
<br/><input id="ad_widget_1_enable" name="ad_widget_1_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_1_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
105 |
+
<td><textarea id="ad_widget_1" name="ad_widget_1" style="width:350px;height:150px;"><?php echo get_option('ad_widget_1'); ?></textarea><br/>
|
106 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
107 |
+
</tr>
|
108 |
+
|
109 |
+
<tr valign="top">
|
110 |
+
<th scope="row">Ad code to insert<br/><b>( Ad widget : 2 )</b><br/>
|
111 |
+
<br/><input id="ad_widget_2_enable" name="ad_widget_2_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_2_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
112 |
+
<td><textarea id="ad_widget_2" name="ad_widget_2" style="width:350px;height:150px;"><?php echo get_option('ad_widget_2'); ?></textarea><br/>
|
113 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
114 |
+
</tr>
|
115 |
+
|
116 |
+
<tr valign="top">
|
117 |
+
<th scope="row">Ad code to insert<br/><b>( Ad widget : 3 )</b><br/>
|
118 |
+
<br/><input id="ad_widget_3_enable" name="ad_widget_3_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_3_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
119 |
+
<td><textarea id="ad_widget_3" name="ad_widget_3" style="width:350px;height:150px;"><?php echo get_option('ad_widget_3'); ?></textarea><br/>
|
120 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
121 |
+
</tr>
|
122 |
+
|
123 |
+
<tr valign="top">
|
124 |
+
<th scope="row">Ad code to insert<br/><b>( Ad widget : 4 )</b><br/>
|
125 |
+
<br/><input id="ad_widget_4_enable" name="ad_widget_4_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_4_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
126 |
+
<td><textarea id="ad_widget_4" name="ad_widget_4" style="width:350px;height:150px;"><?php echo get_option('ad_widget_4'); ?></textarea><br/>
|
127 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
128 |
+
</tr>
|
129 |
+
|
130 |
+
<tr valign="top">
|
131 |
+
<th scope="row">Ad code to insert<br/><b>( Ad widget : 5 )</b><br/>
|
132 |
+
<br/><input id="ad_widget_5_enable" name="ad_widget_5_enable" type="checkbox" value="1"<?php if(get_option('ad_widget_5_enable')) echo ' checked="checked"'; ?>/> Enabled</th>
|
133 |
+
<td><textarea id="ad_widget_5" name="ad_widget_5" style="width:350px;height:150px;"><?php echo get_option('ad_widget_5'); ?></textarea><br/>
|
134 |
+
<small>( Paste your ad-sense or similar code in the box above )</small></td>
|
135 |
+
</tr>
|
136 |
+
|
137 |
+
</table>
|
138 |
+
|
139 |
+
<input type="hidden" name="action" value="update" />
|
140 |
+
<input type="hidden" name="page_options" value="ad_top,ad_top_enable,ad_bottom,ad_bottom_enable,ad_left,ad_left_enable,ad_right,ad_right_enable,ad_enable_single,ad_widget_5_enable,ad_widget_4_enable,ad_widget_3_enable,ad_widget_2_enable,ad_widget_1_enable,ad_widget_5,ad_widget_4,ad_widget_3,ad_widget_2,ad_widget_1" />
|
141 |
+
<p class="submit">
|
142 |
+
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" />
|
143 |
+
</p>
|
144 |
+
</form>
|
145 |
+
</div>
|
146 |
+
<?php }
|
147 |
+
//Actual insertion of ads into content takes place here.
|
148 |
+
add_filter('the_content', 'insert_into_content');
|
149 |
+
|
150 |
+
function insert_into_content($content) {
|
151 |
+
if(!is_singular() && get_option('ad_enable_single')) { return $content; }
|
152 |
+
else {
|
153 |
+
$output = '<table><tr>';
|
154 |
+
if(get_option('ad_left_enable') && get_option('ad_right_enable')) {$cellspan=' colspan="3"';} else if(get_option('ad_left_enable') || get_option('ad_right_enable')) {$cellspan=' colspan="2"';} else {$cellspan='';}
|
155 |
+
|
156 |
+
if(get_option('ad_top_enable')) {
|
157 |
+
|
158 |
+
$output .= '<td'.$cellspan.' align="center">'.get_option('ad_top').'</td></tr><tr>';
|
159 |
+
}
|
160 |
+
if(get_option('ad_left_enable')) {
|
161 |
+
$output .= '<td valign="top">'.get_option('ad_left').'</td>';
|
162 |
+
}
|
163 |
+
|
164 |
+
$output .= '<td>'.$content.'</td>';
|
165 |
+
|
166 |
+
if(get_option('ad_right_enable')) {
|
167 |
+
$output .= '<td valign="top">'.get_option('ad_right').'</td>';
|
168 |
+
}
|
169 |
+
if(get_option('ad_bottom_enable')) {
|
170 |
+
$output .= '</tr><tr><td'.$cellspan.' align="center">'.get_option('ad_bottom').'</td>';
|
171 |
+
}
|
172 |
+
|
173 |
+
$output .= '</tr></table>';
|
174 |
+
return $output;
|
175 |
+
}
|
176 |
+
}
|
177 |
?>
|
fckeditor/_documentation.html
CHANGED
@@ -1,38 +1,38 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
-->
|
22 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
-
<head>
|
24 |
-
<title>FCKeditor - Documentation</title>
|
25 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
-
<style type="text/css">
|
27 |
-
body { font-family: arial, verdana, sans-serif }
|
28 |
-
p { margin-left: 20px }
|
29 |
-
</style>
|
30 |
-
</head>
|
31 |
-
<body>
|
32 |
-
<h1>
|
33 |
-
FCKeditor Documentation</h1>
|
34 |
-
<p>
|
35 |
-
You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/">
|
36 |
-
http://docs.fckeditor.net/</a>.</p>
|
37 |
-
</body>
|
38 |
-
</html>
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<!--
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
-->
|
22 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
+
<head>
|
24 |
+
<title>FCKeditor - Documentation</title>
|
25 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
+
<style type="text/css">
|
27 |
+
body { font-family: arial, verdana, sans-serif }
|
28 |
+
p { margin-left: 20px }
|
29 |
+
</style>
|
30 |
+
</head>
|
31 |
+
<body>
|
32 |
+
<h1>
|
33 |
+
FCKeditor Documentation</h1>
|
34 |
+
<p>
|
35 |
+
You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/">
|
36 |
+
http://docs.fckeditor.net/</a>.</p>
|
37 |
+
</body>
|
38 |
+
</html>
|
fckeditor/_samples/_plugins/findreplace/fckplugin.js
CHANGED
@@ -1,38 +1,38 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This is the sample plugin definition file.
|
22 |
-
*/
|
23 |
-
|
24 |
-
// Register the related commands.
|
25 |
-
FCKCommands.RegisterCommand( 'My_Find' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'] , FCKLang['DlgMyFindTitle'] , FCKConfig.PluginsPath + 'findreplace/find.html' , 340, 170 ) ) ;
|
26 |
-
FCKCommands.RegisterCommand( 'My_Replace' , new FCKDialogCommand( FCKLang['DlgMyReplaceTitle'], FCKLang['DlgMyReplaceTitle'] , FCKConfig.PluginsPath + 'findreplace/replace.html', 340, 200 ) ) ;
|
27 |
-
|
28 |
-
// Create the "Find" toolbar button.
|
29 |
-
var oFindItem = new FCKToolbarButton( 'My_Find', FCKLang['DlgMyFindTitle'] ) ;
|
30 |
-
oFindItem.IconPath = FCKConfig.PluginsPath + 'findreplace/find.gif' ;
|
31 |
-
|
32 |
-
FCKToolbarItems.RegisterItem( 'My_Find', oFindItem ) ; // 'My_Find' is the name used in the Toolbar config.
|
33 |
-
|
34 |
-
// Create the "Replace" toolbar button.
|
35 |
-
var oReplaceItem = new FCKToolbarButton( 'My_Replace', FCKLang['DlgMyReplaceTitle'] ) ;
|
36 |
-
oReplaceItem.IconPath = FCKConfig.PluginsPath + 'findreplace/replace.gif' ;
|
37 |
-
|
38 |
-
FCKToolbarItems.RegisterItem( 'My_Replace', oReplaceItem ) ; // 'My_Replace' is the name used in the Toolbar config.
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* This is the sample plugin definition file.
|
22 |
+
*/
|
23 |
+
|
24 |
+
// Register the related commands.
|
25 |
+
FCKCommands.RegisterCommand( 'My_Find' , new FCKDialogCommand( FCKLang['DlgMyFindTitle'] , FCKLang['DlgMyFindTitle'] , FCKConfig.PluginsPath + 'findreplace/find.html' , 340, 170 ) ) ;
|
26 |
+
FCKCommands.RegisterCommand( 'My_Replace' , new FCKDialogCommand( FCKLang['DlgMyReplaceTitle'], FCKLang['DlgMyReplaceTitle'] , FCKConfig.PluginsPath + 'findreplace/replace.html', 340, 200 ) ) ;
|
27 |
+
|
28 |
+
// Create the "Find" toolbar button.
|
29 |
+
var oFindItem = new FCKToolbarButton( 'My_Find', FCKLang['DlgMyFindTitle'] ) ;
|
30 |
+
oFindItem.IconPath = FCKConfig.PluginsPath + 'findreplace/find.gif' ;
|
31 |
+
|
32 |
+
FCKToolbarItems.RegisterItem( 'My_Find', oFindItem ) ; // 'My_Find' is the name used in the Toolbar config.
|
33 |
+
|
34 |
+
// Create the "Replace" toolbar button.
|
35 |
+
var oReplaceItem = new FCKToolbarButton( 'My_Replace', FCKLang['DlgMyReplaceTitle'] ) ;
|
36 |
+
oReplaceItem.IconPath = FCKConfig.PluginsPath + 'findreplace/replace.gif' ;
|
37 |
+
|
38 |
+
FCKToolbarItems.RegisterItem( 'My_Replace', oReplaceItem ) ; // 'My_Replace' is the name used in the Toolbar config.
|
fckeditor/_samples/_plugins/findreplace/find.html
CHANGED
@@ -1,172 +1,172 @@
|
|
1 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* This is the sample "Find" plugin window.
|
23 |
-
-->
|
24 |
-
<html>
|
25 |
-
<head>
|
26 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
27 |
-
<meta content="noindex, nofollow" name="robots">
|
28 |
-
<script type="text/javascript">
|
29 |
-
|
30 |
-
var oEditor = window.parent.InnerDialogLoaded() ;
|
31 |
-
|
32 |
-
function OnLoad()
|
33 |
-
{
|
34 |
-
// Whole word is available on IE only.
|
35 |
-
if ( oEditor.FCKBrowserInfo.IsIE )
|
36 |
-
document.getElementById('divWord').style.display = '' ;
|
37 |
-
|
38 |
-
// First of all, translate the dialog box texts.
|
39 |
-
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
40 |
-
|
41 |
-
window.parent.SetAutoSize( true ) ;
|
42 |
-
}
|
43 |
-
|
44 |
-
function btnStat(frm)
|
45 |
-
{
|
46 |
-
document.getElementById('btnFind').disabled =
|
47 |
-
( document.getElementById('txtFind').value.length == 0 ) ;
|
48 |
-
}
|
49 |
-
|
50 |
-
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll )
|
51 |
-
{
|
52 |
-
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
53 |
-
{
|
54 |
-
var oNode = parentNode.childNodes[i] ;
|
55 |
-
if ( oNode.nodeType == 3 )
|
56 |
-
{
|
57 |
-
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
58 |
-
if ( oNode.nodeValue != sReplaced )
|
59 |
-
{
|
60 |
-
oNode.nodeValue = sReplaced ;
|
61 |
-
if ( ! replaceAll )
|
62 |
-
return true ;
|
63 |
-
}
|
64 |
-
}
|
65 |
-
else
|
66 |
-
{
|
67 |
-
if ( ReplaceTextNodes( oNode, regex, replaceValue ) )
|
68 |
-
return true ;
|
69 |
-
}
|
70 |
-
}
|
71 |
-
return false ;
|
72 |
-
}
|
73 |
-
|
74 |
-
function GetRegexExpr()
|
75 |
-
{
|
76 |
-
if ( document.getElementById('chkWord').checked )
|
77 |
-
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
|
78 |
-
else
|
79 |
-
var sExpr = document.getElementById('txtFind').value ;
|
80 |
-
|
81 |
-
return sExpr ;
|
82 |
-
}
|
83 |
-
|
84 |
-
function GetCase()
|
85 |
-
{
|
86 |
-
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
87 |
-
}
|
88 |
-
|
89 |
-
function Ok()
|
90 |
-
{
|
91 |
-
if ( document.getElementById('txtFind').value.length == 0 )
|
92 |
-
return ;
|
93 |
-
|
94 |
-
if ( oEditor.FCKBrowserInfo.IsIE )
|
95 |
-
FindIE() ;
|
96 |
-
else
|
97 |
-
FindGecko() ;
|
98 |
-
}
|
99 |
-
|
100 |
-
var oRange = null ;
|
101 |
-
|
102 |
-
function FindIE()
|
103 |
-
{
|
104 |
-
if ( oRange == null )
|
105 |
-
oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
|
106 |
-
|
107 |
-
var iFlags = 0 ;
|
108 |
-
|
109 |
-
if ( chkCase.checked )
|
110 |
-
iFlags = iFlags | 4 ;
|
111 |
-
|
112 |
-
if ( chkWord.checked )
|
113 |
-
iFlags = iFlags | 2 ;
|
114 |
-
|
115 |
-
var bFound = oRange.findText( document.getElementById('txtFind').value, 1, iFlags ) ;
|
116 |
-
|
117 |
-
if ( bFound )
|
118 |
-
{
|
119 |
-
oRange.scrollIntoView() ;
|
120 |
-
oRange.select() ;
|
121 |
-
oRange.collapse(false) ;
|
122 |
-
oLastRangeFound = oRange ;
|
123 |
-
}
|
124 |
-
else
|
125 |
-
{
|
126 |
-
oRange = null ;
|
127 |
-
alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
|
128 |
-
}
|
129 |
-
}
|
130 |
-
|
131 |
-
function FindGecko()
|
132 |
-
{
|
133 |
-
var bCase = document.getElementById('chkCase').checked ;
|
134 |
-
var bWord = document.getElementById('chkWord').checked ;
|
135 |
-
|
136 |
-
// window.find( searchString, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog ) ;
|
137 |
-
oEditor.FCK.EditorWindow.find( document.getElementById('txtFind').value, bCase, false, false, bWord, false, false ) ;
|
138 |
-
|
139 |
-
}
|
140 |
-
</script>
|
141 |
-
</head>
|
142 |
-
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
143 |
-
<div align="center">
|
144 |
-
This is my Plugin!
|
145 |
-
</div>
|
146 |
-
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
|
147 |
-
<tr>
|
148 |
-
<td nowrap>
|
149 |
-
<label for="txtFind" fckLang="DlgMyReplaceFindLbl">Find what:</label>
|
150 |
-
</td>
|
151 |
-
<td width="100%">
|
152 |
-
<input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
|
153 |
-
</td>
|
154 |
-
<td>
|
155 |
-
<input id="btnFind" style="WIDTH: 100%; PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
|
156 |
-
onclick="Ok();" type="button" value="Find" fckLang="DlgMyFindFindBtn">
|
157 |
-
</td>
|
158 |
-
</tr>
|
159 |
-
<tr>
|
160 |
-
<td valign="bottom" colSpan="3">
|
161 |
-
<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
|
162 |
-
case</label>
|
163 |
-
<br>
|
164 |
-
<div id="divWord" style="DISPLAY: none">
|
165 |
-
<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
|
166 |
-
whole word</label>
|
167 |
-
</div>
|
168 |
-
</td>
|
169 |
-
</tr>
|
170 |
-
</table>
|
171 |
-
</body>
|
172 |
-
</html>
|
1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2 |
+
<!--
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* This is the sample "Find" plugin window.
|
23 |
+
-->
|
24 |
+
<html>
|
25 |
+
<head>
|
26 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
27 |
+
<meta content="noindex, nofollow" name="robots">
|
28 |
+
<script type="text/javascript">
|
29 |
+
|
30 |
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
31 |
+
|
32 |
+
function OnLoad()
|
33 |
+
{
|
34 |
+
// Whole word is available on IE only.
|
35 |
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
36 |
+
document.getElementById('divWord').style.display = '' ;
|
37 |
+
|
38 |
+
// First of all, translate the dialog box texts.
|
39 |
+
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
40 |
+
|
41 |
+
window.parent.SetAutoSize( true ) ;
|
42 |
+
}
|
43 |
+
|
44 |
+
function btnStat(frm)
|
45 |
+
{
|
46 |
+
document.getElementById('btnFind').disabled =
|
47 |
+
( document.getElementById('txtFind').value.length == 0 ) ;
|
48 |
+
}
|
49 |
+
|
50 |
+
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll )
|
51 |
+
{
|
52 |
+
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
53 |
+
{
|
54 |
+
var oNode = parentNode.childNodes[i] ;
|
55 |
+
if ( oNode.nodeType == 3 )
|
56 |
+
{
|
57 |
+
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
58 |
+
if ( oNode.nodeValue != sReplaced )
|
59 |
+
{
|
60 |
+
oNode.nodeValue = sReplaced ;
|
61 |
+
if ( ! replaceAll )
|
62 |
+
return true ;
|
63 |
+
}
|
64 |
+
}
|
65 |
+
else
|
66 |
+
{
|
67 |
+
if ( ReplaceTextNodes( oNode, regex, replaceValue ) )
|
68 |
+
return true ;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
return false ;
|
72 |
+
}
|
73 |
+
|
74 |
+
function GetRegexExpr()
|
75 |
+
{
|
76 |
+
if ( document.getElementById('chkWord').checked )
|
77 |
+
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
|
78 |
+
else
|
79 |
+
var sExpr = document.getElementById('txtFind').value ;
|
80 |
+
|
81 |
+
return sExpr ;
|
82 |
+
}
|
83 |
+
|
84 |
+
function GetCase()
|
85 |
+
{
|
86 |
+
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
87 |
+
}
|
88 |
+
|
89 |
+
function Ok()
|
90 |
+
{
|
91 |
+
if ( document.getElementById('txtFind').value.length == 0 )
|
92 |
+
return ;
|
93 |
+
|
94 |
+
if ( oEditor.FCKBrowserInfo.IsIE )
|
95 |
+
FindIE() ;
|
96 |
+
else
|
97 |
+
FindGecko() ;
|
98 |
+
}
|
99 |
+
|
100 |
+
var oRange = null ;
|
101 |
+
|
102 |
+
function FindIE()
|
103 |
+
{
|
104 |
+
if ( oRange == null )
|
105 |
+
oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
|
106 |
+
|
107 |
+
var iFlags = 0 ;
|
108 |
+
|
109 |
+
if ( chkCase.checked )
|
110 |
+
iFlags = iFlags | 4 ;
|
111 |
+
|
112 |
+
if ( chkWord.checked )
|
113 |
+
iFlags = iFlags | 2 ;
|
114 |
+
|
115 |
+
var bFound = oRange.findText( document.getElementById('txtFind').value, 1, iFlags ) ;
|
116 |
+
|
117 |
+
if ( bFound )
|
118 |
+
{
|
119 |
+
oRange.scrollIntoView() ;
|
120 |
+
oRange.select() ;
|
121 |
+
oRange.collapse(false) ;
|
122 |
+
oLastRangeFound = oRange ;
|
123 |
+
}
|
124 |
+
else
|
125 |
+
{
|
126 |
+
oRange = null ;
|
127 |
+
alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
|
128 |
+
}
|
129 |
+
}
|
130 |
+
|
131 |
+
function FindGecko()
|
132 |
+
{
|
133 |
+
var bCase = document.getElementById('chkCase').checked ;
|
134 |
+
var bWord = document.getElementById('chkWord').checked ;
|
135 |
+
|
136 |
+
// window.find( searchString, caseSensitive, backwards, wrapAround, wholeWord, searchInFrames, showDialog ) ;
|
137 |
+
oEditor.FCK.EditorWindow.find( document.getElementById('txtFind').value, bCase, false, false, bWord, false, false ) ;
|
138 |
+
|
139 |
+
}
|
140 |
+
</script>
|
141 |
+
</head>
|
142 |
+
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
143 |
+
<div align="center">
|
144 |
+
This is my Plugin!
|
145 |
+
</div>
|
146 |
+
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
|
147 |
+
<tr>
|
148 |
+
<td nowrap>
|
149 |
+
<label for="txtFind" fckLang="DlgMyReplaceFindLbl">Find what:</label>
|
150 |
+
</td>
|
151 |
+
<td width="100%">
|
152 |
+
<input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
|
153 |
+
</td>
|
154 |
+
<td>
|
155 |
+
<input id="btnFind" style="WIDTH: 100%; PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
|
156 |
+
onclick="Ok();" type="button" value="Find" fckLang="DlgMyFindFindBtn">
|
157 |
+
</td>
|
158 |
+
</tr>
|
159 |
+
<tr>
|
160 |
+
<td valign="bottom" colSpan="3">
|
161 |
+
<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
|
162 |
+
case</label>
|
163 |
+
<br>
|
164 |
+
<div id="divWord" style="DISPLAY: none">
|
165 |
+
<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
|
166 |
+
whole word</label>
|
167 |
+
</div>
|
168 |
+
</td>
|
169 |
+
</tr>
|
170 |
+
</table>
|
171 |
+
</body>
|
172 |
+
</html>
|
fckeditor/_samples/_plugins/findreplace/lang/en.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* English language file for the sample plugin.
|
22 |
-
*/
|
23 |
-
|
24 |
-
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Replace' ;
|
25 |
-
FCKLang['DlgMyReplaceFindLbl'] = 'Find what:' ;
|
26 |
-
FCKLang['DlgMyReplaceReplaceLbl'] = 'Replace with:' ;
|
27 |
-
FCKLang['DlgMyReplaceCaseChk'] = 'Match case' ;
|
28 |
-
FCKLang['DlgMyReplaceReplaceBtn'] = 'Replace' ;
|
29 |
-
FCKLang['DlgMyReplaceReplAllBtn'] = 'Replace All' ;
|
30 |
-
FCKLang['DlgMyReplaceWordChk'] = 'Match whole word' ;
|
31 |
-
|
32 |
-
FCKLang['DlgMyFindTitle'] = 'Plugin - Find' ;
|
33 |
-
FCKLang['DlgMyFindFindBtn'] = 'Find' ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* English language file for the sample plugin.
|
22 |
+
*/
|
23 |
+
|
24 |
+
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Replace' ;
|
25 |
+
FCKLang['DlgMyReplaceFindLbl'] = 'Find what:' ;
|
26 |
+
FCKLang['DlgMyReplaceReplaceLbl'] = 'Replace with:' ;
|
27 |
+
FCKLang['DlgMyReplaceCaseChk'] = 'Match case' ;
|
28 |
+
FCKLang['DlgMyReplaceReplaceBtn'] = 'Replace' ;
|
29 |
+
FCKLang['DlgMyReplaceReplAllBtn'] = 'Replace All' ;
|
30 |
+
FCKLang['DlgMyReplaceWordChk'] = 'Match whole word' ;
|
31 |
+
|
32 |
+
FCKLang['DlgMyFindTitle'] = 'Plugin - Find' ;
|
33 |
+
FCKLang['DlgMyFindFindBtn'] = 'Find' ;
|
fckeditor/_samples/_plugins/findreplace/lang/fr.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* French language file for the sample plugin.
|
22 |
-
*/
|
23 |
-
|
24 |
-
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Remplacer' ;
|
25 |
-
FCKLang['DlgMyReplaceFindLbl'] = 'Chercher:' ;
|
26 |
-
FCKLang['DlgMyReplaceReplaceLbl'] = 'Remplacer par:' ;
|
27 |
-
FCKLang['DlgMyReplaceCaseChk'] = 'Respecter la casse' ;
|
28 |
-
FCKLang['DlgMyReplaceReplaceBtn'] = 'Remplacer' ;
|
29 |
-
FCKLang['DlgMyReplaceReplAllBtn'] = 'Remplacer Tout' ;
|
30 |
-
FCKLang['DlgMyReplaceWordChk'] = 'Mot entier' ;
|
31 |
-
|
32 |
-
FCKLang['DlgMyFindTitle'] = 'Plugin - Chercher' ;
|
33 |
-
FCKLang['DlgMyFindFindBtn'] = 'Chercher' ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* French language file for the sample plugin.
|
22 |
+
*/
|
23 |
+
|
24 |
+
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Remplacer' ;
|
25 |
+
FCKLang['DlgMyReplaceFindLbl'] = 'Chercher:' ;
|
26 |
+
FCKLang['DlgMyReplaceReplaceLbl'] = 'Remplacer par:' ;
|
27 |
+
FCKLang['DlgMyReplaceCaseChk'] = 'Respecter la casse' ;
|
28 |
+
FCKLang['DlgMyReplaceReplaceBtn'] = 'Remplacer' ;
|
29 |
+
FCKLang['DlgMyReplaceReplAllBtn'] = 'Remplacer Tout' ;
|
30 |
+
FCKLang['DlgMyReplaceWordChk'] = 'Mot entier' ;
|
31 |
+
|
32 |
+
FCKLang['DlgMyFindTitle'] = 'Plugin - Chercher' ;
|
33 |
+
FCKLang['DlgMyFindFindBtn'] = 'Chercher' ;
|
fckeditor/_samples/_plugins/findreplace/lang/it.js
CHANGED
@@ -1,33 +1,33 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Italian language file for the sample plugin.
|
22 |
-
*/
|
23 |
-
|
24 |
-
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Sostituisci' ;
|
25 |
-
FCKLang['DlgMyReplaceFindLbl'] = 'Trova:' ;
|
26 |
-
FCKLang['DlgMyReplaceReplaceLbl'] = 'Sostituisci con:' ;
|
27 |
-
FCKLang['DlgMyReplaceCaseChk'] = 'Maiuscole/minuscole' ;
|
28 |
-
FCKLang['DlgMyReplaceReplaceBtn'] = 'Sostituisci' ;
|
29 |
-
FCKLang['DlgMyReplaceReplAllBtn'] = 'Sostituisci tutto' ;
|
30 |
-
FCKLang['DlgMyReplaceWordChk'] = 'Parola intera' ;
|
31 |
-
|
32 |
-
FCKLang['DlgMyFindTitle'] = 'Plugin - Cerca' ;
|
33 |
-
FCKLang['DlgMyFindFindBtn'] = 'Cerca' ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* Italian language file for the sample plugin.
|
22 |
+
*/
|
23 |
+
|
24 |
+
FCKLang['DlgMyReplaceTitle'] = 'Plugin - Sostituisci' ;
|
25 |
+
FCKLang['DlgMyReplaceFindLbl'] = 'Trova:' ;
|
26 |
+
FCKLang['DlgMyReplaceReplaceLbl'] = 'Sostituisci con:' ;
|
27 |
+
FCKLang['DlgMyReplaceCaseChk'] = 'Maiuscole/minuscole' ;
|
28 |
+
FCKLang['DlgMyReplaceReplaceBtn'] = 'Sostituisci' ;
|
29 |
+
FCKLang['DlgMyReplaceReplAllBtn'] = 'Sostituisci tutto' ;
|
30 |
+
FCKLang['DlgMyReplaceWordChk'] = 'Parola intera' ;
|
31 |
+
|
32 |
+
FCKLang['DlgMyFindTitle'] = 'Plugin - Cerca' ;
|
33 |
+
FCKLang['DlgMyFindFindBtn'] = 'Cerca' ;
|
fckeditor/_samples/_plugins/findreplace/replace.html
CHANGED
@@ -1,135 +1,135 @@
|
|
1 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* This is the sample "Replace" plugin window.
|
23 |
-
-->
|
24 |
-
<html>
|
25 |
-
<head>
|
26 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
27 |
-
<meta content="noindex, nofollow" name="robots">
|
28 |
-
<script type="text/javascript">
|
29 |
-
|
30 |
-
var oEditor = window.parent.InnerDialogLoaded() ;
|
31 |
-
|
32 |
-
function OnLoad()
|
33 |
-
{
|
34 |
-
// First of all, translate the dialog box texts
|
35 |
-
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
36 |
-
|
37 |
-
window.parent.SetAutoSize( true ) ;
|
38 |
-
}
|
39 |
-
|
40 |
-
function btnStat(frm)
|
41 |
-
{
|
42 |
-
document.getElementById('btnReplace').disabled =
|
43 |
-
document.getElementById('btnReplaceAll').disabled =
|
44 |
-
( document.getElementById('txtFind').value.length == 0 ) ;
|
45 |
-
}
|
46 |
-
|
47 |
-
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound )
|
48 |
-
{
|
49 |
-
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
50 |
-
{
|
51 |
-
var oNode = parentNode.childNodes[i] ;
|
52 |
-
if ( oNode.nodeType == 3 )
|
53 |
-
{
|
54 |
-
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
55 |
-
if ( oNode.nodeValue != sReplaced )
|
56 |
-
{
|
57 |
-
oNode.nodeValue = sReplaced ;
|
58 |
-
if ( ! replaceAll )
|
59 |
-
return true ;
|
60 |
-
hasFound = true ;
|
61 |
-
}
|
62 |
-
}
|
63 |
-
|
64 |
-
hasFound = ReplaceTextNodes( oNode, regex, replaceValue, replaceAll, hasFound ) ;
|
65 |
-
if ( ! replaceAll && hasFound )
|
66 |
-
return true ;
|
67 |
-
}
|
68 |
-
|
69 |
-
return hasFound ;
|
70 |
-
}
|
71 |
-
|
72 |
-
function GetRegexExpr()
|
73 |
-
{
|
74 |
-
if ( document.getElementById('chkWord').checked )
|
75 |
-
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
|
76 |
-
else
|
77 |
-
var sExpr = document.getElementById('txtFind').value ;
|
78 |
-
|
79 |
-
return sExpr ;
|
80 |
-
}
|
81 |
-
|
82 |
-
function GetCase()
|
83 |
-
{
|
84 |
-
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
85 |
-
}
|
86 |
-
|
87 |
-
function Replace()
|
88 |
-
{
|
89 |
-
var oRegex = new RegExp( GetRegexExpr(), GetCase() ) ;
|
90 |
-
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, false ) ;
|
91 |
-
}
|
92 |
-
|
93 |
-
function ReplaceAll()
|
94 |
-
{
|
95 |
-
var oRegex = new RegExp( GetRegexExpr(), GetCase() + 'g' ) ;
|
96 |
-
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, true ) ;
|
97 |
-
window.parent.Cancel() ;
|
98 |
-
}
|
99 |
-
</script>
|
100 |
-
</head>
|
101 |
-
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
102 |
-
<div align="center">
|
103 |
-
This is my Plugin!
|
104 |
-
</div>
|
105 |
-
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
|
106 |
-
<tr>
|
107 |
-
<td noWrap><label for="txtFind" fckLang="DlgMyReplaceFindLbl">Find what:</label>
|
108 |
-
</td>
|
109 |
-
<td width="100%"><input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
|
110 |
-
</td>
|
111 |
-
<td><input id="btnReplace" style="WIDTH: 100%" disabled onclick="Replace();" type="button"
|
112 |
-
value="Replace" fckLang="DlgMyReplaceReplaceBtn">
|
113 |
-
</td>
|
114 |
-
</tr>
|
115 |
-
<tr>
|
116 |
-
<td vAlign="top" nowrap><label for="txtReplace" fckLang="DlgMyReplaceReplaceLbl">Replace
|
117 |
-
with:</label>
|
118 |
-
</td>
|
119 |
-
<td vAlign="top"><input id="txtReplace" style="WIDTH: 100%" tabIndex="2" type="text">
|
120 |
-
</td>
|
121 |
-
<td><input id="btnReplaceAll" disabled onclick="ReplaceAll()" type="button" value="Replace All"
|
122 |
-
fckLang="DlgMyReplaceReplAllBtn">
|
123 |
-
</td>
|
124 |
-
</tr>
|
125 |
-
<tr>
|
126 |
-
<td vAlign="bottom" colSpan="3"> <input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
|
127 |
-
case</label>
|
128 |
-
<br>
|
129 |
-
<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
|
130 |
-
whole word</label>
|
131 |
-
</td>
|
132 |
-
</tr>
|
133 |
-
</table>
|
134 |
-
</body>
|
135 |
-
</html>
|
1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
2 |
+
<!--
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* This is the sample "Replace" plugin window.
|
23 |
+
-->
|
24 |
+
<html>
|
25 |
+
<head>
|
26 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
27 |
+
<meta content="noindex, nofollow" name="robots">
|
28 |
+
<script type="text/javascript">
|
29 |
+
|
30 |
+
var oEditor = window.parent.InnerDialogLoaded() ;
|
31 |
+
|
32 |
+
function OnLoad()
|
33 |
+
{
|
34 |
+
// First of all, translate the dialog box texts
|
35 |
+
oEditor.FCKLanguageManager.TranslatePage( document ) ;
|
36 |
+
|
37 |
+
window.parent.SetAutoSize( true ) ;
|
38 |
+
}
|
39 |
+
|
40 |
+
function btnStat(frm)
|
41 |
+
{
|
42 |
+
document.getElementById('btnReplace').disabled =
|
43 |
+
document.getElementById('btnReplaceAll').disabled =
|
44 |
+
( document.getElementById('txtFind').value.length == 0 ) ;
|
45 |
+
}
|
46 |
+
|
47 |
+
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll, hasFound )
|
48 |
+
{
|
49 |
+
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
|
50 |
+
{
|
51 |
+
var oNode = parentNode.childNodes[i] ;
|
52 |
+
if ( oNode.nodeType == 3 )
|
53 |
+
{
|
54 |
+
var sReplaced = oNode.nodeValue.replace( regex, replaceValue ) ;
|
55 |
+
if ( oNode.nodeValue != sReplaced )
|
56 |
+
{
|
57 |
+
oNode.nodeValue = sReplaced ;
|
58 |
+
if ( ! replaceAll )
|
59 |
+
return true ;
|
60 |
+
hasFound = true ;
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
hasFound = ReplaceTextNodes( oNode, regex, replaceValue, replaceAll, hasFound ) ;
|
65 |
+
if ( ! replaceAll && hasFound )
|
66 |
+
return true ;
|
67 |
+
}
|
68 |
+
|
69 |
+
return hasFound ;
|
70 |
+
}
|
71 |
+
|
72 |
+
function GetRegexExpr()
|
73 |
+
{
|
74 |
+
if ( document.getElementById('chkWord').checked )
|
75 |
+
var sExpr = '\\b' + document.getElementById('txtFind').value + '\\b' ;
|
76 |
+
else
|
77 |
+
var sExpr = document.getElementById('txtFind').value ;
|
78 |
+
|
79 |
+
return sExpr ;
|
80 |
+
}
|
81 |
+
|
82 |
+
function GetCase()
|
83 |
+
{
|
84 |
+
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
|
85 |
+
}
|
86 |
+
|
87 |
+
function Replace()
|
88 |
+
{
|
89 |
+
var oRegex = new RegExp( GetRegexExpr(), GetCase() ) ;
|
90 |
+
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, false ) ;
|
91 |
+
}
|
92 |
+
|
93 |
+
function ReplaceAll()
|
94 |
+
{
|
95 |
+
var oRegex = new RegExp( GetRegexExpr(), GetCase() + 'g' ) ;
|
96 |
+
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex, document.getElementById('txtReplace').value, true ) ;
|
97 |
+
window.parent.Cancel() ;
|
98 |
+
}
|
99 |
+
</script>
|
100 |
+
</head>
|
101 |
+
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
|
102 |
+
<div align="center">
|
103 |
+
This is my Plugin!
|
104 |
+
</div>
|
105 |
+
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
|
106 |
+
<tr>
|
107 |
+
<td noWrap><label for="txtFind" fckLang="DlgMyReplaceFindLbl">Find what:</label>
|
108 |
+
</td>
|
109 |
+
<td width="100%"><input id="txtFind" onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
|
110 |
+
</td>
|
111 |
+
<td><input id="btnReplace" style="WIDTH: 100%" disabled onclick="Replace();" type="button"
|
112 |
+
value="Replace" fckLang="DlgMyReplaceReplaceBtn">
|
113 |
+
</td>
|
114 |
+
</tr>
|
115 |
+
<tr>
|
116 |
+
<td vAlign="top" nowrap><label for="txtReplace" fckLang="DlgMyReplaceReplaceLbl">Replace
|
117 |
+
with:</label>
|
118 |
+
</td>
|
119 |
+
<td vAlign="top"><input id="txtReplace" style="WIDTH: 100%" tabIndex="2" type="text">
|
120 |
+
</td>
|
121 |
+
<td><input id="btnReplaceAll" disabled onclick="ReplaceAll()" type="button" value="Replace All"
|
122 |
+
fckLang="DlgMyReplaceReplAllBtn">
|
123 |
+
</td>
|
124 |
+
</tr>
|
125 |
+
<tr>
|
126 |
+
<td vAlign="bottom" colSpan="3"> <input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
|
127 |
+
case</label>
|
128 |
+
<br>
|
129 |
+
<input id="chkWord" tabIndex="4" type="checkbox"><label for="chkWord" fckLang="DlgMyReplaceWordChk">Match
|
130 |
+
whole word</label>
|
131 |
+
</td>
|
132 |
+
</tr>
|
133 |
+
</table>
|
134 |
+
</body>
|
135 |
+
</html>
|
fckeditor/_samples/_plugins/samples/fckplugin.js
CHANGED
@@ -1,73 +1,73 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This is a sample plugin definition file.
|
22 |
-
*/
|
23 |
-
|
24 |
-
// Here we define our custom Style combo, with custom widths.
|
25 |
-
var oMyBigStyleCombo = new FCKToolbarStyleCombo() ;
|
26 |
-
oMyBigStyleCombo.FieldWidth = 250 ;
|
27 |
-
oMyBigStyleCombo.PanelWidth = 300 ;
|
28 |
-
FCKToolbarItems.RegisterItem( 'My_BigStyle', oMyBigStyleCombo ) ;
|
29 |
-
|
30 |
-
|
31 |
-
// ##### Defining a custom context menu entry.
|
32 |
-
|
33 |
-
// ## 1. Define the command to be executed when selecting the context menu item.
|
34 |
-
var oMyCMCommand = new Object() ;
|
35 |
-
oMyCMCommand.Name = 'OpenImage' ;
|
36 |
-
|
37 |
-
// This is the standard function used to execute the command (called when clicking in the context menu item).
|
38 |
-
oMyCMCommand.Execute = function()
|
39 |
-
{
|
40 |
-
// This command is called only when an image element is selected (IMG).
|
41 |
-
// Get image URL (src).
|
42 |
-
var sUrl = FCKSelection.GetSelectedElement().src ;
|
43 |
-
|
44 |
-
// Open the URL in a new window.
|
45 |
-
window.top.open( sUrl ) ;
|
46 |
-
}
|
47 |
-
|
48 |
-
// This is the standard function used to retrieve the command state (it could be disabled for some reason).
|
49 |
-
oMyCMCommand.GetState = function()
|
50 |
-
{
|
51 |
-
// Let's make it always enabled.
|
52 |
-
return FCK_TRISTATE_OFF ;
|
53 |
-
}
|
54 |
-
|
55 |
-
// ## 2. Register our custom command.
|
56 |
-
FCKCommands.RegisterCommand( 'OpenImage', oMyCMCommand ) ;
|
57 |
-
|
58 |
-
// ## 3. Define the context menu "listener".
|
59 |
-
var oMyContextMenuListener = new Object() ;
|
60 |
-
|
61 |
-
// This is the standard function called right before sowing the context menu.
|
62 |
-
oMyContextMenuListener.AddItems = function( contextMenu, tag, tagName )
|
63 |
-
{
|
64 |
-
// Let's show our custom option only for images.
|
65 |
-
if ( tagName == 'IMG' )
|
66 |
-
{
|
67 |
-
contextMenu.AddSeparator() ;
|
68 |
-
contextMenu.AddItem( 'OpenImage', 'Open image in a new window (Custom)' ) ;
|
69 |
-
}
|
70 |
-
}
|
71 |
-
|
72 |
-
// ## 4. Register our context menu listener.
|
73 |
-
FCK.ContextMenu.RegisterListener( oMyContextMenuListener ) ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* This is a sample plugin definition file.
|
22 |
+
*/
|
23 |
+
|
24 |
+
// Here we define our custom Style combo, with custom widths.
|
25 |
+
var oMyBigStyleCombo = new FCKToolbarStyleCombo() ;
|
26 |
+
oMyBigStyleCombo.FieldWidth = 250 ;
|
27 |
+
oMyBigStyleCombo.PanelWidth = 300 ;
|
28 |
+
FCKToolbarItems.RegisterItem( 'My_BigStyle', oMyBigStyleCombo ) ;
|
29 |
+
|
30 |
+
|
31 |
+
// ##### Defining a custom context menu entry.
|
32 |
+
|
33 |
+
// ## 1. Define the command to be executed when selecting the context menu item.
|
34 |
+
var oMyCMCommand = new Object() ;
|
35 |
+
oMyCMCommand.Name = 'OpenImage' ;
|
36 |
+
|
37 |
+
// This is the standard function used to execute the command (called when clicking in the context menu item).
|
38 |
+
oMyCMCommand.Execute = function()
|
39 |
+
{
|
40 |
+
// This command is called only when an image element is selected (IMG).
|
41 |
+
// Get image URL (src).
|
42 |
+
var sUrl = FCKSelection.GetSelectedElement().src ;
|
43 |
+
|
44 |
+
// Open the URL in a new window.
|
45 |
+
window.top.open( sUrl ) ;
|
46 |
+
}
|
47 |
+
|
48 |
+
// This is the standard function used to retrieve the command state (it could be disabled for some reason).
|
49 |
+
oMyCMCommand.GetState = function()
|
50 |
+
{
|
51 |
+
// Let's make it always enabled.
|
52 |
+
return FCK_TRISTATE_OFF ;
|
53 |
+
}
|
54 |
+
|
55 |
+
// ## 2. Register our custom command.
|
56 |
+
FCKCommands.RegisterCommand( 'OpenImage', oMyCMCommand ) ;
|
57 |
+
|
58 |
+
// ## 3. Define the context menu "listener".
|
59 |
+
var oMyContextMenuListener = new Object() ;
|
60 |
+
|
61 |
+
// This is the standard function called right before sowing the context menu.
|
62 |
+
oMyContextMenuListener.AddItems = function( contextMenu, tag, tagName )
|
63 |
+
{
|
64 |
+
// Let's show our custom option only for images.
|
65 |
+
if ( tagName == 'IMG' )
|
66 |
+
{
|
67 |
+
contextMenu.AddSeparator() ;
|
68 |
+
contextMenu.AddItem( 'OpenImage', 'Open image in a new window (Custom)' ) ;
|
69 |
+
}
|
70 |
+
}
|
71 |
+
|
72 |
+
// ## 4. Register our context menu listener.
|
73 |
+
FCK.ContextMenu.RegisterListener( oMyContextMenuListener ) ;
|
fckeditor/_samples/adobeair/application.xml
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
<?xml version="1.0" encoding="utf-8" ?>
|
2 |
-
<application xmlns="http://ns.adobe.com/air/application/1.0">
|
3 |
-
<id>net.fckeditor.air.samples.sample01</id>
|
4 |
-
<name>FCKeditor Sample Application 1.0</name>
|
5 |
-
<version>1.0</version>
|
6 |
-
<filename>FCKeditor AIR Sample</filename>
|
7 |
-
<description>This is a sample AIR application including FCKeditor.</description>
|
8 |
-
<copyright>Copyright (C) 2003-2009 Frederico Caldeira Knabben</copyright>
|
9 |
-
<initialWindow>
|
10 |
-
<content>_samples/adobeair/sample01.html</content>
|
11 |
-
<title>FCKeditor AIR Sample</title>
|
12 |
-
<systemChrome>standard</systemChrome>
|
13 |
-
<transparent>false</transparent>
|
14 |
-
<visible>true</visible>
|
15 |
-
<minimizable>true</minimizable>
|
16 |
-
<maximizable>true</maximizable>
|
17 |
-
<resizable>true</resizable>
|
18 |
-
<x>100</x>
|
19 |
-
<y>80</y>
|
20 |
-
<width>820</width>
|
21 |
-
<height>600</height>
|
22 |
-
<minSize>600 400</minSize>
|
23 |
-
</initialWindow>
|
24 |
-
<installFolder>FCKeditor/AIR Samples/Sample01</installFolder>
|
25 |
-
<programMenuFolder>FCKeditor/AIR Samples</programMenuFolder>
|
26 |
-
<icon>
|
27 |
-
<image16x16>_samples/adobeair/icons/16.png</image16x16>
|
28 |
-
<image32x32>_samples/adobeair/icons/32.png</image32x32>
|
29 |
-
<image48x48>_samples/adobeair/icons/48.png</image48x48>
|
30 |
-
<image128x128>_samples/adobeair/icons/128.png</image128x128>
|
31 |
-
</icon>
|
32 |
-
<customUpdateUI>false</customUpdateUI>
|
33 |
-
<allowBrowserInvocation>false</allowBrowserInvocation>
|
34 |
-
</application>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/adobeair/icons/128.png
DELETED
Binary file
|
fckeditor/_samples/adobeair/icons/16.png
DELETED
Binary file
|
fckeditor/_samples/adobeair/icons/32.png
DELETED
Binary file
|
fckeditor/_samples/adobeair/icons/48.png
DELETED
Binary file
|
fckeditor/_samples/adobeair/package.bat
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
@ECHO OFF
|
2 |
-
|
3 |
-
::
|
4 |
-
:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
:: Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
::
|
7 |
-
:: == BEGIN LICENSE ==
|
8 |
-
::
|
9 |
-
:: Licensed under the terms of any of the following licenses at your
|
10 |
-
:: choice:
|
11 |
-
::
|
12 |
-
:: - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
:: http://www.gnu.org/licenses/gpl.html
|
14 |
-
::
|
15 |
-
:: - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
:: http://www.gnu.org/licenses/lgpl.html
|
17 |
-
::
|
18 |
-
:: - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
:: http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
::
|
21 |
-
:: == END LICENSE ==
|
22 |
-
::
|
23 |
-
|
24 |
-
:: adt -package SIGNING_OPTIONS air_file app_xml [file_or_dir | -C dir file_or_dir | -e file dir ...] ...
|
25 |
-
|
26 |
-
"C:\Adobe AIR SDK\bin\adt" -package -storetype pkcs12 -keystore sample01_cert.pfx -storepass 123abc FCKeditor.air application.xml -C ../../ .
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/adobeair/run.bat
DELETED
@@ -1,26 +0,0 @@
|
|
1 |
-
@ECHO OFF
|
2 |
-
|
3 |
-
::
|
4 |
-
:: FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
:: Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
::
|
7 |
-
:: == BEGIN LICENSE ==
|
8 |
-
::
|
9 |
-
:: Licensed under the terms of any of the following licenses at your
|
10 |
-
:: choice:
|
11 |
-
::
|
12 |
-
:: - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
:: http://www.gnu.org/licenses/gpl.html
|
14 |
-
::
|
15 |
-
:: - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
:: http://www.gnu.org/licenses/lgpl.html
|
17 |
-
::
|
18 |
-
:: - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
:: http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
::
|
21 |
-
:: == END LICENSE ==
|
22 |
-
::
|
23 |
-
|
24 |
-
:: adl [-runtime runtime-directory] [-pubId publisher-id] [-nodebug] application.xml [rootdirectory] [-- arguments]
|
25 |
-
|
26 |
-
"C:\Adobe AIR SDK\bin\adl" application.xml ../../
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/adobeair/sample01.html
DELETED
@@ -1,58 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample Adobe AIR application.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Adobe AIR Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<style type="text/css">
|
32 |
-
body { margin: 10px ; }
|
33 |
-
</style>
|
34 |
-
</head>
|
35 |
-
<body>
|
36 |
-
<h1>
|
37 |
-
FCKeditor - Adobe AIR Sample
|
38 |
-
</h1>
|
39 |
-
<div>
|
40 |
-
This sample loads FCKeditor with full features enabled.
|
41 |
-
</div>
|
42 |
-
<hr />
|
43 |
-
<script type="text/javascript">
|
44 |
-
|
45 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
46 |
-
// This is usefull only for these samples. A real application should use something like this:
|
47 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
48 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
49 |
-
|
50 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
51 |
-
oFCKeditor.BasePath = sBasePath ;
|
52 |
-
oFCKeditor.Height = 400 ;
|
53 |
-
oFCKeditor.Value = '<p>FCKeditor is in the <strong>AIR</strong>!<\/p>' ;
|
54 |
-
oFCKeditor.Create() ;
|
55 |
-
|
56 |
-
</script>
|
57 |
-
</body>
|
58 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/adobeair/sample01_cert.pfx
DELETED
Binary file
|
fckeditor/_samples/afp/fck.afpa
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
<application ID="fck"/>
|
|
fckeditor/_samples/afp/fck.afpa.code
DELETED
@@ -1,165 +0,0 @@
|
|
1 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
2 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
3 |
-
*
|
4 |
-
* == BEGIN LICENSE ==
|
5 |
-
*
|
6 |
-
* Licensed under the terms of any of the following licenses at your
|
7 |
-
* choice:
|
8 |
-
*
|
9 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
10 |
-
* http://www.gnu.org/licenses/gpl.html
|
11 |
-
*
|
12 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
13 |
-
* http://www.gnu.org/licenses/lgpl.html
|
14 |
-
*
|
15 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
16 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
17 |
-
*
|
18 |
-
* == END LICENSE ==
|
19 |
-
*
|
20 |
-
* This is the class definition file for the sample pages.
|
21 |
-
*
|
22 |
-
|
23 |
-
DEFINE CLASS fckeditor AS custom
|
24 |
-
cInstanceName =""
|
25 |
-
BasePath =""
|
26 |
-
cWIDTH =""
|
27 |
-
cHEIGHT =""
|
28 |
-
ToolbarSet =""
|
29 |
-
cValue=""
|
30 |
-
DIMENSION aConfig(10,2)
|
31 |
-
|
32 |
-
&& -----------------------------------------------------------------------
|
33 |
-
FUNCTION fckeditor( tcInstanceName )
|
34 |
-
LOCAL lnLoop,lnLoop2
|
35 |
-
THIS.cInstanceName = tcInstanceName
|
36 |
-
THIS.BasePath = '../../../FCKeditor/'
|
37 |
-
THIS.cWIDTH = '100%'
|
38 |
-
THIS.cHEIGHT = '200'
|
39 |
-
THIS.ToolbarSet = 'Default'
|
40 |
-
THIS.cValue = ''
|
41 |
-
FOR lnLoop=1 TO 10
|
42 |
-
FOR lnLoop2=1 TO 2
|
43 |
-
THIS.aConfig(lnLoop,lnLoop2) = ""
|
44 |
-
NEXT
|
45 |
-
NEXT
|
46 |
-
RETURN
|
47 |
-
ENDFUNC
|
48 |
-
|
49 |
-
|
50 |
-
&& -----------------------------------------------------------------------
|
51 |
-
FUNCTION CREATE()
|
52 |
-
RETURN(THIS.CreateHtml())
|
53 |
-
ENDFUNC
|
54 |
-
|
55 |
-
&& -----------------------------------------------------------------------
|
56 |
-
FUNCTION CreateHtml()
|
57 |
-
LOCAL html
|
58 |
-
LOCAL lcLink
|
59 |
-
|
60 |
-
HtmlValue = THIS.cValue && HTMLSPECIALCHARS()
|
61 |
-
|
62 |
-
html = [<div>]
|
63 |
-
IF THIS.IsCompatible()
|
64 |
-
lcLink = THIS.BasePath+[editor/fckeditor.html?InstanceName=]+THIS.cInstanceName
|
65 |
-
|
66 |
-
IF ( !THIS.ToolbarSet == '' )
|
67 |
-
lcLink = lcLink + [&Toolbar=]+THIS.ToolbarSet
|
68 |
-
ENDIF
|
69 |
-
|
70 |
-
&& Render the LINKED HIDDEN FIELD.
|
71 |
-
html = html + [<input type="hidden" id="]+THIS.cInstanceName +[" name="]+THIS.cInstanceName +[" value="]+HtmlValue+[">]
|
72 |
-
|
73 |
-
&& Render the configurations HIDDEN FIELD.
|
74 |
-
html = html + [<input type="hidden" id="]+THIS.cInstanceName +[___Config" value="]+THIS.GetConfigFieldString() + [">] +CHR(13)+CHR(10)
|
75 |
-
|
76 |
-
&& Render the EDITOR IFRAME.
|
77 |
-
html = html + [<iframe id="]+THIS.cInstanceName +[___Frame" src="]+lcLink+[" width="]+THIS.cWIDTH+[" height="]+THIS.cHEIGHT+[" frameborder="no" scrolling="no"></iframe>]
|
78 |
-
ELSE
|
79 |
-
IF ( AT("%", THIS.cWIDTH)=0 )
|
80 |
-
WidthCSS = THIS.cWIDTH + 'px'
|
81 |
-
ELSE
|
82 |
-
WidthCSS = THIS.cWIDTH
|
83 |
-
ENDIF
|
84 |
-
|
85 |
-
IF ( AT("%",THIS.cHEIGHT)=0 )
|
86 |
-
HeightCSS = THIS.cHEIGHT + 'px'
|
87 |
-
ELSE
|
88 |
-
HeightCSS = THIS.cHEIGHT
|
89 |
-
ENDIF
|
90 |
-
|
91 |
-
html = html + [<textarea name="]+THIS.cInstanceName +[" rows="4" cols="40" style="width: ]+WidthCSS+[ height: ]+HeightCSS+[" wrap="virtual">]+HtmlValue+[</textarea>]
|
92 |
-
ENDIF
|
93 |
-
|
94 |
-
html = html + [</div>]
|
95 |
-
|
96 |
-
RETURN (html)
|
97 |
-
ENDFUNC
|
98 |
-
|
99 |
-
|
100 |
-
&& -----------------------------------------------------------------------
|
101 |
-
FUNCTION IsCompatible()
|
102 |
-
LOCAL llRetval
|
103 |
-
LOCAL sAgent
|
104 |
-
|
105 |
-
llRetval=.F.
|
106 |
-
|
107 |
-
sAgent= LOWER(Request.ServerVariables("HTTP_USER_AGENT"))
|
108 |
-
|
109 |
-
IF AT("msie",sAgent) >0 .AND. AT("mac",sAgent)=0 .AND. AT("opera",sAgent)=0
|
110 |
-
iVersion=VAL(SUBSTR(sAgent,AT("msie",sAgent)+5,3))
|
111 |
-
llRetval= iVersion > 5.5
|
112 |
-
ELSE
|
113 |
-
IF AT("gecko",sAgent)>0
|
114 |
-
iVersion=VAL(SUBSTR(sAgent,AT("gecko/",sAgent)+6,8))
|
115 |
-
llRetval =iVersion > 20030210
|
116 |
-
ENDIF
|
117 |
-
ENDIF
|
118 |
-
RETURN (llRetval)
|
119 |
-
ENDFUNC
|
120 |
-
|
121 |
-
&& -----------------------------------------------------------------------
|
122 |
-
FUNCTION GetConfigFieldString()
|
123 |
-
LOCAL sParams
|
124 |
-
LOCAL bFirst
|
125 |
-
LOCAL sKey
|
126 |
-
sParams = ""
|
127 |
-
bFirst = .T.
|
128 |
-
FOR lnLoop=1 TO 10 && ALEN(this.aconfig)
|
129 |
-
IF !EMPTY(THIS.aConfig(lnLoop,1))
|
130 |
-
IF bFirst = .F.
|
131 |
-
sParams = sParams + "&"
|
132 |
-
ELSE
|
133 |
-
bFirst = .F.
|
134 |
-
ENDIF
|
135 |
-
sParams = sParams +THIS.aConfig(lnLoop,1)+[=]+THIS.aConfig(lnLoop,2)
|
136 |
-
ELSE
|
137 |
-
EXIT
|
138 |
-
ENDIF
|
139 |
-
NEXT
|
140 |
-
RETURN(sParams)
|
141 |
-
ENDFUNC
|
142 |
-
&& -----------------------------------------------------------------------
|
143 |
-
&& This function removes unwanted characters in URL parameters mostly entered by hackers
|
144 |
-
|
145 |
-
FUNCTION StripAttacks
|
146 |
-
LPARAMETERS tcString
|
147 |
-
IF !EMPTY(tcString)
|
148 |
-
tcString=STRTRAN(tcString,"&","")
|
149 |
-
tcString=STRTRAN(tcString,"?","")
|
150 |
-
tcString=STRTRAN(tcString,";","")
|
151 |
-
tcString=STRTRAN(tcString,"!","")
|
152 |
-
tcString=STRTRAN(tcString,"<%","")
|
153 |
-
tcString=STRTRAN(tcString,"%>","")
|
154 |
-
tcString=STRTRAN(tcString,"<","")
|
155 |
-
tcString=STRTRAN(tcString,">","")
|
156 |
-
tcString=STRTRAN(tcString,"..","")
|
157 |
-
tcString=STRTRAN(tcString,"/","")
|
158 |
-
tcString=STRTRAN(tcString,"\","")
|
159 |
-
tcString=STRTRAN(tcString,":","")
|
160 |
-
ELSE
|
161 |
-
tcString=""
|
162 |
-
ENDIF
|
163 |
-
RETURN (tcString)
|
164 |
-
|
165 |
-
ENDDEFINE
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/afp/sample01.afp
DELETED
@@ -1,56 +0,0 @@
|
|
1 |
-
<%
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This page lists the data posted by a form.
|
22 |
-
*
|
23 |
-
%>
|
24 |
-
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - AFP Sample 1</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>FCKeditor - AFP - Sample 1</h1>
|
34 |
-
This sample displays a normal HTML form with an FCKeditor with full features enabled.
|
35 |
-
<hr>
|
36 |
-
<form action="sampleposteddata.afp" method="post" target="_blank">
|
37 |
-
<%
|
38 |
-
|
39 |
-
sBasePath="../../../fckeditor/" && Change this to your local path
|
40 |
-
|
41 |
-
lcText=[<p>This is some <strong>sample text</strong>. You are using ]
|
42 |
-
lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
|
43 |
-
|
44 |
-
oFCKeditor = CREATEOBJECT("FCKeditor")
|
45 |
-
oFCKeditor.fckeditor("FCKeditor1")
|
46 |
-
oFCKeditor.BasePath = sBasePath
|
47 |
-
oFCKeditor.cValue = lcText
|
48 |
-
|
49 |
-
? oFCKeditor.Create()
|
50 |
-
|
51 |
-
%>
|
52 |
-
<br>
|
53 |
-
<input type="submit" value="Submit">
|
54 |
-
</form>
|
55 |
-
</body>
|
56 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/afp/sample02.afp
DELETED
@@ -1,113 +0,0 @@
|
|
1 |
-
<%
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
|
22 |
-
*
|
23 |
-
%>
|
24 |
-
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - AFP Sample 2</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
31 |
-
|
32 |
-
<script type="text/javascript">
|
33 |
-
function FCKeditor_OnComplete( editorInstance )
|
34 |
-
{
|
35 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
36 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
37 |
-
{
|
38 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
39 |
-
}
|
40 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
41 |
-
}
|
42 |
-
|
43 |
-
function AddComboOption(combo, optionText, optionValue)
|
44 |
-
{
|
45 |
-
var oOption = document.createElement("OPTION") ;
|
46 |
-
|
47 |
-
combo.options.add(oOption) ;
|
48 |
-
|
49 |
-
oOption.innerHTML = optionText ;
|
50 |
-
oOption.value = optionValue ;
|
51 |
-
|
52 |
-
return oOption ;
|
53 |
-
}
|
54 |
-
|
55 |
-
function ChangeLanguage( languageCode )
|
56 |
-
{
|
57 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
58 |
-
}
|
59 |
-
</script>
|
60 |
-
</head>
|
61 |
-
<body>
|
62 |
-
<h1>FCKeditor - AFP - Sample 2</h1>
|
63 |
-
This sample shows the editor in all its available languages.
|
64 |
-
<hr>
|
65 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
66 |
-
<tr>
|
67 |
-
<td>
|
68 |
-
Select a language:
|
69 |
-
</td>
|
70 |
-
<td>
|
71 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
72 |
-
</select>
|
73 |
-
</td>
|
74 |
-
</tr>
|
75 |
-
</table>
|
76 |
-
<br>
|
77 |
-
<form action="sampleposteddata.afp" method="post" target="_blank">
|
78 |
-
<%
|
79 |
-
|
80 |
-
sBasePath="../../../fckeditor/" && Change this to your local path
|
81 |
-
|
82 |
-
oFCKeditor = CREATEOBJECT("FCKeditor")
|
83 |
-
oFCKeditor.fckeditor("FCKeditor1")
|
84 |
-
|
85 |
-
lcLanguage="" && Initialize Variable
|
86 |
-
lcLanguage=request.querystring("Lang") && Request Parameter
|
87 |
-
lcLanguage=oFCKeditor.StripAttacks(lcLanguage) && Remove special escape characters
|
88 |
-
IF EMPTY(lcLanguage)
|
89 |
-
oFCKeditor.aconfig[1,1]="AutoDetectLanguage"
|
90 |
-
oFCKeditor.aconfig[1,2]="true"
|
91 |
-
oFCKeditor.aconfig[2,1]="DefaultLanguage"
|
92 |
-
oFCKeditor.aconfig[2,2]="en"
|
93 |
-
ELSE
|
94 |
-
oFCKeditor.aconfig[1,1]="AutoDetectLanguage"
|
95 |
-
oFCKeditor.aconfig[1,2]="false"
|
96 |
-
oFCKeditor.aconfig[2,1]="DefaultLanguage"
|
97 |
-
oFCKeditor.aconfig[2,2]=lcLanguage
|
98 |
-
ENDIF
|
99 |
-
|
100 |
-
lcText=[<p>This is some <strong>sample text</strong>. You are using ]
|
101 |
-
lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
|
102 |
-
|
103 |
-
oFCKeditor.BasePath = sBasePath
|
104 |
-
oFCKeditor.cValue = lcText
|
105 |
-
|
106 |
-
? oFCKeditor.Create()
|
107 |
-
|
108 |
-
%>
|
109 |
-
<br>
|
110 |
-
<input type="submit" value="Submit">
|
111 |
-
</form>
|
112 |
-
</body>
|
113 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/afp/sample03.afp
DELETED
@@ -1,91 +0,0 @@
|
|
1 |
-
<%
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
|
22 |
-
*
|
23 |
-
%>
|
24 |
-
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - AFP Sample 3</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
31 |
-
|
32 |
-
<script type="text/javascript">
|
33 |
-
function FCKeditor_OnComplete( editorInstance )
|
34 |
-
{
|
35 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
36 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
37 |
-
oCombo.style.visibility = '' ;
|
38 |
-
}
|
39 |
-
|
40 |
-
function ChangeToolbar( toolbarName )
|
41 |
-
{
|
42 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
43 |
-
}
|
44 |
-
</script>
|
45 |
-
</head>
|
46 |
-
<body>
|
47 |
-
<h1>FCKeditor - AFP - Sample 3</h1>
|
48 |
-
This sample shows how to change the editor toolbar.
|
49 |
-
<hr>
|
50 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
51 |
-
<tr>
|
52 |
-
<td>
|
53 |
-
Select the toolbar to load:
|
54 |
-
</td>
|
55 |
-
<td>
|
56 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
57 |
-
<option value="Default" selected>Default</option>
|
58 |
-
<option value="Basic">Basic</option>
|
59 |
-
</select>
|
60 |
-
</td>
|
61 |
-
</tr>
|
62 |
-
</table>
|
63 |
-
<br>
|
64 |
-
<form action="sampleposteddata.afp" method="post" target="_blank">
|
65 |
-
<%
|
66 |
-
|
67 |
-
sBasePath="../../../fckeditor/" && Change this to your local path
|
68 |
-
|
69 |
-
oFCKeditor = CREATEOBJECT("FCKeditor")
|
70 |
-
oFCKeditor.fckeditor("FCKeditor1")
|
71 |
-
|
72 |
-
lcToolbar=request.querystring("Toolbar") && Request Parameter
|
73 |
-
lcToolbar=oFCKeditor.StripAttacks(lcToolbar) && Remove special escape characters
|
74 |
-
IF !EMPTY(lcToolbar)
|
75 |
-
oFCKeditor.ToolbarSet=lcToolbar
|
76 |
-
ENDIF
|
77 |
-
|
78 |
-
lcText=[<p>This is some <strong>sample text</strong>. You are using ]
|
79 |
-
lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
|
80 |
-
|
81 |
-
oFCKeditor.BasePath = sBasePath
|
82 |
-
oFCKeditor.cValue = lcText
|
83 |
-
|
84 |
-
? oFCKeditor.Create()
|
85 |
-
|
86 |
-
%>
|
87 |
-
<br>
|
88 |
-
<input type="submit" value="Submit">
|
89 |
-
</form>
|
90 |
-
</body>
|
91 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/afp/sample04.afp
DELETED
@@ -1,98 +0,0 @@
|
|
1 |
-
<%
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This page is a basic Sample for FCKeditor integration in the AFP script language (www.afpages.de)
|
22 |
-
*
|
23 |
-
%>
|
24 |
-
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - AFP Sample 4</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
31 |
-
|
32 |
-
<script type="text/javascript">
|
33 |
-
function FCKeditor_OnComplete( editorInstance )
|
34 |
-
{
|
35 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
36 |
-
|
37 |
-
// Get the active skin.
|
38 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
39 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
40 |
-
|
41 |
-
oCombo.value = sSkin ;
|
42 |
-
oCombo.style.visibility = '' ;
|
43 |
-
}
|
44 |
-
|
45 |
-
function ChangeSkin( skinName )
|
46 |
-
{
|
47 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
48 |
-
}
|
49 |
-
</script>
|
50 |
-
</head>
|
51 |
-
<body>
|
52 |
-
<h1>FCKeditor - AFP - Sample 4</h1>
|
53 |
-
This sample shows how to change the editor skin.
|
54 |
-
<hr>
|
55 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
56 |
-
<tr>
|
57 |
-
<td>
|
58 |
-
Select the skin to load:
|
59 |
-
</td>
|
60 |
-
<td>
|
61 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
62 |
-
<option value="default" selected>Default</option>
|
63 |
-
<option value="office2003">Office 2003</option>
|
64 |
-
<option value="silver">Silver</option>
|
65 |
-
</select>
|
66 |
-
</td>
|
67 |
-
</tr>
|
68 |
-
</table>
|
69 |
-
<br>
|
70 |
-
<form action="sampleposteddata.afp" method="post" target="_blank">
|
71 |
-
<%
|
72 |
-
|
73 |
-
sBasePath="../../../fckeditor/" && <-- Change this to your local path
|
74 |
-
|
75 |
-
oFCKeditor = CREATEOBJECT("FCKeditor")
|
76 |
-
oFCKeditor.fckeditor("FCKeditor1")
|
77 |
-
|
78 |
-
lcSkin=request.querystring("Skin") && Request Parameter
|
79 |
-
lcSkin=oFCKeditor.StripAttacks(lcSkin) && Remove special escape characters
|
80 |
-
IF !EMPTY(lcSkin)
|
81 |
-
oFCKeditor.aconfig[1,1]="SkinPath"
|
82 |
-
oFCKeditor.aconfig[1,2]="/fckeditor/editor/skins/"+lcSkin+"/" && <-- Change this to your local path
|
83 |
-
ENDIF
|
84 |
-
|
85 |
-
lcText=[<p>This is some <strong>sample text</strong>. You are using ]
|
86 |
-
lcText=lcText+[<a href='http://www.fckeditor.net/'>FCKeditor</a>.]
|
87 |
-
|
88 |
-
oFCKeditor.BasePath = sBasePath
|
89 |
-
oFCKeditor.cValue = lcText
|
90 |
-
|
91 |
-
? oFCKeditor.Create()
|
92 |
-
|
93 |
-
%>
|
94 |
-
<br>
|
95 |
-
<input type="submit" value="Submit">
|
96 |
-
</form>
|
97 |
-
</body>
|
98 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/afp/sampleposteddata.afp
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
<%
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This page lists the data posted by a form.
|
22 |
-
*
|
23 |
-
%>
|
24 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - AFP - Samples - Posted Data</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
<link href="../sample.css" rel="stylesheet" type="text/css">
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
34 |
-
This page lists all data posted by the form.
|
35 |
-
<hr>
|
36 |
-
<table border="1" cellspacing="0" id="outputSample">
|
37 |
-
<colgroup><col width="80"><col></colgroup>
|
38 |
-
<thead>
|
39 |
-
<tr>
|
40 |
-
<th>Field Name</th>
|
41 |
-
<th>Value</th>
|
42 |
-
</tr>
|
43 |
-
</thead>
|
44 |
-
<%
|
45 |
-
lcForm=REQUEST.Form()
|
46 |
-
lcForm=STRTRAN(lcForm,"&",CHR(13)+CHR(10))
|
47 |
-
|
48 |
-
FOR lnLoop=1 TO MEMLINES(lcForm)
|
49 |
-
lcZeile=ALLTRIM(MLINE(lcForm,lnLoop))
|
50 |
-
IF AT("=",lcZeile)>0
|
51 |
-
lcVariable=UPPER(ALLTRIM(LEFT(lcZeile,AT("=",lcZeile)-1)))
|
52 |
-
lcWert=ALLTRIM(RIGHT(lcZeile,LEN(lcZeile)-AT("=",lcZeile)))
|
53 |
-
lcWert=Server.UrlDecode( lcWert )
|
54 |
-
lcWert=STRTRAN(lcWert,"<","<")
|
55 |
-
lcWert=STRTRAN(lcWert,">",">") && ... if wanted remove/translate HTML Chars ...
|
56 |
-
|
57 |
-
? [<tr><th>]+lcVariable+[ =</th><td><pre>]+lcWert+[</pre></td></tr>]
|
58 |
-
ENDIF
|
59 |
-
NEXT
|
60 |
-
%>
|
61 |
-
</table>
|
62 |
-
</body>
|
63 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/asp/sample01.asp
DELETED
@@ -1,62 +0,0 @@
|
|
1 |
-
<%@ codepage="65001" language="VBScript" %>
|
2 |
-
<% Option Explicit %>
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* Sample page.
|
24 |
-
-->
|
25 |
-
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
|
26 |
-
<!-- #INCLUDE file="../../fckeditor.asp" -->
|
27 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
28 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
32 |
-
<meta name="robots" content="noindex, nofollow" />
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
</head>
|
35 |
-
<body>
|
36 |
-
<h1>
|
37 |
-
FCKeditor - ASP - Sample 1
|
38 |
-
</h1>
|
39 |
-
<div>
|
40 |
-
This sample displays a normal HTML form with an FCKeditor with full features enabled.
|
41 |
-
</div>
|
42 |
-
<hr />
|
43 |
-
<form action="sampleposteddata.asp" method="post" target="_blank">
|
44 |
-
<%
|
45 |
-
' Automatically calculates the editor base path based on the _samples directory.
|
46 |
-
' This is usefull only for these samples. A real application should use something like this:
|
47 |
-
' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
48 |
-
Dim sBasePath
|
49 |
-
sBasePath = Request.ServerVariables("PATH_INFO")
|
50 |
-
sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) )
|
51 |
-
|
52 |
-
Dim oFCKeditor
|
53 |
-
Set oFCKeditor = New FCKeditor
|
54 |
-
oFCKeditor.BasePath = sBasePath
|
55 |
-
oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>."
|
56 |
-
oFCKeditor.Create "FCKeditor1"
|
57 |
-
%>
|
58 |
-
<br />
|
59 |
-
<input type="submit" value="Submit" />
|
60 |
-
</form>
|
61 |
-
</body>
|
62 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/asp/sample02.asp
DELETED
@@ -1,108 +0,0 @@
|
|
1 |
-
<%@ CodePage=65001 Language="VBScript"%>
|
2 |
-
<% Option Explicit %>
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* Sample page.
|
24 |
-
-->
|
25 |
-
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
|
26 |
-
<!-- #INCLUDE file="../../fckeditor.asp" -->
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
<script type="text/javascript">
|
35 |
-
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
39 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
40 |
-
{
|
41 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
42 |
-
}
|
43 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
44 |
-
}
|
45 |
-
|
46 |
-
function AddComboOption(combo, optionText, optionValue)
|
47 |
-
{
|
48 |
-
var oOption = document.createElement("OPTION") ;
|
49 |
-
|
50 |
-
combo.options.add(oOption) ;
|
51 |
-
|
52 |
-
oOption.innerHTML = optionText ;
|
53 |
-
oOption.value = optionValue ;
|
54 |
-
|
55 |
-
return oOption ;
|
56 |
-
}
|
57 |
-
|
58 |
-
function ChangeLanguage( languageCode )
|
59 |
-
{
|
60 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
61 |
-
}
|
62 |
-
</script>
|
63 |
-
</head>
|
64 |
-
<body>
|
65 |
-
<h1>FCKeditor - ASP - Sample 2</h1>
|
66 |
-
This sample shows the editor in all its available languages.
|
67 |
-
<hr>
|
68 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
69 |
-
<tr>
|
70 |
-
<td>
|
71 |
-
Select a language:
|
72 |
-
</td>
|
73 |
-
<td>
|
74 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
75 |
-
</select>
|
76 |
-
</td>
|
77 |
-
</tr>
|
78 |
-
</table>
|
79 |
-
<br>
|
80 |
-
<form action="sampleposteddata.asp" method="post" target="_blank">
|
81 |
-
<%
|
82 |
-
' Automatically calculates the editor base path based on the _samples directory.
|
83 |
-
' This is usefull only for these samples. A real application should use something like this:
|
84 |
-
' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
85 |
-
Dim sBasePath
|
86 |
-
sBasePath = Request.ServerVariables("PATH_INFO")
|
87 |
-
sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) )
|
88 |
-
|
89 |
-
Dim oFCKeditor
|
90 |
-
Set oFCKeditor = New FCKeditor
|
91 |
-
oFCKeditor.BasePath = sBasePath
|
92 |
-
|
93 |
-
If Request.QueryString("Lang") = "" Then
|
94 |
-
oFCKeditor.Config("AutoDetectLanguage") = True
|
95 |
-
oFCKeditor.Config("DefaultLanguage") = "en"
|
96 |
-
Else
|
97 |
-
oFCKeditor.Config("AutoDetectLanguage") = False
|
98 |
-
oFCKeditor.Config("DefaultLanguage") = Request.QueryString("Lang")
|
99 |
-
End If
|
100 |
-
|
101 |
-
oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>."
|
102 |
-
oFCKeditor.Create "FCKeditor1"
|
103 |
-
%>
|
104 |
-
<br>
|
105 |
-
<input type="submit" value="Submit">
|
106 |
-
</form>
|
107 |
-
</body>
|
108 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/asp/sample03.asp
DELETED
@@ -1,92 +0,0 @@
|
|
1 |
-
<%@ CodePage=65001 Language="VBScript"%>
|
2 |
-
<% Option Explicit %>
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* Sample page.
|
24 |
-
-->
|
25 |
-
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
|
26 |
-
<!-- #INCLUDE file="../../fckeditor.asp" -->
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
<script type="text/javascript">
|
35 |
-
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
39 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
40 |
-
oCombo.style.visibility = '' ;
|
41 |
-
}
|
42 |
-
|
43 |
-
function ChangeToolbar( toolbarName )
|
44 |
-
{
|
45 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
46 |
-
}
|
47 |
-
|
48 |
-
</script>
|
49 |
-
</head>
|
50 |
-
<body>
|
51 |
-
<h1>FCKeditor - ASP - Sample 3</h1>
|
52 |
-
This sample shows how to change the editor toolbar.
|
53 |
-
<hr>
|
54 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
55 |
-
<tr>
|
56 |
-
<td>
|
57 |
-
Select the toolbar to load:
|
58 |
-
</td>
|
59 |
-
<td>
|
60 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
61 |
-
<option value="Default" selected>Default</option>
|
62 |
-
<option value="Basic">Basic</option>
|
63 |
-
</select>
|
64 |
-
</td>
|
65 |
-
</tr>
|
66 |
-
</table>
|
67 |
-
<br>
|
68 |
-
<form action="sampleposteddata.asp" method="post" target="_blank">
|
69 |
-
<%
|
70 |
-
' Automatically calculates the editor base path based on the _samples directory.
|
71 |
-
' This is usefull only for these samples. A real application should use something like this:
|
72 |
-
' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
73 |
-
Dim sBasePath
|
74 |
-
sBasePath = Request.ServerVariables("PATH_INFO")
|
75 |
-
sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) )
|
76 |
-
|
77 |
-
Dim oFCKeditor
|
78 |
-
Set oFCKeditor = New FCKeditor
|
79 |
-
oFCKeditor.BasePath = sBasePath
|
80 |
-
|
81 |
-
If Request.QueryString("Toolbar") <> "" Then
|
82 |
-
oFCKeditor.ToolbarSet = Server.HTMLEncode( Request.QueryString("Toolbar") )
|
83 |
-
End If
|
84 |
-
|
85 |
-
oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>."
|
86 |
-
oFCKeditor.Create "FCKeditor1"
|
87 |
-
%>
|
88 |
-
<br>
|
89 |
-
<input type="submit" value="Submit">
|
90 |
-
</form>
|
91 |
-
</body>
|
92 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/asp/sample04.asp
DELETED
@@ -1,98 +0,0 @@
|
|
1 |
-
<%@ CodePage=65001 Language="VBScript"%>
|
2 |
-
<% Option Explicit %>
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* Sample page.
|
24 |
-
-->
|
25 |
-
<% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
|
26 |
-
<!-- #INCLUDE file="../../fckeditor.asp" -->
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
<script type="text/javascript">
|
35 |
-
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
39 |
-
|
40 |
-
// Get the active skin.
|
41 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
42 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
43 |
-
|
44 |
-
oCombo.value = sSkin ;
|
45 |
-
oCombo.style.visibility = '' ;
|
46 |
-
}
|
47 |
-
|
48 |
-
function ChangeSkin( skinName )
|
49 |
-
{
|
50 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
51 |
-
}
|
52 |
-
|
53 |
-
</script>
|
54 |
-
</head>
|
55 |
-
<body>
|
56 |
-
<h1>FCKeditor - ASP - Sample 4</h1>
|
57 |
-
This sample shows how to change the editor skin.
|
58 |
-
<hr>
|
59 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
60 |
-
<tr>
|
61 |
-
<td>
|
62 |
-
Select the skin to load:
|
63 |
-
</td>
|
64 |
-
<td>
|
65 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
66 |
-
<option value="default" selected>Default</option>
|
67 |
-
<option value="office2003">Office 2003</option>
|
68 |
-
<option value="silver">Silver</option>
|
69 |
-
</select>
|
70 |
-
</td>
|
71 |
-
</tr>
|
72 |
-
</table>
|
73 |
-
<br>
|
74 |
-
<form action="sampleposteddata.asp" method="post" target="_blank">
|
75 |
-
<%
|
76 |
-
' Automatically calculates the editor base path based on the _samples directory.
|
77 |
-
' This is usefull only for these samples. A real application should use something like this:
|
78 |
-
' oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
79 |
-
Dim sBasePath
|
80 |
-
sBasePath = Request.ServerVariables("PATH_INFO")
|
81 |
-
sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) )
|
82 |
-
|
83 |
-
Dim oFCKeditor
|
84 |
-
Set oFCKeditor = New FCKeditor
|
85 |
-
oFCKeditor.BasePath = sBasePath
|
86 |
-
|
87 |
-
If Request.QueryString("Skin") <> "" Then
|
88 |
-
oFCKeditor.Config("SkinPath") = sBasePath + "editor/skins/" & Server.HTMLEncode( Request.QueryString("Skin") ) + "/"
|
89 |
-
End If
|
90 |
-
|
91 |
-
oFCKeditor.Value = "<p>This is some <strong>sample text</strong>. You are using <a href=""http://www.fckeditor.net/"">FCKeditor</a>."
|
92 |
-
oFCKeditor.Create "FCKeditor1"
|
93 |
-
%>
|
94 |
-
<br>
|
95 |
-
<input type="submit" value="Submit">
|
96 |
-
</form>
|
97 |
-
</body>
|
98 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/asp/sampleposteddata.asp
DELETED
@@ -1,56 +0,0 @@
|
|
1 |
-
<%@ CodePage=65001 Language="VBScript"%>
|
2 |
-
<% Option Explicit %>
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* This page lists the data posted by a form.
|
24 |
-
-->
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Samples - Posted Data</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" >
|
32 |
-
</head>
|
33 |
-
<body>
|
34 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
35 |
-
This page lists all data posted by the form.
|
36 |
-
<hr>
|
37 |
-
<table border="1" cellspacing="0" id="outputSample">
|
38 |
-
<colgroup><col width="80"><col></colgroup>
|
39 |
-
<thead>
|
40 |
-
<tr>
|
41 |
-
<th>Field Name</th>
|
42 |
-
<th>Value</th>
|
43 |
-
</tr>
|
44 |
-
</thead>
|
45 |
-
<%
|
46 |
-
Dim sForm
|
47 |
-
For Each sForm in Request.Form
|
48 |
-
%>
|
49 |
-
<tr>
|
50 |
-
<th><%=sForm%></th>
|
51 |
-
<td><pre><%=Server.HTMLEncode( Request.Form(sForm) )%></pre></td>
|
52 |
-
</tr>
|
53 |
-
<% Next %>
|
54 |
-
</table>
|
55 |
-
</body>
|
56 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample01.cfm
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion.
|
23 |
-
--->
|
24 |
-
|
25 |
-
<cfoutput>
|
26 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
27 |
-
<html>
|
28 |
-
<head>
|
29 |
-
<title>FCKeditor - Sample</title>
|
30 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
31 |
-
<meta name="robots" content="noindex, nofollow">
|
32 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
33 |
-
</head>
|
34 |
-
<body>
|
35 |
-
<h1>FCKeditor - ColdFusion - Sample 1</h1>
|
36 |
-
|
37 |
-
This sample displays a normal HTML form with a FCKeditor with full features enabled.
|
38 |
-
<hr>
|
39 |
-
|
40 |
-
<form method="POST" action="sampleposteddata.cfm">
|
41 |
-
</cfoutput>
|
42 |
-
|
43 |
-
<!--- Calculate basepath for FCKeditor. It's in the folder right above _samples --->
|
44 |
-
<cfset basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 )>
|
45 |
-
|
46 |
-
<cfmodule
|
47 |
-
template="../../fckeditor.cfm"
|
48 |
-
basePath="#basePath#"
|
49 |
-
instanceName="myEditor"
|
50 |
-
value='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
51 |
-
width="100%"
|
52 |
-
height="200"
|
53 |
-
>
|
54 |
-
|
55 |
-
<cfoutput>
|
56 |
-
<br />
|
57 |
-
<input type="submit" value="Submit">
|
58 |
-
<hr />
|
59 |
-
</form>
|
60 |
-
</body>
|
61 |
-
</html>
|
62 |
-
</cfoutput>
|
63 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample01_mx.cfm
DELETED
@@ -1,67 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion MX 6.0 and above.
|
23 |
-
--->
|
24 |
-
|
25 |
-
<cfoutput>
|
26 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
27 |
-
<html>
|
28 |
-
<head>
|
29 |
-
<title>FCKeditor - Sample</title>
|
30 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
31 |
-
<meta name="robots" content="noindex, nofollow">
|
32 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
33 |
-
</head>
|
34 |
-
<body>
|
35 |
-
<h1>FCKeditor - ColdFusion Component (CFC) - Sample 1</h1>
|
36 |
-
|
37 |
-
This sample displays a normal HTML form with a FCKeditor with full features enabled.
|
38 |
-
<hr>
|
39 |
-
|
40 |
-
<form method="POST" action="sampleposteddata.cfm">
|
41 |
-
</cfoutput>
|
42 |
-
|
43 |
-
<cfif listFirst( server.coldFusion.productVersion ) LT 6>
|
44 |
-
<cfoutput><br><em style="color: red;">This sample works only with a ColdFusion MX server and higher, because it uses some advantages of this version.</em></cfoutput>
|
45 |
-
<cfabort>
|
46 |
-
</cfif>
|
47 |
-
|
48 |
-
<cfscript>
|
49 |
-
// Calculate basepath for FCKeditor. It's in the folder right above _samples
|
50 |
-
basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 ) ;
|
51 |
-
|
52 |
-
fckEditor = createObject( "component", "#basePath#fckeditor" ) ;
|
53 |
-
fckEditor.instanceName = "myEditor" ;
|
54 |
-
fckEditor.value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
55 |
-
fckEditor.basePath = basePath ;
|
56 |
-
fckEditor.Create() ; // create the editor.
|
57 |
-
</cfscript>
|
58 |
-
|
59 |
-
<cfoutput>
|
60 |
-
<br />
|
61 |
-
<input type="submit" value="Submit">
|
62 |
-
<hr />
|
63 |
-
</form>
|
64 |
-
</body>
|
65 |
-
</html>
|
66 |
-
</cfoutput>
|
67 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample02.cfm
DELETED
@@ -1,110 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion.
|
23 |
-
--->
|
24 |
-
|
25 |
-
<cfoutput>
|
26 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
27 |
-
<html>
|
28 |
-
<head>
|
29 |
-
<title>FCKeditor - Sample</title>
|
30 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
31 |
-
<meta name="robots" content="noindex, nofollow">
|
32 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
33 |
-
<script type="text/javascript">
|
34 |
-
|
35 |
-
function FCKeditor_OnComplete( editorInstance )
|
36 |
-
{
|
37 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
38 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
39 |
-
{
|
40 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
41 |
-
}
|
42 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
43 |
-
}
|
44 |
-
|
45 |
-
function AddComboOption(combo, optionText, optionValue)
|
46 |
-
{
|
47 |
-
var oOption = document.createElement("OPTION") ;
|
48 |
-
|
49 |
-
combo.options.add(oOption) ;
|
50 |
-
|
51 |
-
oOption.innerHTML = optionText ;
|
52 |
-
oOption.value = optionValue ;
|
53 |
-
|
54 |
-
return oOption ;
|
55 |
-
}
|
56 |
-
|
57 |
-
function ChangeLanguage( languageCode )
|
58 |
-
{
|
59 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
60 |
-
}
|
61 |
-
</script>
|
62 |
-
</head>
|
63 |
-
<body>
|
64 |
-
<h1>FCKeditor - ColdFusion - Sample 2</h1>
|
65 |
-
This sample shows the editor in all its available languages.
|
66 |
-
<hr>
|
67 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
68 |
-
<tr>
|
69 |
-
<td>
|
70 |
-
Select a language:
|
71 |
-
</td>
|
72 |
-
<td>
|
73 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
74 |
-
</select>
|
75 |
-
</td>
|
76 |
-
</tr>
|
77 |
-
</table>
|
78 |
-
<br>
|
79 |
-
<form action="sampleposteddata.cfm" method="post" target="_blank">
|
80 |
-
</cfoutput>
|
81 |
-
|
82 |
-
<cfset config = structNew()>
|
83 |
-
<cfif isDefined( "URL.Lang" )>
|
84 |
-
<cfset config["AutoDetectLanguage"] = false>
|
85 |
-
<cfset config["DefaultLanguage"] = HTMLEditFormat( URL.Lang )>
|
86 |
-
<cfelse>
|
87 |
-
<cfset config["AutoDetectLanguage"] = true>
|
88 |
-
<cfset config["DefaultLanguage"] = 'en'>
|
89 |
-
</cfif>
|
90 |
-
|
91 |
-
<!--- Calculate basepath for FCKeditor. It's in the folder right above _samples --->
|
92 |
-
<cfset basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 )>
|
93 |
-
|
94 |
-
<cfmodule
|
95 |
-
template="../../fckeditor.cfm"
|
96 |
-
basePath="#basePath#"
|
97 |
-
instanceName="myEditor"
|
98 |
-
value='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
99 |
-
width="100%"
|
100 |
-
height="200"
|
101 |
-
config="#config#"
|
102 |
-
>
|
103 |
-
<cfoutput>
|
104 |
-
<br>
|
105 |
-
<input type="submit" value="Submit">
|
106 |
-
</form>
|
107 |
-
</body>
|
108 |
-
</html>
|
109 |
-
</cfoutput>
|
110 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample02_mx.cfm
DELETED
@@ -1,114 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion MX 6.0 and above.
|
23 |
-
--->
|
24 |
-
|
25 |
-
<cfoutput>
|
26 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
27 |
-
<html>
|
28 |
-
<head>
|
29 |
-
<title>FCKeditor - Sample</title>
|
30 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
31 |
-
<meta name="robots" content="noindex, nofollow">
|
32 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
33 |
-
<script type="text/javascript">
|
34 |
-
|
35 |
-
function FCKeditor_OnComplete( editorInstance )
|
36 |
-
{
|
37 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
38 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
39 |
-
{
|
40 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
41 |
-
}
|
42 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
43 |
-
}
|
44 |
-
|
45 |
-
function AddComboOption(combo, optionText, optionValue)
|
46 |
-
{
|
47 |
-
var oOption = document.createElement("OPTION") ;
|
48 |
-
|
49 |
-
combo.options.add(oOption) ;
|
50 |
-
|
51 |
-
oOption.innerHTML = optionText ;
|
52 |
-
oOption.value = optionValue ;
|
53 |
-
|
54 |
-
return oOption ;
|
55 |
-
}
|
56 |
-
|
57 |
-
function ChangeLanguage( languageCode )
|
58 |
-
{
|
59 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
60 |
-
}
|
61 |
-
</script>
|
62 |
-
</head>
|
63 |
-
<body>
|
64 |
-
<h1>FCKeditor - ColdFusion Component (CFC) - Sample 2</h1>
|
65 |
-
This sample shows the editor in all its available languages.
|
66 |
-
<hr>
|
67 |
-
</cfoutput>
|
68 |
-
<cfif listFirst( server.coldFusion.productVersion ) LT 6>
|
69 |
-
<cfoutput><br><em style="color: red;">This sample works only with a ColdFusion MX server and higher, because it uses some advantages of this version.</em></cfoutput>
|
70 |
-
<cfabort>
|
71 |
-
</cfif>
|
72 |
-
<cfoutput>
|
73 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
74 |
-
<tr>
|
75 |
-
<td>
|
76 |
-
Select a language:
|
77 |
-
</td>
|
78 |
-
<td>
|
79 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
80 |
-
</select>
|
81 |
-
</td>
|
82 |
-
</tr>
|
83 |
-
</table>
|
84 |
-
<br>
|
85 |
-
<form action="sampleposteddata.cfm" method="post" target="_blank">
|
86 |
-
</cfoutput>
|
87 |
-
<cfscript>
|
88 |
-
// Calculate basepath for FCKeditor. It's in the folder right above _samples
|
89 |
-
basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 ) ;
|
90 |
-
|
91 |
-
fckEditor = createObject( "component", "#basePath#fckeditor" ) ;
|
92 |
-
fckEditor.instanceName = "myEditor" ;
|
93 |
-
fckEditor.value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
94 |
-
fckEditor.basePath = basePath ;
|
95 |
-
if ( isDefined( "URL.Lang" ) )
|
96 |
-
{
|
97 |
-
fckEditor.config["AutoDetectLanguage"] = false ;
|
98 |
-
fckEditor.config["DefaultLanguage"] = HTMLEditFormat( URL.Lang ) ;
|
99 |
-
}
|
100 |
-
else
|
101 |
-
{
|
102 |
-
fckEeditor.config["AutoDetectLanguage"] = true ;
|
103 |
-
fckEeditor.config["DefaultLanguage"] = 'en' ;
|
104 |
-
}
|
105 |
-
fckEditor.create() ; // create the editor.
|
106 |
-
</cfscript>
|
107 |
-
<cfoutput>
|
108 |
-
<br>
|
109 |
-
<input type="submit" value="Submit">
|
110 |
-
</form>
|
111 |
-
</body>
|
112 |
-
</html>
|
113 |
-
</cfoutput>
|
114 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample03.cfm
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion.
|
23 |
-
--->
|
24 |
-
<cfoutput>
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
37 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
38 |
-
oCombo.style.visibility = '' ;
|
39 |
-
}
|
40 |
-
|
41 |
-
function ChangeToolbar( toolbarName )
|
42 |
-
{
|
43 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
44 |
-
}
|
45 |
-
|
46 |
-
</script>
|
47 |
-
</head>
|
48 |
-
<body>
|
49 |
-
<h1>FCKeditor - ColdFusion - Sample 3</h1>
|
50 |
-
This sample shows how to change the editor toolbar.
|
51 |
-
<hr>
|
52 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
53 |
-
<tr>
|
54 |
-
<td>
|
55 |
-
Select the toolbar to load:
|
56 |
-
</td>
|
57 |
-
<td>
|
58 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
59 |
-
<option value="Default" selected>Default</option>
|
60 |
-
<option value="Basic">Basic</option>
|
61 |
-
</select>
|
62 |
-
</td>
|
63 |
-
</tr>
|
64 |
-
</table>
|
65 |
-
<br>
|
66 |
-
<form action="sampleposteddata.cfm" method="post" target="_blank">
|
67 |
-
</cfoutput>
|
68 |
-
|
69 |
-
<cfif isDefined( "URL.Toolbar" )>
|
70 |
-
<cfset toolbarSet = HTMLEditFormat( URL.Toolbar )>
|
71 |
-
<cfelse>
|
72 |
-
<cfset toolbarSet = "Default">
|
73 |
-
</cfif>
|
74 |
-
|
75 |
-
<!--- Calculate basepath for FCKeditor. It's in the folder right above _samples --->
|
76 |
-
<cfset basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 )>
|
77 |
-
|
78 |
-
<cfmodule
|
79 |
-
template="../../fckeditor.cfm"
|
80 |
-
basePath="#basePath#"
|
81 |
-
instanceName="myEditor"
|
82 |
-
value='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
83 |
-
width="100%"
|
84 |
-
height="200"
|
85 |
-
toolbarSet="#toolbarSet#"
|
86 |
-
>
|
87 |
-
|
88 |
-
<cfoutput>
|
89 |
-
<br>
|
90 |
-
<input type="submit" value="Submit">
|
91 |
-
</form>
|
92 |
-
</body>
|
93 |
-
</html>
|
94 |
-
</cfoutput>
|
95 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample03_mx.cfm
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion MX 6.0 and above.
|
23 |
-
--->
|
24 |
-
<cfoutput>
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
37 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
38 |
-
oCombo.style.visibility = '' ;
|
39 |
-
}
|
40 |
-
|
41 |
-
function ChangeToolbar( toolbarName )
|
42 |
-
{
|
43 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
44 |
-
}
|
45 |
-
|
46 |
-
</script>
|
47 |
-
</head>
|
48 |
-
<body>
|
49 |
-
<h1>FCKeditor - ColdFusion Component (CFC) - Sample 3</h1>
|
50 |
-
This sample shows how to change the editor toolbar.
|
51 |
-
<hr>
|
52 |
-
</cfoutput>
|
53 |
-
<cfif listFirst( server.coldFusion.productVersion ) LT 6>
|
54 |
-
<cfoutput><br><em style="color: red;">This sample works only with a ColdFusion MX server and higher, because it uses some advantages of this version.</em></cfoutput>
|
55 |
-
<cfabort>
|
56 |
-
</cfif>
|
57 |
-
<cfoutput>
|
58 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
59 |
-
<tr>
|
60 |
-
<td>
|
61 |
-
Select the toolbar to load:
|
62 |
-
</td>
|
63 |
-
<td>
|
64 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
65 |
-
<option value="Default" selected>Default</option>
|
66 |
-
<option value="Basic">Basic</option>
|
67 |
-
</select>
|
68 |
-
</td>
|
69 |
-
</tr>
|
70 |
-
</table>
|
71 |
-
<br>
|
72 |
-
<form action="sampleposteddata.cfm" method="post" target="_blank">
|
73 |
-
</cfoutput>
|
74 |
-
<cfscript>
|
75 |
-
// Calculate basepath for FCKeditor. It's in the folder right above _samples
|
76 |
-
basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 ) ;
|
77 |
-
|
78 |
-
fckEditor = createObject( "component", "#basePath#fckeditor" ) ;
|
79 |
-
fckEditor.instanceName = "myEditor" ;
|
80 |
-
fckEditor.value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
81 |
-
fckEditor.basePath = basePath ;
|
82 |
-
if ( isDefined( "URL.Toolbar" ) )
|
83 |
-
{
|
84 |
-
fckEditor.ToolbarSet = HTMLEditFormat( URL.Toolbar ) ;
|
85 |
-
}
|
86 |
-
fckEditor.create() ; // create the editor.
|
87 |
-
</cfscript>
|
88 |
-
<cfoutput>
|
89 |
-
<br>
|
90 |
-
<input type="submit" value="Submit">
|
91 |
-
</form>
|
92 |
-
</body>
|
93 |
-
</html>
|
94 |
-
</cfoutput>
|
95 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample04.cfm
DELETED
@@ -1,100 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion.
|
23 |
-
--->
|
24 |
-
<cfoutput>
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
37 |
-
|
38 |
-
// Get the active skin.
|
39 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
40 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
41 |
-
|
42 |
-
oCombo.value = sSkin ;
|
43 |
-
oCombo.style.visibility = '' ;
|
44 |
-
}
|
45 |
-
|
46 |
-
function ChangeSkin( skinName )
|
47 |
-
{
|
48 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
49 |
-
}
|
50 |
-
|
51 |
-
</script>
|
52 |
-
</head>
|
53 |
-
<body>
|
54 |
-
<h1>FCKeditor - ColdFusion - Sample 4</h1>
|
55 |
-
This sample shows how to change the editor skin.
|
56 |
-
<hr>
|
57 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
58 |
-
<tr>
|
59 |
-
<td>
|
60 |
-
Select the skin to load:
|
61 |
-
</td>
|
62 |
-
<td>
|
63 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
64 |
-
<option value="default" selected>Default</option>
|
65 |
-
<option value="office2003">Office 2003</option>
|
66 |
-
<option value="silver">Silver</option>
|
67 |
-
</select>
|
68 |
-
</td>
|
69 |
-
</tr>
|
70 |
-
</table>
|
71 |
-
<br>
|
72 |
-
<form action="sampleposteddata.cfm" method="post" target="_blank">
|
73 |
-
</cfoutput>
|
74 |
-
|
75 |
-
<!--- Calculate basepath for FCKeditor. It's in the folder right above _samples --->
|
76 |
-
<cfset basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 )>
|
77 |
-
|
78 |
-
<cfset config = structNew()>
|
79 |
-
<cfif isDefined( "URL.Skin" )>
|
80 |
-
<cfset config["SkinPath"] = basePath & 'editor/skins/' & HTMLEditFormat( URL.Skin ) & '/'>
|
81 |
-
</cfif>
|
82 |
-
|
83 |
-
<cfmodule
|
84 |
-
template="../../fckeditor.cfm"
|
85 |
-
basePath="#basePath#"
|
86 |
-
instanceName="myEditor"
|
87 |
-
value='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
88 |
-
width="100%"
|
89 |
-
height="200"
|
90 |
-
config="#config#"
|
91 |
-
>
|
92 |
-
|
93 |
-
<cfoutput>
|
94 |
-
<br>
|
95 |
-
<input type="submit" value="Submit">
|
96 |
-
</form>
|
97 |
-
</body>
|
98 |
-
</html>
|
99 |
-
</cfoutput>
|
100 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sample04_mx.cfm
DELETED
@@ -1,101 +0,0 @@
|
|
1 |
-
<cfsetting enablecfoutputonly="true">
|
2 |
-
<!---
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page for ColdFusion MX 6.0 and above.
|
23 |
-
--->
|
24 |
-
<cfoutput>
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
37 |
-
|
38 |
-
// Get the active skin.
|
39 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
40 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
41 |
-
|
42 |
-
oCombo.value = sSkin ;
|
43 |
-
oCombo.style.visibility = '' ;
|
44 |
-
}
|
45 |
-
|
46 |
-
function ChangeSkin( skinName )
|
47 |
-
{
|
48 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
49 |
-
}
|
50 |
-
|
51 |
-
</script>
|
52 |
-
</head>
|
53 |
-
<body>
|
54 |
-
<h1>FCKeditor - ColdFusion Component (CFC) - Sample 4</h1>
|
55 |
-
This sample shows how to change the editor skin.
|
56 |
-
<hr>
|
57 |
-
</cfoutput>
|
58 |
-
<cfif listFirst( server.coldFusion.productVersion ) LT 6>
|
59 |
-
<cfoutput><br><em style="color: red;">This sample works only with a ColdFusion MX server and higher, because it uses some advantages of this version.</em></cfoutput>
|
60 |
-
<cfabort>
|
61 |
-
</cfif>
|
62 |
-
<cfoutput>
|
63 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
64 |
-
<tr>
|
65 |
-
<td>
|
66 |
-
Select the skin to load:
|
67 |
-
</td>
|
68 |
-
<td>
|
69 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
70 |
-
<option value="default" selected>Default</option>
|
71 |
-
<option value="office2003">Office 2003</option>
|
72 |
-
<option value="silver">Silver</option>
|
73 |
-
</select>
|
74 |
-
</td>
|
75 |
-
</tr>
|
76 |
-
</table>
|
77 |
-
<br>
|
78 |
-
<form action="sampleposteddata.cfm" method="post" target="_blank">
|
79 |
-
</cfoutput>
|
80 |
-
<cfscript>
|
81 |
-
// Calculate basepath for FCKeditor. It's in the folder right above _samples
|
82 |
-
basePath = Left( cgi.script_name, FindNoCase( '_samples', cgi.script_name ) - 1 ) ;
|
83 |
-
|
84 |
-
fckEditor = createObject( "component", "#basePath#fckeditor" ) ;
|
85 |
-
fckEditor.instanceName = "myEditor" ;
|
86 |
-
fckEditor.value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
87 |
-
fckEditor.basePath = basePath ;
|
88 |
-
if ( isDefined( "URL.Skin" ) )
|
89 |
-
{
|
90 |
-
fckEditor.config['SkinPath'] = basePath & 'editor/skins/' & HTMLEditFormat( URL.Skin ) & '/' ;
|
91 |
-
}
|
92 |
-
fckEditor.create() ; // create the editor.
|
93 |
-
</cfscript>
|
94 |
-
<cfoutput>
|
95 |
-
<br>
|
96 |
-
<input type="submit" value="Submit">
|
97 |
-
</form>
|
98 |
-
</body>
|
99 |
-
</html>
|
100 |
-
</cfoutput>
|
101 |
-
<cfsetting enablecfoutputonly="false">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/cfm/sampleposteddata.cfm
DELETED
@@ -1,68 +0,0 @@
|
|
1 |
-
<!---
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* This page lists the data posted by a form.
|
23 |
-
*/
|
24 |
-
--->
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Samples - Posted Data</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
</head>
|
33 |
-
<body>
|
34 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
35 |
-
This page lists all data posted by the form.
|
36 |
-
<hr>
|
37 |
-
<cfif listFirst( server.coldFusion.productVersion ) LT 6>
|
38 |
-
<cfif isDefined( 'FORM.fieldnames' )>
|
39 |
-
<cfoutput>
|
40 |
-
<hr />
|
41 |
-
<table border="1" cellspacing="0" id="outputSample">
|
42 |
-
<colgroup><col width="80"><col></colgroup>
|
43 |
-
<thead>
|
44 |
-
<tr>
|
45 |
-
<th>Field Name</th>
|
46 |
-
<th>Value</th>
|
47 |
-
</tr>
|
48 |
-
</thead>
|
49 |
-
<tr>
|
50 |
-
<th>FieldNames</th>
|
51 |
-
<td>#FORM.fieldNames#</td>
|
52 |
-
</tr>
|
53 |
-
<cfloop list="#FORM.fieldnames#" index="key">
|
54 |
-
<tr>
|
55 |
-
<th>#key#</th>
|
56 |
-
<td><pre>#HTMLEditFormat( evaluate( "FORM.#key#" ) )#</pre></td>
|
57 |
-
</tr>
|
58 |
-
</cfloop>
|
59 |
-
</table>
|
60 |
-
</cfoutput>
|
61 |
-
</cfif>
|
62 |
-
<cfelse>
|
63 |
-
<cfdump var="#FORM#" label="Dump of FORM Variables">
|
64 |
-
</cfif>
|
65 |
-
|
66 |
-
|
67 |
-
</body>
|
68 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/default.html
CHANGED
@@ -1,35 +1,35 @@
|
|
1 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
|
2 |
-
"http://www.w3.org/TR/html4/frameset.dtd">
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* Samples Frameset page.
|
24 |
-
-->
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - Samples</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
</head>
|
31 |
-
<frameset rows="60,*">
|
32 |
-
<frame src="sampleslist.html" noresize scrolling="no">
|
33 |
-
<frame name="Sample" src="html/sample01.html" noresize>
|
34 |
-
</frameset>
|
35 |
-
</html>
|
1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
|
2 |
+
"http://www.w3.org/TR/html4/frameset.dtd">
|
3 |
+
<!--
|
4 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
+
*
|
7 |
+
* == BEGIN LICENSE ==
|
8 |
+
*
|
9 |
+
* Licensed under the terms of any of the following licenses at your
|
10 |
+
* choice:
|
11 |
+
*
|
12 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
+
* http://www.gnu.org/licenses/gpl.html
|
14 |
+
*
|
15 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
+
* http://www.gnu.org/licenses/lgpl.html
|
17 |
+
*
|
18 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
+
*
|
21 |
+
* == END LICENSE ==
|
22 |
+
*
|
23 |
+
* Samples Frameset page.
|
24 |
+
-->
|
25 |
+
<html>
|
26 |
+
<head>
|
27 |
+
<title>FCKeditor - Samples</title>
|
28 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
+
<meta name="robots" content="noindex, nofollow">
|
30 |
+
</head>
|
31 |
+
<frameset rows="60,*">
|
32 |
+
<frame src="sampleslist.html" noresize scrolling="no">
|
33 |
+
<frame name="Sample" src="html/sample01.html" noresize>
|
34 |
+
</frameset>
|
35 |
+
</html>
|
fckeditor/_samples/html/assets/sample06.config.js
DELETED
@@ -1,49 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Sample custom configuration settings used in the plugin sample page (sample06).
|
22 |
-
*/
|
23 |
-
|
24 |
-
// Set our sample toolbar.
|
25 |
-
FCKConfig.ToolbarSets['PluginTest'] = [
|
26 |
-
['SourceSimple'],
|
27 |
-
['My_Find','My_Replace','-','Placeholder'],
|
28 |
-
['StyleSimple','FontFormatSimple','FontNameSimple','FontSizeSimple'],
|
29 |
-
['Table','-','TableInsertRowAfter','TableDeleteRows','TableInsertColumnAfter','TableDeleteColumns','TableInsertCellAfter','TableDeleteCells','TableMergeCells','TableHorizontalSplitCell','TableCellProp'],
|
30 |
-
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink'],
|
31 |
-
'/',
|
32 |
-
['My_BigStyle','-','Smiley','-','About']
|
33 |
-
] ;
|
34 |
-
|
35 |
-
// Change the default plugin path.
|
36 |
-
FCKConfig.PluginsPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + '_samples/_plugins/' ;
|
37 |
-
|
38 |
-
// Add our plugin to the plugins list.
|
39 |
-
// FCKConfig.Plugins.Add( pluginName, availableLanguages )
|
40 |
-
// pluginName: The plugin name. The plugin directory must match this name.
|
41 |
-
// availableLanguages: a list of available language files for the plugin (separated by a comma).
|
42 |
-
FCKConfig.Plugins.Add( 'findreplace', 'en,fr,it' ) ;
|
43 |
-
FCKConfig.Plugins.Add( 'samples' ) ;
|
44 |
-
|
45 |
-
// If you want to use plugins found on other directories, just use the third parameter.
|
46 |
-
var sOtherPluginPath = FCKConfig.BasePath.substr(0, FCKConfig.BasePath.length - 7) + 'editor/plugins/' ;
|
47 |
-
FCKConfig.Plugins.Add( 'placeholder', 'de,en,es,fr,it,pl', sOtherPluginPath ) ;
|
48 |
-
FCKConfig.Plugins.Add( 'tablecommands', null, sOtherPluginPath ) ;
|
49 |
-
FCKConfig.Plugins.Add( 'simplecommands', null, sOtherPluginPath ) ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/assets/sample11_frame.html
DELETED
@@ -1,69 +0,0 @@
|
|
1 |
-
<!--
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Sample page.
|
22 |
-
-->
|
23 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
24 |
-
<head>
|
25 |
-
<title>FCKeditor - Sample</title>
|
26 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
27 |
-
<meta name="robots" content="noindex, nofollow" />
|
28 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
29 |
-
<script type="text/javascript" src="../../../fckeditor.js"></script>
|
30 |
-
</head>
|
31 |
-
<body>
|
32 |
-
<form action="../../php/sampleposteddata.php" method="post" target="_blank">
|
33 |
-
Normal text field:<br />
|
34 |
-
<input name="NormaText" value="Plain Text" />
|
35 |
-
<br />
|
36 |
-
<br />
|
37 |
-
FCKeditor 1:
|
38 |
-
<script type="text/javascript">
|
39 |
-
<!--
|
40 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
41 |
-
// This is usefull only for these samples. A real application should use something like this:
|
42 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
43 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
44 |
-
|
45 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
|
46 |
-
oFCKeditor.BasePath = sBasePath ;
|
47 |
-
oFCKeditor.Height = 100 ;
|
48 |
-
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:parent(xToolbar)' ;
|
49 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
50 |
-
oFCKeditor.Create() ;
|
51 |
-
//-->
|
52 |
-
</script>
|
53 |
-
<br />
|
54 |
-
FCKeditor 2:
|
55 |
-
<script type="text/javascript">
|
56 |
-
<!--
|
57 |
-
oFCKeditor = new FCKeditor( 'FCKeditor_2' ) ;
|
58 |
-
oFCKeditor.BasePath = sBasePath ;
|
59 |
-
oFCKeditor.Height = 100 ;
|
60 |
-
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:parent(xToolbar)' ;
|
61 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
62 |
-
oFCKeditor.Create() ;
|
63 |
-
//-->
|
64 |
-
</script>
|
65 |
-
<br />
|
66 |
-
<input type="submit" value="Submit" />
|
67 |
-
</form>
|
68 |
-
</body>
|
69 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/assets/sample14.config.js
DELETED
@@ -1,121 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Configuration settings used by the XHTML 1.1 sample page (sample14.html).
|
22 |
-
*/
|
23 |
-
|
24 |
-
// Our intention is force all formatting features to use CSS classes or
|
25 |
-
// semantic aware elements.
|
26 |
-
|
27 |
-
// Load our custom CSS files for this sample.
|
28 |
-
// We are using "BasePath" just for this sample convenience. In normal
|
29 |
-
// situations it would be just pointed to the file directly,
|
30 |
-
// like "/css/myfile.css".
|
31 |
-
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + '../_samples/html/assets/sample14.styles.css' ;
|
32 |
-
|
33 |
-
/**
|
34 |
-
* Core styles.
|
35 |
-
*/
|
36 |
-
FCKConfig.CoreStyles.Bold = { Element : 'span', Attributes : { 'class' : 'Bold' } } ;
|
37 |
-
FCKConfig.CoreStyles.Italic = { Element : 'span', Attributes : { 'class' : 'Italic' } } ;
|
38 |
-
FCKConfig.CoreStyles.Underline = { Element : 'span', Attributes : { 'class' : 'Underline' } } ;
|
39 |
-
FCKConfig.CoreStyles.StrikeThrough = { Element : 'span', Attributes : { 'class' : 'StrikeThrough' } } ;
|
40 |
-
|
41 |
-
/**
|
42 |
-
* Font face
|
43 |
-
*/
|
44 |
-
// List of fonts available in the toolbar combo. Each font definition is
|
45 |
-
// separated by a semi-colon (;). We are using class names here, so each font
|
46 |
-
// is defined by {Class Name}/{Combo Label}.
|
47 |
-
FCKConfig.FontNames = 'FontComic/Comic Sans MS;FontCourier/Courier New;FontTimes/Times New Roman' ;
|
48 |
-
|
49 |
-
// Define the way font elements will be applied to the document. The "span"
|
50 |
-
// element will be used. When a font is selected, the font name defined in the
|
51 |
-
// above list is passed to this definition with the name "Font", being it
|
52 |
-
// injected in the "class" attribute.
|
53 |
-
// We must also instruct the editor to replace span elements that are used to
|
54 |
-
// set the font (Overrides).
|
55 |
-
FCKConfig.CoreStyles.FontFace =
|
56 |
-
{
|
57 |
-
Element : 'span',
|
58 |
-
Attributes : { 'class' : '#("Font")' },
|
59 |
-
Overrides : [ { Element : 'span', Attributes : { 'class' : /^Font(?:Comic|Courier|Times)$/ } } ]
|
60 |
-
} ;
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Font sizes.
|
64 |
-
*/
|
65 |
-
FCKConfig.FontSizes = 'FontSmaller/Smaller;FontLarger/Larger;FontSmall/8pt;FontBig/14pt;FontDouble/Double Size' ;
|
66 |
-
FCKConfig.CoreStyles.Size =
|
67 |
-
{
|
68 |
-
Element : 'span',
|
69 |
-
Attributes : { 'class' : '#("Size")' },
|
70 |
-
Overrides : [ { Element : 'span', Attributes : { 'class' : /^Font(?:Smaller|Larger|Small|Big|Double)$/ } } ]
|
71 |
-
} ;
|
72 |
-
|
73 |
-
/**
|
74 |
-
* Font colors.
|
75 |
-
*/
|
76 |
-
FCKConfig.EnableMoreFontColors = false ;
|
77 |
-
FCKConfig.FontColors = 'ff9900/FontColor1,0066cc/FontColor2,ff0000/FontColor3' ;
|
78 |
-
FCKConfig.CoreStyles.Color =
|
79 |
-
{
|
80 |
-
Element : 'span',
|
81 |
-
Attributes : { 'class' : '#("Color")' },
|
82 |
-
Overrides : [ { Element : 'span', Attributes : { 'class' : /^FontColor(?:1|2|3)$/ } } ]
|
83 |
-
} ;
|
84 |
-
|
85 |
-
FCKConfig.CoreStyles.BackColor =
|
86 |
-
{
|
87 |
-
Element : 'span',
|
88 |
-
Attributes : { 'class' : '#("Color")BG' },
|
89 |
-
Overrides : [ { Element : 'span', Attributes : { 'class' : /^FontColor(?:1|2|3)BG$/ } } ]
|
90 |
-
} ;
|
91 |
-
|
92 |
-
/**
|
93 |
-
* Indentation.
|
94 |
-
*/
|
95 |
-
FCKConfig.IndentClasses = [ 'Indent1', 'Indent2', 'Indent3' ] ;
|
96 |
-
|
97 |
-
/**
|
98 |
-
* Paragraph justification.
|
99 |
-
*/
|
100 |
-
FCKConfig.JustifyClasses = [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyFull' ] ;
|
101 |
-
|
102 |
-
/**
|
103 |
-
* Styles combo.
|
104 |
-
*/
|
105 |
-
FCKConfig.StylesXmlPath = '' ;
|
106 |
-
FCKConfig.CustomStyles =
|
107 |
-
{
|
108 |
-
'Strong Emphasis' : { Element : 'strong' },
|
109 |
-
'Emphasis' : { Element : 'em' },
|
110 |
-
|
111 |
-
'Computer Code' : { Element : 'code' },
|
112 |
-
'Keyboard Phrase' : { Element : 'kbd' },
|
113 |
-
'Sample Text' : { Element : 'samp' },
|
114 |
-
'Variable' : { Element : 'var' },
|
115 |
-
|
116 |
-
'Deleted Text' : { Element : 'del' },
|
117 |
-
'Inserted Text' : { Element : 'ins' },
|
118 |
-
|
119 |
-
'Cited Work' : { Element : 'cite' },
|
120 |
-
'Inline Quotation' : { Element : 'q' }
|
121 |
-
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/assets/sample14.styles.css
DELETED
@@ -1,228 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Styles used by the XHTML 1.1 sample page (sample14.html).
|
22 |
-
*/
|
23 |
-
|
24 |
-
/**
|
25 |
-
* Basic definitions for the editing area.
|
26 |
-
*/
|
27 |
-
body
|
28 |
-
{
|
29 |
-
background-color: #ffffff;
|
30 |
-
padding: 5px 5px 5px 5px;
|
31 |
-
margin: 0px;
|
32 |
-
}
|
33 |
-
|
34 |
-
body, td
|
35 |
-
{
|
36 |
-
font-family: Arial, Verdana, sans-serif;
|
37 |
-
font-size: 12px;
|
38 |
-
}
|
39 |
-
|
40 |
-
a[href]
|
41 |
-
{
|
42 |
-
color: #0000FF !important; /* For Firefox... mark as important, otherwise it becomes black */
|
43 |
-
}
|
44 |
-
|
45 |
-
/**
|
46 |
-
* Core styles.
|
47 |
-
*/
|
48 |
-
|
49 |
-
.Bold
|
50 |
-
{
|
51 |
-
font-weight: bold;
|
52 |
-
}
|
53 |
-
|
54 |
-
.Italic
|
55 |
-
{
|
56 |
-
font-style: italic;
|
57 |
-
}
|
58 |
-
|
59 |
-
.Underline
|
60 |
-
{
|
61 |
-
text-decoration: underline;
|
62 |
-
}
|
63 |
-
|
64 |
-
.StrikeThrough
|
65 |
-
{
|
66 |
-
text-decoration: line-through;
|
67 |
-
}
|
68 |
-
|
69 |
-
.Subscript
|
70 |
-
{
|
71 |
-
vertical-align: sub;
|
72 |
-
font-size: smaller;
|
73 |
-
}
|
74 |
-
|
75 |
-
.Superscript
|
76 |
-
{
|
77 |
-
vertical-align: super;
|
78 |
-
font-size: smaller;
|
79 |
-
}
|
80 |
-
|
81 |
-
/**
|
82 |
-
* Font faces.
|
83 |
-
*/
|
84 |
-
|
85 |
-
.FontComic
|
86 |
-
{
|
87 |
-
font-family: 'Comic Sans MS';
|
88 |
-
}
|
89 |
-
|
90 |
-
.FontCourier
|
91 |
-
{
|
92 |
-
font-family: 'Courier New';
|
93 |
-
}
|
94 |
-
|
95 |
-
.FontTimes
|
96 |
-
{
|
97 |
-
font-family: 'Times New Roman';
|
98 |
-
}
|
99 |
-
|
100 |
-
/**
|
101 |
-
* Font sizes.
|
102 |
-
*/
|
103 |
-
|
104 |
-
.FontSmaller
|
105 |
-
{
|
106 |
-
font-size: smaller;
|
107 |
-
}
|
108 |
-
|
109 |
-
.FontLarger
|
110 |
-
{
|
111 |
-
font-size: larger;
|
112 |
-
}
|
113 |
-
|
114 |
-
.FontSmall
|
115 |
-
{
|
116 |
-
font-size: 8pt;
|
117 |
-
}
|
118 |
-
|
119 |
-
.FontBig
|
120 |
-
{
|
121 |
-
font-size: 14pt;
|
122 |
-
}
|
123 |
-
|
124 |
-
.FontDouble
|
125 |
-
{
|
126 |
-
font-size: 200%;
|
127 |
-
}
|
128 |
-
|
129 |
-
/**
|
130 |
-
* Font colors.
|
131 |
-
*/
|
132 |
-
.FontColor1
|
133 |
-
{
|
134 |
-
color: #ff9900;
|
135 |
-
}
|
136 |
-
|
137 |
-
.FontColor2
|
138 |
-
{
|
139 |
-
color: #0066cc;
|
140 |
-
}
|
141 |
-
|
142 |
-
.FontColor3
|
143 |
-
{
|
144 |
-
color: #ff0000;
|
145 |
-
}
|
146 |
-
|
147 |
-
.FontColor1BG
|
148 |
-
{
|
149 |
-
background-color: #ff9900;
|
150 |
-
}
|
151 |
-
|
152 |
-
.FontColor2BG
|
153 |
-
{
|
154 |
-
background-color: #0066cc;
|
155 |
-
}
|
156 |
-
|
157 |
-
.FontColor3BG
|
158 |
-
{
|
159 |
-
background-color: #ff0000;
|
160 |
-
}
|
161 |
-
|
162 |
-
/**
|
163 |
-
* Indentation.
|
164 |
-
*/
|
165 |
-
|
166 |
-
.Indent1
|
167 |
-
{
|
168 |
-
margin-left: 40px;
|
169 |
-
}
|
170 |
-
|
171 |
-
.Indent2
|
172 |
-
{
|
173 |
-
margin-left: 80px;
|
174 |
-
}
|
175 |
-
|
176 |
-
.Indent3
|
177 |
-
{
|
178 |
-
margin-left: 120px;
|
179 |
-
}
|
180 |
-
|
181 |
-
/**
|
182 |
-
* Alignment.
|
183 |
-
*/
|
184 |
-
|
185 |
-
.JustifyLeft
|
186 |
-
{
|
187 |
-
text-align: left;
|
188 |
-
}
|
189 |
-
|
190 |
-
.JustifyRight
|
191 |
-
{
|
192 |
-
text-align: right;
|
193 |
-
}
|
194 |
-
|
195 |
-
.JustifyCenter
|
196 |
-
{
|
197 |
-
text-align: center;
|
198 |
-
}
|
199 |
-
|
200 |
-
.JustifyFull
|
201 |
-
{
|
202 |
-
text-align: justify;
|
203 |
-
}
|
204 |
-
|
205 |
-
/**
|
206 |
-
* Other.
|
207 |
-
*/
|
208 |
-
|
209 |
-
code
|
210 |
-
{
|
211 |
-
font-family: courier, monospace;
|
212 |
-
background-color: #eeeeee;
|
213 |
-
padding-left: 1px;
|
214 |
-
padding-right: 1px;
|
215 |
-
border: #c0c0c0 1px solid;
|
216 |
-
}
|
217 |
-
|
218 |
-
kbd
|
219 |
-
{
|
220 |
-
padding: 0px 1px 0px 1px;
|
221 |
-
border-width: 1px 2px 2px 1px;
|
222 |
-
border-style: solid;
|
223 |
-
}
|
224 |
-
|
225 |
-
blockquote
|
226 |
-
{
|
227 |
-
color: #808080;
|
228 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/assets/sample15.config.js
DELETED
@@ -1,92 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Configuration settings used by the XHTML 1.1 sample page (sample14.html).
|
22 |
-
*/
|
23 |
-
|
24 |
-
// Our intention is force all formatting features to use CSS classes or
|
25 |
-
// semantic aware elements.
|
26 |
-
|
27 |
-
/**
|
28 |
-
* Core styles.
|
29 |
-
*/
|
30 |
-
FCKConfig.CoreStyles.Bold = { Element : 'b' } ;
|
31 |
-
FCKConfig.CoreStyles.Italic = { Element : 'i' } ;
|
32 |
-
FCKConfig.CoreStyles.Underline = { Element : 'u' } ;
|
33 |
-
FCKConfig.CoreStyles.StrikeThrough = { Element : 'strike' } ;
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Font face
|
37 |
-
*/
|
38 |
-
// Define the way font elements will be applied to the document. The "span"
|
39 |
-
// element will be used. When a font is selected, the font name defined in the
|
40 |
-
// above list is passed to this definition with the name "Font", being it
|
41 |
-
// injected in the "class" attribute.
|
42 |
-
// We must also instruct the editor to replace span elements that are used to
|
43 |
-
// set the font (Overrides).
|
44 |
-
FCKConfig.CoreStyles.FontFace =
|
45 |
-
{
|
46 |
-
Element : 'font',
|
47 |
-
Attributes : { 'face' : '#("Font")' }
|
48 |
-
} ;
|
49 |
-
|
50 |
-
/**
|
51 |
-
* Font sizes.
|
52 |
-
*/
|
53 |
-
FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ;
|
54 |
-
FCKConfig.CoreStyles.Size =
|
55 |
-
{
|
56 |
-
Element : 'font',
|
57 |
-
Attributes : { 'size' : '#("Size")' }
|
58 |
-
} ;
|
59 |
-
|
60 |
-
/**
|
61 |
-
* Font colors.
|
62 |
-
*/
|
63 |
-
FCKConfig.EnableMoreFontColors = true ;
|
64 |
-
FCKConfig.CoreStyles.Color =
|
65 |
-
{
|
66 |
-
Element : 'font',
|
67 |
-
Attributes : { 'color' : '#("Color")' }
|
68 |
-
} ;
|
69 |
-
|
70 |
-
FCKConfig.CoreStyles.BackColor =
|
71 |
-
{
|
72 |
-
Element : 'font',
|
73 |
-
Styles : { 'background-color' : '#("Color","color")' }
|
74 |
-
} ;
|
75 |
-
|
76 |
-
/**
|
77 |
-
* Styles combo.
|
78 |
-
*/
|
79 |
-
FCKConfig.StylesXmlPath = '' ;
|
80 |
-
FCKConfig.CustomStyles =
|
81 |
-
{
|
82 |
-
'Computer Code' : { Element : 'code' },
|
83 |
-
'Keyboard Phrase' : { Element : 'kbd' },
|
84 |
-
'Sample Text' : { Element : 'samp' },
|
85 |
-
'Variable' : { Element : 'var' },
|
86 |
-
|
87 |
-
'Deleted Text' : { Element : 'del' },
|
88 |
-
'Inserted Text' : { Element : 'ins' },
|
89 |
-
|
90 |
-
'Cited Work' : { Element : 'cite' },
|
91 |
-
'Inline Quotation' : { Element : 'q' }
|
92 |
-
} ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/assets/sample16.config.js
DELETED
@@ -1,92 +0,0 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Configuration settings used by the XHTML 1.1 sample page (sample14.html).
|
22 |
-
*/
|
23 |
-
|
24 |
-
// Our intention is force all formatting features to use CSS classes or
|
25 |
-
// semantic aware elements.
|
26 |
-
|
27 |
-
/**
|
28 |
-
* Core styles.
|
29 |
-
*/
|
30 |
-
FCKConfig.CoreStyles.Bold = { Element : 'b' } ;
|
31 |
-
FCKConfig.CoreStyles.Italic = { Element : 'i' } ;
|
32 |
-
FCKConfig.CoreStyles.Underline = { Element : 'u' } ;
|
33 |
-
|
34 |
-
/**
|
35 |
-
* Font face
|
36 |
-
*/
|
37 |
-
// Define the way font elements will be applied to the document. The "span"
|
38 |
-
// element will be used. When a font is selected, the font name defined in the
|
39 |
-
// above list is passed to this definition with the name "Font", being it
|
40 |
-
// injected in the "class" attribute.
|
41 |
-
// We must also instruct the editor to replace span elements that are used to
|
42 |
-
// set the font (Overrides).
|
43 |
-
FCKConfig.CoreStyles.FontFace =
|
44 |
-
{
|
45 |
-
Element : 'font',
|
46 |
-
Attributes : { 'face' : '#("Font")' }
|
47 |
-
} ;
|
48 |
-
|
49 |
-
/**
|
50 |
-
* Font sizes.
|
51 |
-
* The CSS part of the font sizes isn't used by Flash, it is there to get the
|
52 |
-
* font rendered correctly in FCKeditor.
|
53 |
-
*/
|
54 |
-
FCKConfig.FontSizes = '8/8px;9/9px;10/10px;11/11px;12/12px;14/14px;16/16px;18/18px;20/20px;22/22px;24/24px;26/26px;28/28px;36/36px;48/48px;72/72px' ;
|
55 |
-
FCKConfig.CoreStyles.Size =
|
56 |
-
{
|
57 |
-
Element : 'font',
|
58 |
-
Attributes : { 'size' : '#("Size")' },
|
59 |
-
Styles : { 'font-size' : '#("Size","fontSize")' }
|
60 |
-
} ;
|
61 |
-
|
62 |
-
/**
|
63 |
-
* Font colors.
|
64 |
-
*/
|
65 |
-
FCKConfig.EnableMoreFontColors = true ;
|
66 |
-
FCKConfig.CoreStyles.Color =
|
67 |
-
{
|
68 |
-
Element : 'font',
|
69 |
-
Attributes : { 'color' : '#("Color")' }
|
70 |
-
} ;
|
71 |
-
/**
|
72 |
-
* Styles combo.
|
73 |
-
*/
|
74 |
-
FCKConfig.StylesXmlPath = '' ;
|
75 |
-
FCKConfig.CustomStyles =
|
76 |
-
{
|
77 |
-
} ;
|
78 |
-
|
79 |
-
/**
|
80 |
-
* Toolbar set for Flash HTML editing.
|
81 |
-
*/
|
82 |
-
FCKConfig.ToolbarSets['Flash'] = [
|
83 |
-
['Source','-','Bold','Italic','Underline','-','UnorderedList','-','Link','Unlink'],
|
84 |
-
['FontName','FontSize','-','About']
|
85 |
-
] ;
|
86 |
-
|
87 |
-
/**
|
88 |
-
* Flash specific formatting settings.
|
89 |
-
*/
|
90 |
-
FCKConfig.EditorAreaStyles = 'p, ol, ul {margin-top: 0px; margin-bottom: 0px;}' ;
|
91 |
-
FCKConfig.FormatSource = false ;
|
92 |
-
FCKConfig.FormatOutput = false ;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/assets/sample16.fla
DELETED
Binary file
|
fckeditor/_samples/html/assets/sample16.swf
DELETED
Binary file
|
fckeditor/_samples/html/assets/swfobject.js
DELETED
@@ -1,18 +0,0 @@
|
|
1 |
-
/**
|
2 |
-
* SWFObject v1.5: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
|
3 |
-
*
|
4 |
-
* SWFObject is (c) 2007 Geoff Stearns and is released under the MIT License:
|
5 |
-
* http://www.opensource.org/licenses/mit-license.php
|
6 |
-
*
|
7 |
-
*/
|
8 |
-
/*
|
9 |
-
Copyright (c) 2007 Geoff Stearns
|
10 |
-
|
11 |
-
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
12 |
-
|
13 |
-
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
14 |
-
|
15 |
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
16 |
-
*/
|
17 |
-
/*jsl:ignoreall*/
|
18 |
-
if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return "";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample01.html
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor - JavaScript - Sample 1
|
35 |
-
</h1>
|
36 |
-
<div>
|
37 |
-
This sample displays a normal HTML form with an FCKeditor with full features enabled.
|
38 |
-
</div>
|
39 |
-
<hr />
|
40 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
41 |
-
<script type="text/javascript">
|
42 |
-
<!--
|
43 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
44 |
-
// This is usefull only for these samples. A real application should use something like this:
|
45 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
46 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
47 |
-
|
48 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
49 |
-
oFCKeditor.BasePath = sBasePath ;
|
50 |
-
oFCKeditor.Height = 300 ;
|
51 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
52 |
-
oFCKeditor.Create() ;
|
53 |
-
//-->
|
54 |
-
</script>
|
55 |
-
<br />
|
56 |
-
<input type="submit" value="Submit" />
|
57 |
-
</form>
|
58 |
-
</body>
|
59 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample02.html
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
window.onload = function()
|
34 |
-
{
|
35 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
36 |
-
// This is usefull only for these samples. A real application should use something like this:
|
37 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
38 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
39 |
-
|
40 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
41 |
-
oFCKeditor.BasePath = sBasePath ;
|
42 |
-
oFCKeditor.ReplaceTextarea() ;
|
43 |
-
}
|
44 |
-
|
45 |
-
</script>
|
46 |
-
</head>
|
47 |
-
<body>
|
48 |
-
<h1>
|
49 |
-
FCKeditor - JavaScript - Sample 2</h1>
|
50 |
-
<div>
|
51 |
-
This sample displays a normal HTML form with an FCKeditor with full features enabled.
|
52 |
-
It uses the "ReplaceTextarea" command to create the editor.
|
53 |
-
</div>
|
54 |
-
<hr />
|
55 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
56 |
-
<div>
|
57 |
-
<textarea name="FCKeditor1" rows="10" cols="80" style="width: 100%; height: 200px"><p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p></textarea>
|
58 |
-
</div>
|
59 |
-
<br />
|
60 |
-
<input type="submit" value="Submit" />
|
61 |
-
</form>
|
62 |
-
</body>
|
63 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample03.html
DELETED
@@ -1,140 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
var bIsLoaded = false ;
|
34 |
-
|
35 |
-
function FCKeditor_OnComplete( editorInstance )
|
36 |
-
{
|
37 |
-
if ( bIsLoaded )
|
38 |
-
return ;
|
39 |
-
|
40 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
41 |
-
|
42 |
-
// Remove all options. (#1399)
|
43 |
-
oCombo.innerHTML = '' ;
|
44 |
-
|
45 |
-
var aLanguages = new Array() ;
|
46 |
-
|
47 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
48 |
-
aLanguages.push( { Code : code, Name : editorInstance.Language.AvailableLanguages[code] } ) ;
|
49 |
-
|
50 |
-
aLanguages.sort( SortLanguage ) ;
|
51 |
-
|
52 |
-
for ( var i = 0 ; i < aLanguages.length ; i++ )
|
53 |
-
AddComboOption( oCombo, aLanguages[i].Name + ' (' + aLanguages[i].Code + ')', aLanguages[i].Code ) ;
|
54 |
-
|
55 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
56 |
-
|
57 |
-
document.getElementById('eNumLangs').innerHTML = '(' + aLanguages.length + ' languages available!)' ;
|
58 |
-
|
59 |
-
bIsLoaded = true ;
|
60 |
-
}
|
61 |
-
|
62 |
-
function SortLanguage( langA, langB )
|
63 |
-
{
|
64 |
-
return ( langA.Name < langB.Name ? -1 : langA.Name > langB.Name ? 1 : 0 ) ;
|
65 |
-
}
|
66 |
-
|
67 |
-
function AddComboOption(combo, optionText, optionValue)
|
68 |
-
{
|
69 |
-
var oOption = document.createElement("OPTION") ;
|
70 |
-
|
71 |
-
combo.options.add(oOption) ;
|
72 |
-
|
73 |
-
oOption.innerHTML = optionText ;
|
74 |
-
oOption.value = optionValue ;
|
75 |
-
|
76 |
-
return oOption ;
|
77 |
-
}
|
78 |
-
|
79 |
-
function ChangeLanguage( languageCode )
|
80 |
-
{
|
81 |
-
document.location.href = document.location.href.replace( /\?.*$/, '' ) + "?" + languageCode ;
|
82 |
-
}
|
83 |
-
</script>
|
84 |
-
</head>
|
85 |
-
<body>
|
86 |
-
<h1>
|
87 |
-
FCKeditor - JavaScript - Sample 3</h1>
|
88 |
-
<div>
|
89 |
-
This sample shows the editor in all its available languages.
|
90 |
-
</div>
|
91 |
-
<hr />
|
92 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
93 |
-
<tr>
|
94 |
-
<td>
|
95 |
-
Select a language:
|
96 |
-
</td>
|
97 |
-
<td>
|
98 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
99 |
-
<option> </option>
|
100 |
-
</select>
|
101 |
-
</td>
|
102 |
-
<td>
|
103 |
-
<span id="eNumLangs"></span>
|
104 |
-
</td>
|
105 |
-
</tr>
|
106 |
-
</table>
|
107 |
-
<br />
|
108 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
109 |
-
<script type="text/javascript">
|
110 |
-
<!--
|
111 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
112 |
-
// This is usefull only for these samples. A real application should use something like this:
|
113 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
114 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
115 |
-
|
116 |
-
var sLang ;
|
117 |
-
if ( document.location.search.length > 1 )
|
118 |
-
sLang = document.location.search.substr(1) ;
|
119 |
-
|
120 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
121 |
-
oFCKeditor.BasePath = sBasePath ;
|
122 |
-
if ( sLang == null )
|
123 |
-
{
|
124 |
-
oFCKeditor.Config["AutoDetectLanguage"] = true ;
|
125 |
-
oFCKeditor.Config["DefaultLanguage"] = "en" ;
|
126 |
-
}
|
127 |
-
else
|
128 |
-
{
|
129 |
-
oFCKeditor.Config["AutoDetectLanguage"] = false ;
|
130 |
-
oFCKeditor.Config["DefaultLanguage"] = sLang ;
|
131 |
-
}
|
132 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
133 |
-
oFCKeditor.Create() ;
|
134 |
-
//-->
|
135 |
-
</script>
|
136 |
-
<br />
|
137 |
-
<input type="submit" value="Submit" />
|
138 |
-
</form>
|
139 |
-
</body>
|
140 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample04.html
DELETED
@@ -1,95 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
function FCKeditor_OnComplete( editorInstance )
|
34 |
-
{
|
35 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
36 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
37 |
-
oCombo.style.visibility = '' ;
|
38 |
-
}
|
39 |
-
|
40 |
-
function ChangeLanguage( languageCode )
|
41 |
-
{
|
42 |
-
document.location.href = document.location.href.replace( /\?.*$/, '' ) + "?" + languageCode ;
|
43 |
-
}
|
44 |
-
|
45 |
-
</script>
|
46 |
-
</head>
|
47 |
-
<body>
|
48 |
-
<h1>
|
49 |
-
FCKeditor - JavaScript - Sample 4</h1>
|
50 |
-
<div>
|
51 |
-
This sample shows how to change the editor toolbar.
|
52 |
-
</div>
|
53 |
-
<hr />
|
54 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
55 |
-
<tr>
|
56 |
-
<td>
|
57 |
-
Select the toolbar to load:
|
58 |
-
</td>
|
59 |
-
<td>
|
60 |
-
<select id="cmbToolbars" onchange="ChangeLanguage(this.value);" style="visibility: hidden">
|
61 |
-
<option value="Default" selected="selected">Default</option>
|
62 |
-
<option value="Basic">Basic</option>
|
63 |
-
</select>
|
64 |
-
</td>
|
65 |
-
</tr>
|
66 |
-
</table>
|
67 |
-
<br />
|
68 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
69 |
-
<script type="text/javascript">
|
70 |
-
<!--
|
71 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
72 |
-
// This is usefull only for these samples. A real application should use something like this:
|
73 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
74 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
75 |
-
|
76 |
-
// Get the toolbar from the URL.
|
77 |
-
var sToolbar ;
|
78 |
-
if ( document.location.search.length > 1 )
|
79 |
-
sToolbar = document.location.search.substr(1) ;
|
80 |
-
|
81 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
82 |
-
oFCKeditor.BasePath = sBasePath ;
|
83 |
-
|
84 |
-
if ( sToolbar != null )
|
85 |
-
oFCKeditor.ToolbarSet = sToolbar ;
|
86 |
-
|
87 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
88 |
-
oFCKeditor.Create() ;
|
89 |
-
//-->
|
90 |
-
</script>
|
91 |
-
<br />
|
92 |
-
<input type="submit" value="Submit" />
|
93 |
-
</form>
|
94 |
-
</body>
|
95 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample05.html
DELETED
@@ -1,125 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
function FCKeditor_OnComplete( editorInstance )
|
34 |
-
{
|
35 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
36 |
-
|
37 |
-
// Get the active skin.
|
38 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
39 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
40 |
-
|
41 |
-
oCombo.value = sSkin ;
|
42 |
-
oCombo.style.visibility = '' ;
|
43 |
-
}
|
44 |
-
|
45 |
-
function ChangeLanguage( languageCode )
|
46 |
-
{
|
47 |
-
document.location.href = document.location.href.replace( /\?.*$/, '' ) + "?" + languageCode ;
|
48 |
-
}
|
49 |
-
|
50 |
-
</script>
|
51 |
-
</head>
|
52 |
-
<body>
|
53 |
-
<h1>
|
54 |
-
FCKeditor - JavaScript - Sample 5</h1>
|
55 |
-
<div>
|
56 |
-
This sample shows how to change the editor skin.
|
57 |
-
</div>
|
58 |
-
<hr />
|
59 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
60 |
-
<tr>
|
61 |
-
<td>
|
62 |
-
Select the skin to load:
|
63 |
-
</td>
|
64 |
-
<td>
|
65 |
-
<select id="cmbSkins" onchange="ChangeLanguage(this.value);" style="visibility: hidden">
|
66 |
-
<option value="default" selected="selected">Default</option>
|
67 |
-
<option value="office2003">Office 2003</option>
|
68 |
-
<option value="silver">Silver</option>
|
69 |
-
</select>
|
70 |
-
</td>
|
71 |
-
</tr>
|
72 |
-
</table>
|
73 |
-
<br />
|
74 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
75 |
-
<script type="text/javascript">
|
76 |
-
<!--
|
77 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
78 |
-
// This is usefull only for these samples. A real application should use something like this:
|
79 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
80 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
81 |
-
|
82 |
-
// Get the skin from the URL.
|
83 |
-
var sSkin ;
|
84 |
-
if ( document.location.search.length > 1 )
|
85 |
-
sSkin = document.location.search.substr(1) ;
|
86 |
-
|
87 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
88 |
-
oFCKeditor.BasePath = sBasePath ;
|
89 |
-
|
90 |
-
if ( sSkin != null )
|
91 |
-
{
|
92 |
-
var sSkinPath = sBasePath + 'editor/skins/' + sSkin + '/' ;
|
93 |
-
oFCKeditor.Config['SkinPath'] = sSkinPath ;
|
94 |
-
|
95 |
-
// The following switch is optional. It is done to enhance the loading
|
96 |
-
// time of the toolbar, by preloading the images used on it.
|
97 |
-
switch ( sSkin )
|
98 |
-
{
|
99 |
-
case 'office2003' :
|
100 |
-
oFCKeditor.Config['PreloadImages'] =
|
101 |
-
sSkinPath + 'images/toolbar.start.gif' + ';' +
|
102 |
-
sSkinPath + 'images/toolbar.end.gif' + ';' +
|
103 |
-
sSkinPath + 'images/toolbar.bg.gif' + ';' +
|
104 |
-
sSkinPath + 'images/toolbar.buttonarrow.gif' ;
|
105 |
-
break ;
|
106 |
-
|
107 |
-
case 'silver' :
|
108 |
-
oFCKeditor.Config['PreloadImages'] =
|
109 |
-
sSkinPath + 'images/toolbar.start.gif' + ';' +
|
110 |
-
sSkinPath + 'images/toolbar.end.gif' + ';' +
|
111 |
-
sSkinPath + 'images/toolbar.buttonbg.gif' + ';' +
|
112 |
-
sSkinPath + 'images/toolbar.buttonarrow.gif' ;
|
113 |
-
break ;
|
114 |
-
}
|
115 |
-
}
|
116 |
-
|
117 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
118 |
-
oFCKeditor.Create() ;
|
119 |
-
//-->
|
120 |
-
</script>
|
121 |
-
<br />
|
122 |
-
<input type="submit" value="Submit" />
|
123 |
-
</form>
|
124 |
-
</body>
|
125 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample06.html
DELETED
@@ -1,73 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor - JavaScript - 6</h1>
|
35 |
-
<div>
|
36 |
-
This sample shows some sample plugins implementations. Things to note:<br />
|
37 |
-
<ul>
|
38 |
-
<li>In the toolbar, you will find sample "Find" and "Replace" plugins that do exactly
|
39 |
-
the same thing that the built in ones do. It just shows how to do that with a custom
|
40 |
-
implementation. Use the green toolbar buttons the test then. </li>
|
41 |
-
<li>There is also another sample plugin that is available in the package: the "Placeholder"
|
42 |
-
command (use the yellow icon). </li>
|
43 |
-
<li>It also shows a custom context menu option when right cliking on images (insert
|
44 |
-
a smiley to test it).</li>
|
45 |
-
</ul>
|
46 |
-
</div>
|
47 |
-
<hr />
|
48 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
49 |
-
<script type="text/javascript">
|
50 |
-
<!--
|
51 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
52 |
-
// This is usefull only for these samples. A real application should use something like this:
|
53 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
54 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
55 |
-
|
56 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
57 |
-
oFCKeditor.BasePath = sBasePath ;
|
58 |
-
|
59 |
-
// Set the custom configurations file path (in this way the original file is mantained).
|
60 |
-
oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample06.config.js' ;
|
61 |
-
|
62 |
-
// Let's use a custom toolbar for this sample.
|
63 |
-
oFCKeditor.ToolbarSet = 'PluginTest' ;
|
64 |
-
|
65 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
66 |
-
oFCKeditor.Create() ;
|
67 |
-
//-->
|
68 |
-
</script>
|
69 |
-
<br />
|
70 |
-
<input type="submit" value="Submit" />
|
71 |
-
</form>
|
72 |
-
</body>
|
73 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample07.html
DELETED
@@ -1,59 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor - JavaScript - Sample 7</h1>
|
35 |
-
<div>
|
36 |
-
In this sample the user can edit the complete page contents and header (from <HTML>
|
37 |
-
to </HTML>).
|
38 |
-
</div>
|
39 |
-
<hr />
|
40 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
41 |
-
<script type="text/javascript">
|
42 |
-
<!--
|
43 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
44 |
-
// This is usefull only for these samples. A real application should use something like this:
|
45 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
46 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
47 |
-
|
48 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
49 |
-
oFCKeditor.BasePath = sBasePath ;
|
50 |
-
oFCKeditor.Config['FullPage'] = true ;
|
51 |
-
oFCKeditor.Value = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><title>Full Page Test<\/title><meta content="text/html; charset=utf-8" http-equiv="Content-Type"><\/head><body><p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.<\/body><\/html>' ;
|
52 |
-
oFCKeditor.Create() ;
|
53 |
-
//-->
|
54 |
-
</script>
|
55 |
-
<br />
|
56 |
-
<input type="submit" value="Submit" />
|
57 |
-
</form>
|
58 |
-
</body>
|
59 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample08.html
DELETED
@@ -1,196 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
<!--
|
33 |
-
// FCKeditor_OnComplete is a special function that is called when an editor
|
34 |
-
// instance is loaded ad available to the API. It must be named exactly in
|
35 |
-
// this way.
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
// Show the editor name and description in the browser status bar.
|
39 |
-
document.getElementById('eMessage').innerHTML = 'Instance "' + editorInstance.Name + '" loaded - ' + editorInstance.Description ;
|
40 |
-
|
41 |
-
// Show this sample buttons.
|
42 |
-
document.getElementById('eButtons').style.visibility = '' ;
|
43 |
-
}
|
44 |
-
|
45 |
-
function InsertHTML()
|
46 |
-
{
|
47 |
-
// Get the editor instance that we want to interact with.
|
48 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
49 |
-
|
50 |
-
// Check the active editing mode.
|
51 |
-
if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
|
52 |
-
{
|
53 |
-
// Insert the desired HTML.
|
54 |
-
oEditor.InsertHtml( '- This is some <a href="/Test1.html">sample<\/a> HTML -' ) ;
|
55 |
-
}
|
56 |
-
else
|
57 |
-
alert( 'You must be on WYSIWYG mode!' ) ;
|
58 |
-
}
|
59 |
-
|
60 |
-
function SetContents()
|
61 |
-
{
|
62 |
-
// Get the editor instance that we want to interact with.
|
63 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
64 |
-
|
65 |
-
// Set the editor contents (replace the actual one).
|
66 |
-
oEditor.SetData( 'This is the <b>new content<\/b> I want in the editor.' ) ;
|
67 |
-
}
|
68 |
-
|
69 |
-
function GetContents()
|
70 |
-
{
|
71 |
-
// Get the editor instance that we want to interact with.
|
72 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
73 |
-
|
74 |
-
// Get the editor contents in XHTML.
|
75 |
-
alert( oEditor.GetXHTML( true ) ) ; // "true" means you want it formatted.
|
76 |
-
}
|
77 |
-
|
78 |
-
function ExecuteCommand( commandName )
|
79 |
-
{
|
80 |
-
// Get the editor instance that we want to interact with.
|
81 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
82 |
-
|
83 |
-
// Execute the command.
|
84 |
-
oEditor.Commands.GetCommand( commandName ).Execute() ;
|
85 |
-
}
|
86 |
-
|
87 |
-
function GetLength()
|
88 |
-
{
|
89 |
-
// This functions shows that you can interact directly with the editor area
|
90 |
-
// DOM. In this way you have the freedom to do anything you want with it.
|
91 |
-
|
92 |
-
// Get the editor instance that we want to interact with.
|
93 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
94 |
-
|
95 |
-
// Get the Editor Area DOM (Document object).
|
96 |
-
var oDOM = oEditor.EditorDocument ;
|
97 |
-
|
98 |
-
var iLength ;
|
99 |
-
|
100 |
-
// The are two diffent ways to get the text (without HTML markups).
|
101 |
-
// It is browser specific.
|
102 |
-
|
103 |
-
if ( document.all ) // If Internet Explorer.
|
104 |
-
{
|
105 |
-
iLength = oDOM.body.innerText.length ;
|
106 |
-
}
|
107 |
-
else // If Gecko.
|
108 |
-
{
|
109 |
-
var r = oDOM.createRange() ;
|
110 |
-
r.selectNodeContents( oDOM.body ) ;
|
111 |
-
iLength = r.toString().length ;
|
112 |
-
}
|
113 |
-
|
114 |
-
alert( 'Actual text length (without HTML markups): ' + iLength + ' characters' ) ;
|
115 |
-
}
|
116 |
-
|
117 |
-
function GetInnerHTML()
|
118 |
-
{
|
119 |
-
// Get the editor instance that we want to interact with.
|
120 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
121 |
-
|
122 |
-
alert( oEditor.EditorDocument.body.innerHTML ) ;
|
123 |
-
}
|
124 |
-
|
125 |
-
function CheckIsDirty()
|
126 |
-
{
|
127 |
-
// Get the editor instance that we want to interact with.
|
128 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
129 |
-
alert( oEditor.IsDirty() ) ;
|
130 |
-
}
|
131 |
-
|
132 |
-
function ResetIsDirty()
|
133 |
-
{
|
134 |
-
// Get the editor instance that we want to interact with.
|
135 |
-
var oEditor = FCKeditorAPI.GetInstance('FCKeditor1') ;
|
136 |
-
oEditor.ResetIsDirty() ;
|
137 |
-
alert( 'The "IsDirty" status has been reset' ) ;
|
138 |
-
}
|
139 |
-
-->
|
140 |
-
</script>
|
141 |
-
</head>
|
142 |
-
<body>
|
143 |
-
<h1>
|
144 |
-
FCKeditor - JavaScript - Sample 8
|
145 |
-
</h1>
|
146 |
-
<div>
|
147 |
-
This sample shows how to use the FCKeditor JavaScript API to interact with the editor
|
148 |
-
at runtime.
|
149 |
-
</div>
|
150 |
-
<hr />
|
151 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
152 |
-
<script type="text/javascript">
|
153 |
-
<!--
|
154 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
155 |
-
// This is usefull only for these samples. A real application should use something like this:
|
156 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
157 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
158 |
-
|
159 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
160 |
-
oFCKeditor.BasePath = sBasePath ;
|
161 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
162 |
-
oFCKeditor.Create() ;
|
163 |
-
//-->
|
164 |
-
</script>
|
165 |
-
<br />
|
166 |
-
<input type="submit" value="Submit" />
|
167 |
-
</form>
|
168 |
-
<div>
|
169 |
-
|
170 |
-
</div>
|
171 |
-
<hr />
|
172 |
-
<div id="eMessage">
|
173 |
-
|
174 |
-
</div>
|
175 |
-
<div>
|
176 |
-
|
177 |
-
</div>
|
178 |
-
<div id="eButtons" style="visibility: hidden">
|
179 |
-
<input type="button" value="Insert HTML" onclick="InsertHTML();" />
|
180 |
-
<input type="button" value="Set Editor Contents" onclick="SetContents();" />
|
181 |
-
<input type="button" value="Get Editor Contents (XHTML)" onclick="GetContents();" />
|
182 |
-
<br />
|
183 |
-
<br />
|
184 |
-
<input type="button" value='Execute "Bold" Command' onclick="ExecuteCommand('Bold');" />
|
185 |
-
<input type="button" value='Execute "Link" Command' onclick="ExecuteCommand('Link');" />
|
186 |
-
<br />
|
187 |
-
<br />
|
188 |
-
<input type="button" value="Interact with the Editor Area DOM" onclick="GetLength();" />
|
189 |
-
<input type="button" value="Get innerHTML" onclick="GetInnerHTML();" />
|
190 |
-
<br />
|
191 |
-
<br />
|
192 |
-
<input type="button" value="Check IsDirty()" onclick="CheckIsDirty();" />
|
193 |
-
<input type="button" value="Reset IsDirty()" onclick="ResetIsDirty();" />
|
194 |
-
</div>
|
195 |
-
</body>
|
196 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample09.html
DELETED
@@ -1,100 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
function FCKeditor_OnComplete( editorInstance )
|
34 |
-
{
|
35 |
-
editorInstance.Events.AttachEvent( 'OnBlur' , FCKeditor_OnBlur ) ;
|
36 |
-
editorInstance.Events.AttachEvent( 'OnFocus', FCKeditor_OnFocus ) ;
|
37 |
-
}
|
38 |
-
|
39 |
-
function FCKeditor_OnBlur( editorInstance )
|
40 |
-
{
|
41 |
-
editorInstance.ToolbarSet.Collapse() ;
|
42 |
-
}
|
43 |
-
|
44 |
-
function FCKeditor_OnFocus( editorInstance )
|
45 |
-
{
|
46 |
-
editorInstance.ToolbarSet.Expand() ;
|
47 |
-
}
|
48 |
-
|
49 |
-
</script>
|
50 |
-
</head>
|
51 |
-
<body>
|
52 |
-
<h1>
|
53 |
-
FCKeditor - JavaScript - Sample 9</h1>
|
54 |
-
<div>
|
55 |
-
This sample shows FCKeditor in a more complex form with two different instances.<br />
|
56 |
-
It also shows and interesting usage of the "OnFocus" and "OnBlur" events available
|
57 |
-
in the JavaScript API.
|
58 |
-
</div>
|
59 |
-
<hr />
|
60 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
61 |
-
Normal text field:<br />
|
62 |
-
<input name="NormaText" value="Plain Text" />
|
63 |
-
<br />
|
64 |
-
<br />
|
65 |
-
FCKeditor with Basic toolbar:
|
66 |
-
<script type="text/javascript">
|
67 |
-
<!--
|
68 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
69 |
-
// This is usefull only for these samples. A real application should use something like this:
|
70 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
71 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
72 |
-
|
73 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor_Basic' ) ;
|
74 |
-
|
75 |
-
oFCKeditor.Config['ToolbarStartExpanded'] = false ;
|
76 |
-
|
77 |
-
oFCKeditor.BasePath = sBasePath ;
|
78 |
-
oFCKeditor.ToolbarSet = 'Basic' ;
|
79 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
80 |
-
oFCKeditor.Create() ;
|
81 |
-
//-->
|
82 |
-
</script>
|
83 |
-
<br />
|
84 |
-
FCKeditor with Default toolbar:
|
85 |
-
<script type="text/javascript">
|
86 |
-
<!--
|
87 |
-
oFCKeditor = new FCKeditor( 'FCKeditor_Default' ) ;
|
88 |
-
|
89 |
-
oFCKeditor.Config['ToolbarStartExpanded'] = false ;
|
90 |
-
|
91 |
-
oFCKeditor.BasePath = sBasePath ;
|
92 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
93 |
-
oFCKeditor.Create() ;
|
94 |
-
//-->
|
95 |
-
</script>
|
96 |
-
<br />
|
97 |
-
<input type="submit" value="Submit" />
|
98 |
-
</form>
|
99 |
-
</body>
|
100 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample10.html
DELETED
@@ -1,79 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor - JavaScript - Sample 10</h1>
|
35 |
-
<div>
|
36 |
-
This sample shows a form with two FCKeditor instance. Both instances share the same
|
37 |
-
toolbar, available in the top.
|
38 |
-
</div>
|
39 |
-
<hr />
|
40 |
-
<div id="xToolbar"></div>
|
41 |
-
<hr />
|
42 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
43 |
-
Normal text field:<br />
|
44 |
-
<input name="NormaText" value="Plain Text" />
|
45 |
-
<br />
|
46 |
-
<br />
|
47 |
-
FCKeditor 1:
|
48 |
-
<script type="text/javascript">
|
49 |
-
<!--
|
50 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
51 |
-
// This is usefull only for these samples. A real application should use something like this:
|
52 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
53 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
54 |
-
|
55 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor_1' ) ;
|
56 |
-
oFCKeditor.BasePath = sBasePath ;
|
57 |
-
oFCKeditor.Height = 100 ;
|
58 |
-
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ;
|
59 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
60 |
-
oFCKeditor.Create() ;
|
61 |
-
//-->
|
62 |
-
</script>
|
63 |
-
<br />
|
64 |
-
FCKeditor 2:
|
65 |
-
<script type="text/javascript">
|
66 |
-
<!--
|
67 |
-
oFCKeditor = new FCKeditor( 'FCKeditor_2' ) ;
|
68 |
-
oFCKeditor.BasePath = sBasePath ;
|
69 |
-
oFCKeditor.Height = 100 ;
|
70 |
-
oFCKeditor.Config[ 'ToolbarLocation' ] = 'Out:xToolbar' ;
|
71 |
-
oFCKeditor.Value = '<p>This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
72 |
-
oFCKeditor.Create() ;
|
73 |
-
//-->
|
74 |
-
</script>
|
75 |
-
<br />
|
76 |
-
<input type="submit" value="Submit" />
|
77 |
-
</form>
|
78 |
-
</body>
|
79 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample11.html
DELETED
@@ -1,43 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
</head>
|
31 |
-
<body>
|
32 |
-
<h1>
|
33 |
-
FCKeditor - JavaScript - Sample 11</h1>
|
34 |
-
<div>
|
35 |
-
This sample shows a form with two FCKeditor instance loaded inside an IFRAME. Both instances share the same
|
36 |
-
toolbar, available in the main page (top).
|
37 |
-
</div>
|
38 |
-
<hr />
|
39 |
-
<div id="xToolbar"></div>
|
40 |
-
<hr />
|
41 |
-
<iframe src="assets/sample11_frame.html" width="100%" height="300"></iframe>
|
42 |
-
</body>
|
43 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample12.html
DELETED
@@ -1,124 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
<!--
|
33 |
-
// The following function is used in this samples to reload the page,
|
34 |
-
// setting the querystring parameters for the enter mode.
|
35 |
-
function ChangeMode()
|
36 |
-
{
|
37 |
-
var sEnterMode = document.getElementById('xEnter').value ;
|
38 |
-
var sShiftEnterMode = document.getElementById('xShiftEnter').value ;
|
39 |
-
|
40 |
-
window.location.href = window.location.pathname + '?enter=' + sEnterMode + '&shift=' + sShiftEnterMode ;
|
41 |
-
}
|
42 |
-
-->
|
43 |
-
</script>
|
44 |
-
</head>
|
45 |
-
<body>
|
46 |
-
<h1>
|
47 |
-
FCKeditor - JavaScript - Sample 12</h1>
|
48 |
-
<div>
|
49 |
-
This sample shows the different ways to configure the [Enter] key behavior on FCKeditor.
|
50 |
-
</div>
|
51 |
-
<hr />
|
52 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
53 |
-
<tr>
|
54 |
-
<td>
|
55 |
-
When [Enter] is pressed:
|
56 |
-
</td>
|
57 |
-
<td>
|
58 |
-
<select id="xEnter" onchange="ChangeMode();">
|
59 |
-
<option value="p" selected="selected">Create new <P></option>
|
60 |
-
<option value="div">Create new <DIV></option>
|
61 |
-
<option value="br">Break the line with a <BR></option>
|
62 |
-
</select>
|
63 |
-
</td>
|
64 |
-
</tr>
|
65 |
-
<tr>
|
66 |
-
<td>
|
67 |
-
When [Shift] + [Enter] is pressed:
|
68 |
-
</td>
|
69 |
-
<td>
|
70 |
-
<select id="xShiftEnter" onchange="ChangeMode();">
|
71 |
-
<option value="p">Create new <P></option>
|
72 |
-
<option value="div">Create new <DIV></option>
|
73 |
-
<option value="br" selected="selected">Break the line with a <BR></option>
|
74 |
-
</select>
|
75 |
-
</td>
|
76 |
-
</tr>
|
77 |
-
</table>
|
78 |
-
<br />
|
79 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
80 |
-
<script type="text/javascript">
|
81 |
-
<!--
|
82 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
83 |
-
// This is usefull only for these samples. A real application should use something like this:
|
84 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
85 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
86 |
-
|
87 |
-
// The following are the default configurations for the Enter and Shift+Enter modes.
|
88 |
-
var sEnterMode = 'p' ;
|
89 |
-
var sShiftEnterMode = 'br' ;
|
90 |
-
|
91 |
-
// Try to get the new configurations from the querystring, if available.
|
92 |
-
if ( document.location.search.length > 1 )
|
93 |
-
{
|
94 |
-
var aMatch = document.location.search.match( /enter=(p|div|br)/ ) ;
|
95 |
-
if ( aMatch )
|
96 |
-
sEnterMode = aMatch[1] ;
|
97 |
-
|
98 |
-
aMatch = document.location.search.match( /shift=(p|div|br)/ ) ;
|
99 |
-
if ( aMatch )
|
100 |
-
sShiftEnterMode = aMatch[1] ;
|
101 |
-
}
|
102 |
-
|
103 |
-
// Create the FCKeditor instance.
|
104 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
105 |
-
oFCKeditor.BasePath = sBasePath ;
|
106 |
-
oFCKeditor.Value = 'This is some <strong>sample text<\/strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.' ;
|
107 |
-
|
108 |
-
// Set the configuration options for the Enter Key mode.
|
109 |
-
oFCKeditor.Config["EnterMode"] = sEnterMode ;
|
110 |
-
oFCKeditor.Config["ShiftEnterMode"] = sShiftEnterMode ;
|
111 |
-
|
112 |
-
oFCKeditor.Create() ;
|
113 |
-
|
114 |
-
// Update the select combos with the current values.
|
115 |
-
document.getElementById('xEnter').value = sEnterMode ;
|
116 |
-
document.getElementById('xShiftEnter').value = sShiftEnterMode ;
|
117 |
-
|
118 |
-
//-->
|
119 |
-
</script>
|
120 |
-
<br />
|
121 |
-
<input type="submit" value="Submit" />
|
122 |
-
</form>
|
123 |
-
</body>
|
124 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample13.html
DELETED
@@ -1,148 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
function Toggle()
|
34 |
-
{
|
35 |
-
// Try to get the FCKeditor instance, if available.
|
36 |
-
var oEditor ;
|
37 |
-
if ( typeof( FCKeditorAPI ) != 'undefined' )
|
38 |
-
oEditor = FCKeditorAPI.GetInstance( 'DataFCKeditor' ) ;
|
39 |
-
|
40 |
-
// Get the _Textarea and _FCKeditor DIVs.
|
41 |
-
var eTextareaDiv = document.getElementById( 'Textarea' ) ;
|
42 |
-
var eFCKeditorDiv = document.getElementById( 'FCKeditor' ) ;
|
43 |
-
|
44 |
-
// If the _Textarea DIV is visible, switch to FCKeditor.
|
45 |
-
if ( eTextareaDiv.style.display != 'none' )
|
46 |
-
{
|
47 |
-
// If it is the first time, create the editor.
|
48 |
-
if ( !oEditor )
|
49 |
-
{
|
50 |
-
CreateEditor() ;
|
51 |
-
}
|
52 |
-
else
|
53 |
-
{
|
54 |
-
// Set the current text in the textarea to the editor.
|
55 |
-
oEditor.SetData( document.getElementById('DataTextarea').value ) ;
|
56 |
-
}
|
57 |
-
|
58 |
-
// Switch the DIVs display.
|
59 |
-
eTextareaDiv.style.display = 'none' ;
|
60 |
-
eFCKeditorDiv.style.display = '' ;
|
61 |
-
|
62 |
-
// This is a hack for Gecko 1.0.x ... it stops editing when the editor is hidden.
|
63 |
-
if ( oEditor && !document.all )
|
64 |
-
{
|
65 |
-
if ( oEditor.EditMode == FCK_EDITMODE_WYSIWYG )
|
66 |
-
oEditor.MakeEditable() ;
|
67 |
-
}
|
68 |
-
}
|
69 |
-
else
|
70 |
-
{
|
71 |
-
// Set the textarea value to the editor value.
|
72 |
-
document.getElementById('DataTextarea').value = oEditor.GetXHTML() ;
|
73 |
-
|
74 |
-
// Switch the DIVs display.
|
75 |
-
eTextareaDiv.style.display = '' ;
|
76 |
-
eFCKeditorDiv.style.display = 'none' ;
|
77 |
-
}
|
78 |
-
}
|
79 |
-
|
80 |
-
function CreateEditor()
|
81 |
-
{
|
82 |
-
// Copy the value of the current textarea, to the textarea that will be used by the editor.
|
83 |
-
document.getElementById('DataFCKeditor').value = document.getElementById('DataTextarea').value ;
|
84 |
-
|
85 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
86 |
-
// This is usefull only for these samples. A real application should use something like this:
|
87 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
88 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
89 |
-
|
90 |
-
// Create an instance of FCKeditor (using the target textarea as the name).
|
91 |
-
var oFCKeditor = new FCKeditor( 'DataFCKeditor' ) ;
|
92 |
-
oFCKeditor.BasePath = sBasePath ;
|
93 |
-
oFCKeditor.Width = '100%' ;
|
94 |
-
oFCKeditor.Height = '350' ;
|
95 |
-
oFCKeditor.ReplaceTextarea() ;
|
96 |
-
}
|
97 |
-
|
98 |
-
// The FCKeditor_OnComplete function is a special function called everytime an
|
99 |
-
// editor instance is completely loaded and available for API interactions.
|
100 |
-
function FCKeditor_OnComplete( editorInstance )
|
101 |
-
{
|
102 |
-
// Enable the switch button. It is disabled at startup, waiting the editor to be loaded.
|
103 |
-
document.getElementById('BtnSwitchTextarea').disabled = false ;
|
104 |
-
}
|
105 |
-
|
106 |
-
function PrepareSave()
|
107 |
-
{
|
108 |
-
// If the textarea isn't visible update the content from the editor.
|
109 |
-
if ( document.getElementById( 'Textarea' ).style.display == 'none' )
|
110 |
-
{
|
111 |
-
var oEditor = FCKeditorAPI.GetInstance( 'DataFCKeditor' ) ;
|
112 |
-
document.getElementById( 'DataTextarea' ).value = oEditor.GetXHTML() ;
|
113 |
-
}
|
114 |
-
}
|
115 |
-
|
116 |
-
</script>
|
117 |
-
</head>
|
118 |
-
<body>
|
119 |
-
<h1>
|
120 |
-
FCKeditor - JavaScript - Sample 13
|
121 |
-
</h1>
|
122 |
-
<div>
|
123 |
-
This sample starts with a normal textarea and provides the ability to switch back
|
124 |
-
and forth between the textarea and FCKeditor. It uses the JavaScript API to do the
|
125 |
-
operations so it will work even if the internal implementation changes.
|
126 |
-
</div>
|
127 |
-
<hr />
|
128 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank" onsubmit="PrepareSave();">
|
129 |
-
<div id="Textarea">
|
130 |
-
<input type="button" value="Switch to FCKeditor" onclick="Toggle()" />
|
131 |
-
<br />
|
132 |
-
<br />
|
133 |
-
<textarea id="DataTextarea" name="Data" cols="80" rows="20" style="width: 95%">This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</textarea>
|
134 |
-
</div>
|
135 |
-
<div id="FCKeditor" style="display: none">
|
136 |
-
<!-- Note that the following button is disabled at startup.
|
137 |
-
It will be enabled once the editor is completely loaded. -->
|
138 |
-
<input id="BtnSwitchTextarea" type="button" disabled="disabled" value="Switch to Textarea" onclick="Toggle()" />
|
139 |
-
<br />
|
140 |
-
<br />
|
141 |
-
<!-- Note that the following textarea doesn't have a "name", so it will not be posted. -->
|
142 |
-
<textarea id="DataFCKeditor" cols="80" rows="20"></textarea>
|
143 |
-
</div>
|
144 |
-
<br />
|
145 |
-
<input type="submit" value="Submit" />
|
146 |
-
</form>
|
147 |
-
</body>
|
148 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample14.html
DELETED
@@ -1,66 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor - JavaScript - Sample 14
|
35 |
-
</h1>
|
36 |
-
<div>
|
37 |
-
This sample shows FCKeditor configured to produce <strong>XHTML 1.1</strong> compliant
|
38 |
-
HTML. Deprecated elements or attributes, like the <font> and <u> elements
|
39 |
-
or the "style" attribute, are avoided.
|
40 |
-
</div>
|
41 |
-
<hr />
|
42 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
43 |
-
<script type="text/javascript">
|
44 |
-
<!--
|
45 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
46 |
-
// This is usefull only for these samples. A real application should use something like this:
|
47 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
48 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
49 |
-
|
50 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
51 |
-
oFCKeditor.BasePath = sBasePath ;
|
52 |
-
|
53 |
-
// Instruct the editor to load our configurations from a custom file, leaving the
|
54 |
-
// original configuration file untouched.
|
55 |
-
oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample14.config.js' ;
|
56 |
-
|
57 |
-
oFCKeditor.Height = 300 ;
|
58 |
-
oFCKeditor.Value = '<p>This is some <span class="Bold">sample text<\/span>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
59 |
-
oFCKeditor.Create() ;
|
60 |
-
//-->
|
61 |
-
</script>
|
62 |
-
<br />
|
63 |
-
<input type="submit" value="Submit" />
|
64 |
-
</form>
|
65 |
-
</body>
|
66 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample15.html
DELETED
@@ -1,66 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor - JavaScript - Sample 15
|
35 |
-
</h1>
|
36 |
-
<div>
|
37 |
-
This sample shows FCKeditor configured to produce a legacy HTML4 document. Traditional
|
38 |
-
HTML elements like <b>, <i>, and <font> are used in place of
|
39 |
-
<strong>, <em> and CSS styles.
|
40 |
-
</div>
|
41 |
-
<hr />
|
42 |
-
<form action="../php/sampleposteddata.php" method="post" target="_blank">
|
43 |
-
<script type="text/javascript">
|
44 |
-
<!--
|
45 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
46 |
-
// This is usefull only for these samples. A real application should use something like this:
|
47 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
48 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
49 |
-
|
50 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
51 |
-
oFCKeditor.BasePath = sBasePath ;
|
52 |
-
|
53 |
-
// Instruct the editor to load our configurations from a custom file, leaving the
|
54 |
-
// original configuration file untouched.
|
55 |
-
oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample15.config.js' ;
|
56 |
-
|
57 |
-
oFCKeditor.Height = 300 ;
|
58 |
-
oFCKeditor.Value = '<p>This is some <b>sample text<\/b>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
59 |
-
oFCKeditor.Create() ;
|
60 |
-
//-->
|
61 |
-
</script>
|
62 |
-
<br />
|
63 |
-
<input type="submit" value="Submit" />
|
64 |
-
</form>
|
65 |
-
</body>
|
66 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/html/sample16.html
DELETED
@@ -1,91 +0,0 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
-->
|
24 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
-
<head>
|
26 |
-
<title>FCKeditor - Sample</title>
|
27 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
28 |
-
<meta name="robots" content="noindex, nofollow" />
|
29 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
30 |
-
<script type="text/javascript" src="../../fckeditor.js"></script>
|
31 |
-
<script type="text/javascript" src="assets/swfobject.js"></script>
|
32 |
-
<script type="text/javascript">
|
33 |
-
function sendToFlash()
|
34 |
-
{
|
35 |
-
var html = FCKeditorAPI.GetInstance( 'FCKeditor1' ).GetData() ;
|
36 |
-
var flash = document.getElementById( 'fckFlash' ) ;
|
37 |
-
flash.setData( html ) ;
|
38 |
-
}
|
39 |
-
|
40 |
-
function init()
|
41 |
-
{
|
42 |
-
var so = new SWFObject("assets/sample16.swf", "fckFlash", "550", "400", "8", "#ffffff") ;
|
43 |
-
so.addParam("wmode", "transparent");
|
44 |
-
so.write("fckFlashContainer") ;
|
45 |
-
}
|
46 |
-
</script>
|
47 |
-
</head>
|
48 |
-
<body onload="init();">
|
49 |
-
<h1>
|
50 |
-
FCKeditor - JavaScript - Sample 16
|
51 |
-
</h1>
|
52 |
-
<div>
|
53 |
-
This sample shows FCKeditor configured to produce HTML code that can be used with
|
54 |
-
<a href="http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14808#TextArea_Component">
|
55 |
-
Flash</a>.
|
56 |
-
</div>
|
57 |
-
<hr />
|
58 |
-
<table width="100%" cellpadding="0" cellspacing="0">
|
59 |
-
<tr>
|
60 |
-
<td style="width: 100%">
|
61 |
-
<script type="text/javascript">
|
62 |
-
<!--
|
63 |
-
if ( document.location.protocol == 'file:' )
|
64 |
-
alert( 'Warning: This samples does not work when loaded from local filesystem due to security restrictions implemented in Flash.'
|
65 |
-
+ '\n\nPlease load the sample from a web server instead.') ;
|
66 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
67 |
-
// This is usefull only for these samples. A real application should use something like this:
|
68 |
-
// oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
69 |
-
var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('_samples')) ;
|
70 |
-
|
71 |
-
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
|
72 |
-
oFCKeditor.BasePath = sBasePath ;
|
73 |
-
|
74 |
-
// Instruct the editor to load our configurations from a custom file, leaving the
|
75 |
-
// original configuration file untouched.
|
76 |
-
oFCKeditor.Config['CustomConfigurationsPath'] = sBasePath + '_samples/html/assets/sample16.config.js' ;
|
77 |
-
oFCKeditor.Height = 400 ;
|
78 |
-
oFCKeditor.Width = '100%' ;
|
79 |
-
oFCKeditor.ToolbarSet = 'Flash' ;
|
80 |
-
oFCKeditor.Value = '<p>This is some <b>sample text<\/b>. You are using <a href="http://www.fckeditor.net/">FCKeditor<\/a>.<\/p>' ;
|
81 |
-
oFCKeditor.Create() ;
|
82 |
-
//-->
|
83 |
-
</script>
|
84 |
-
<input type="button" value="Send to Flash" onclick="sendToFlash();" />
|
85 |
-
</td>
|
86 |
-
<td valign="top" style="padding-left: 15px" id="fckFlashContainer">
|
87 |
-
</td>
|
88 |
-
</tr>
|
89 |
-
</table>
|
90 |
-
</body>
|
91 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/lasso/sample01.lasso
DELETED
@@ -1,55 +0,0 @@
|
|
1 |
-
[//lasso
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
]
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
</head>
|
33 |
-
<body>
|
34 |
-
<h1>FCKeditor - Lasso - Sample 1</h1>
|
35 |
-
This sample displays a normal HTML form with an FCKeditor with full features
|
36 |
-
enabled.
|
37 |
-
<hr>
|
38 |
-
<form action="sampleposteddata.lasso" method="post" target="_blank">
|
39 |
-
[//lasso
|
40 |
-
include('../../fckeditor.lasso');
|
41 |
-
var('basepath') = response_filepath->split('_samples')->get(1);
|
42 |
-
|
43 |
-
var('myeditor') = fck_editor(
|
44 |
-
-instancename='FCKeditor1',
|
45 |
-
-basepath=$basepath,
|
46 |
-
-initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
47 |
-
);
|
48 |
-
|
49 |
-
$myeditor->create;
|
50 |
-
]
|
51 |
-
<br>
|
52 |
-
<input type="submit" value="Submit">
|
53 |
-
</form>
|
54 |
-
</body>
|
55 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/lasso/sample02.lasso
DELETED
@@ -1,109 +0,0 @@
|
|
1 |
-
[//lasso
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
]
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
<!--
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
37 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
38 |
-
{
|
39 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
40 |
-
}
|
41 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
42 |
-
}
|
43 |
-
|
44 |
-
function AddComboOption(combo, optionText, optionValue)
|
45 |
-
{
|
46 |
-
var oOption = document.createElement("OPTION") ;
|
47 |
-
|
48 |
-
combo.options.add(oOption) ;
|
49 |
-
|
50 |
-
oOption.innerHTML = optionText ;
|
51 |
-
oOption.value = optionValue ;
|
52 |
-
|
53 |
-
return oOption ;
|
54 |
-
}
|
55 |
-
|
56 |
-
function ChangeLanguage( languageCode )
|
57 |
-
{
|
58 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
59 |
-
}
|
60 |
-
//-->
|
61 |
-
</script>
|
62 |
-
</head>
|
63 |
-
<body>
|
64 |
-
<h1>FCKeditor - Lasso - Sample 2</h1>
|
65 |
-
This sample shows the editor in all its available languages.
|
66 |
-
<hr>
|
67 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
68 |
-
<tr>
|
69 |
-
<td>
|
70 |
-
Select a language:
|
71 |
-
</td>
|
72 |
-
<td>
|
73 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
74 |
-
</select>
|
75 |
-
</td>
|
76 |
-
</tr>
|
77 |
-
</table>
|
78 |
-
<br>
|
79 |
-
<form action="sampleposteddata.lasso" method="post" target="_blank">
|
80 |
-
[//lasso
|
81 |
-
include('../../fckeditor.lasso');
|
82 |
-
var('basepath') = response_filepath->split('_samples')->get(1);
|
83 |
-
|
84 |
-
if(action_param('Lang'));
|
85 |
-
var('config') = array(
|
86 |
-
'AutoDetectLanguage' = 'false',
|
87 |
-
'DefaultLanguage' = action_param('Lang')
|
88 |
-
);
|
89 |
-
else;
|
90 |
-
var('config') = array(
|
91 |
-
'AutoDetectLanguage' = 'true',
|
92 |
-
'DefaultLanguage' = 'en'
|
93 |
-
);
|
94 |
-
/if;
|
95 |
-
|
96 |
-
var('myeditor') = fck_editor(
|
97 |
-
-instancename='FCKeditor1',
|
98 |
-
-basepath=$basepath,
|
99 |
-
-config=$config,
|
100 |
-
-initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
101 |
-
);
|
102 |
-
|
103 |
-
$myeditor->create;
|
104 |
-
]
|
105 |
-
<br>
|
106 |
-
<input type="submit" value="Submit">
|
107 |
-
</form>
|
108 |
-
</body>
|
109 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/lasso/sample03.lasso
DELETED
@@ -1,87 +0,0 @@
|
|
1 |
-
[//lasso
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
]
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
<!--
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
37 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
38 |
-
oCombo.style.visibility = '' ;
|
39 |
-
}
|
40 |
-
|
41 |
-
function ChangeToolbar( toolbarName )
|
42 |
-
{
|
43 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
44 |
-
}
|
45 |
-
//-->
|
46 |
-
</script>
|
47 |
-
</head>
|
48 |
-
<body>
|
49 |
-
<h1>FCKeditor - Lasso - Sample 3</h1>
|
50 |
-
This sample shows how to change the editor toolbar.
|
51 |
-
<hr>
|
52 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
53 |
-
<tr>
|
54 |
-
<td>
|
55 |
-
Select the toolbar to load:
|
56 |
-
</td>
|
57 |
-
<td>
|
58 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
59 |
-
<option value="Default" selected>Default</option>
|
60 |
-
<option value="Basic">Basic</option>
|
61 |
-
</select>
|
62 |
-
</td>
|
63 |
-
</tr>
|
64 |
-
</table>
|
65 |
-
<br>
|
66 |
-
<form action="sampleposteddata.lasso" method="post" target="_blank">
|
67 |
-
[//lasso
|
68 |
-
include('../../fckeditor.lasso');
|
69 |
-
var('basepath') = response_filepath->split('_samples')->get(1);
|
70 |
-
|
71 |
-
var('myeditor') = fck_editor(
|
72 |
-
-instancename='FCKeditor1',
|
73 |
-
-basepath=$basepath,
|
74 |
-
-initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
75 |
-
);
|
76 |
-
|
77 |
-
if(action_param('Toolbar'));
|
78 |
-
$myeditor->toolbarset = action_param('Toolbar');
|
79 |
-
/if;
|
80 |
-
|
81 |
-
$myeditor->create;
|
82 |
-
]
|
83 |
-
<br>
|
84 |
-
<input type="submit" value="Submit">
|
85 |
-
</form>
|
86 |
-
</body>
|
87 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/lasso/sample04.lasso
DELETED
@@ -1,93 +0,0 @@
|
|
1 |
-
[//lasso
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
]
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Sample</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
32 |
-
<script type="text/javascript">
|
33 |
-
<!--
|
34 |
-
function FCKeditor_OnComplete( editorInstance )
|
35 |
-
{
|
36 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
37 |
-
|
38 |
-
// Get the active skin.
|
39 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
40 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
41 |
-
|
42 |
-
oCombo.value = sSkin ;
|
43 |
-
oCombo.style.visibility = '' ;
|
44 |
-
}
|
45 |
-
|
46 |
-
function ChangeSkin( skinName )
|
47 |
-
{
|
48 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
49 |
-
}
|
50 |
-
//-->
|
51 |
-
</script>
|
52 |
-
</head>
|
53 |
-
<body>
|
54 |
-
<h1>FCKeditor - Lasso - Sample 4</h1>
|
55 |
-
This sample shows how to change the editor skin.
|
56 |
-
<hr>
|
57 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
58 |
-
<tr>
|
59 |
-
<td>
|
60 |
-
Select the skin to load:
|
61 |
-
</td>
|
62 |
-
<td>
|
63 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
64 |
-
<option value="default" selected>Default</option>
|
65 |
-
<option value="office2003">Office 2003</option>
|
66 |
-
<option value="silver">Silver</option>
|
67 |
-
</select>
|
68 |
-
</td>
|
69 |
-
</tr>
|
70 |
-
</table>
|
71 |
-
<br>
|
72 |
-
<form action="sampleposteddata.lasso" method="post" target="_blank">
|
73 |
-
[//lasso
|
74 |
-
include('../../fckeditor.lasso');
|
75 |
-
var('basepath') = response_filepath->split('_samples')->get(1);
|
76 |
-
|
77 |
-
var('myeditor') = fck_editor(
|
78 |
-
-instancename='FCKeditor1',
|
79 |
-
-basepath=$basepath,
|
80 |
-
-initialvalue='<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>'
|
81 |
-
);
|
82 |
-
|
83 |
-
if(action_param('Skin'));
|
84 |
-
$myeditor->config = array('SkinPath' = $basepath + 'editor/skins/' + action_param('Skin') + '/');
|
85 |
-
/if;
|
86 |
-
|
87 |
-
$myeditor->create;
|
88 |
-
]
|
89 |
-
<br>
|
90 |
-
<input type="submit" value="Submit">
|
91 |
-
</form>
|
92 |
-
</body>
|
93 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/lasso/sampleposteddata.lasso
DELETED
@@ -1,53 +0,0 @@
|
|
1 |
-
[//lasso
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
]
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Samples - Posted Data</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css">
|
32 |
-
</head>
|
33 |
-
<body>
|
34 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
35 |
-
This page lists all data posted by the form.
|
36 |
-
<hr>
|
37 |
-
<table border="1" cellspacing="0" id="outputSample">
|
38 |
-
<colgroup><col width="80"><col></colgroup>
|
39 |
-
<thead>
|
40 |
-
<tr>
|
41 |
-
<th>Field Name</th>
|
42 |
-
<th>Value</th>
|
43 |
-
</tr>
|
44 |
-
</thead>
|
45 |
-
[iterate(client_postparams, local('this'))]
|
46 |
-
<tr>
|
47 |
-
<th>[#this->first]</th>
|
48 |
-
<td><pre>[#this->second]</pre></td>
|
49 |
-
</tr>
|
50 |
-
[/iterate]
|
51 |
-
</table>
|
52 |
-
</body>
|
53 |
-
</html>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/perl/sample01.cgi
DELETED
@@ -1,117 +0,0 @@
|
|
1 |
-
#!/usr/bin/env perl
|
2 |
-
|
3 |
-
#####
|
4 |
-
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
# Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
#
|
7 |
-
# == BEGIN LICENSE ==
|
8 |
-
#
|
9 |
-
# Licensed under the terms of any of the following licenses at your
|
10 |
-
# choice:
|
11 |
-
#
|
12 |
-
# - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
# http://www.gnu.org/licenses/gpl.html
|
14 |
-
#
|
15 |
-
# - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
# http://www.gnu.org/licenses/lgpl.html
|
17 |
-
#
|
18 |
-
# - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
# http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
#
|
21 |
-
# == END LICENSE ==
|
22 |
-
#
|
23 |
-
# Sample page.
|
24 |
-
#####
|
25 |
-
|
26 |
-
## START: Hack for Windows (Not important to understand the editor code... Perl specific).
|
27 |
-
if(Windows_check()) {
|
28 |
-
chdir(GetScriptPath($0));
|
29 |
-
}
|
30 |
-
|
31 |
-
sub Windows_check
|
32 |
-
{
|
33 |
-
# IIS,PWS(NT/95)
|
34 |
-
$www_server_os = $^O;
|
35 |
-
# Win98 & NT(SP4)
|
36 |
-
if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; }
|
37 |
-
# AnHTTPd/Omni/IIS
|
38 |
-
if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; }
|
39 |
-
# Win Apache
|
40 |
-
if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; }
|
41 |
-
if($www_server_os=~ /win/i) { return(1); }
|
42 |
-
return(0);
|
43 |
-
}
|
44 |
-
|
45 |
-
sub GetScriptPath {
|
46 |
-
local($path) = @_;
|
47 |
-
if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; }
|
48 |
-
$path;
|
49 |
-
}
|
50 |
-
## END: Hack for IIS
|
51 |
-
|
52 |
-
require '../../fckeditor.pl';
|
53 |
-
|
54 |
-
# When $ENV{'PATH_INFO'} cannot be used by perl.
|
55 |
-
# $DefRootPath = "/XXXXX/_samples/perl/sample01.cgi"; Please write in script.
|
56 |
-
|
57 |
-
my $DefServerPath = "";
|
58 |
-
my $ServerPath;
|
59 |
-
|
60 |
-
$ServerPath = &GetServerPath();
|
61 |
-
print "Content-type: text/html\n\n";
|
62 |
-
print <<"_HTML_TAG_";
|
63 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
64 |
-
<html>
|
65 |
-
<head>
|
66 |
-
<title>FCKeditor - Sample</title>
|
67 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
68 |
-
<meta name="robots" content="noindex, nofollow">
|
69 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
70 |
-
</head>
|
71 |
-
<body>
|
72 |
-
<h1>FCKeditor - Perl - Sample 1</h1>
|
73 |
-
This sample displays a normal HTML form with an FCKeditor with full features
|
74 |
-
enabled.
|
75 |
-
<hr>
|
76 |
-
<form action="sampleposteddata.cgi" method="post" target="_blank">
|
77 |
-
_HTML_TAG_
|
78 |
-
|
79 |
-
#// Automatically calculates the editor base path based on the _samples directory.
|
80 |
-
#// This is usefull only for these samples. A real application should use something like this:
|
81 |
-
#// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
82 |
-
|
83 |
-
$sBasePath = $ServerPath;
|
84 |
-
$sBasePath = substr($sBasePath,0,index($sBasePath,"_samples"));
|
85 |
-
&FCKeditor('FCKeditor1');
|
86 |
-
$BasePath = $sBasePath;
|
87 |
-
$Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>';
|
88 |
-
&Create();
|
89 |
-
|
90 |
-
print <<"_HTML_TAG_";
|
91 |
-
<br>
|
92 |
-
<input type="submit" value="Submit">
|
93 |
-
</form>
|
94 |
-
</body>
|
95 |
-
</html>
|
96 |
-
_HTML_TAG_
|
97 |
-
|
98 |
-
################
|
99 |
-
#Please use this function, rewriting it depending on a server's environment.
|
100 |
-
################
|
101 |
-
sub GetServerPath
|
102 |
-
{
|
103 |
-
my $dir;
|
104 |
-
|
105 |
-
if($DefServerPath) {
|
106 |
-
$dir = $DefServerPath;
|
107 |
-
} else {
|
108 |
-
if($ENV{'PATH_INFO'}) {
|
109 |
-
$dir = $ENV{'PATH_INFO'};
|
110 |
-
} elsif($ENV{'FILEPATH_INFO'}) {
|
111 |
-
$dir = $ENV{'FILEPATH_INFO'};
|
112 |
-
} elsif($ENV{'REQUEST_URI'}) {
|
113 |
-
$dir = $ENV{'REQUEST_URI'};
|
114 |
-
}
|
115 |
-
}
|
116 |
-
return($dir);
|
117 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/perl/sample02.cgi
DELETED
@@ -1,182 +0,0 @@
|
|
1 |
-
#!/usr/bin/env perl
|
2 |
-
|
3 |
-
#####
|
4 |
-
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
# Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
#
|
7 |
-
# == BEGIN LICENSE ==
|
8 |
-
#
|
9 |
-
# Licensed under the terms of any of the following licenses at your
|
10 |
-
# choice:
|
11 |
-
#
|
12 |
-
# - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
# http://www.gnu.org/licenses/gpl.html
|
14 |
-
#
|
15 |
-
# - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
# http://www.gnu.org/licenses/lgpl.html
|
17 |
-
#
|
18 |
-
# - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
# http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
#
|
21 |
-
# == END LICENSE ==
|
22 |
-
#
|
23 |
-
# Sample page.
|
24 |
-
#####
|
25 |
-
|
26 |
-
## START: Hack for Windows (Not important to understand the editor code... Perl specific).
|
27 |
-
if(Windows_check()) {
|
28 |
-
chdir(GetScriptPath($0));
|
29 |
-
}
|
30 |
-
|
31 |
-
sub Windows_check
|
32 |
-
{
|
33 |
-
# IIS,PWS(NT/95)
|
34 |
-
$www_server_os = $^O;
|
35 |
-
# Win98 & NT(SP4)
|
36 |
-
if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; }
|
37 |
-
# AnHTTPd/Omni/IIS
|
38 |
-
if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; }
|
39 |
-
# Win Apache
|
40 |
-
if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; }
|
41 |
-
if($www_server_os=~ /win/i) { return(1); }
|
42 |
-
return(0);
|
43 |
-
}
|
44 |
-
|
45 |
-
sub GetScriptPath {
|
46 |
-
local($path) = @_;
|
47 |
-
if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; }
|
48 |
-
$path;
|
49 |
-
}
|
50 |
-
## END: Hack for IIS
|
51 |
-
|
52 |
-
require '../../fckeditor.pl';
|
53 |
-
|
54 |
-
# When $ENV{'PATH_INFO'} cannot be used by perl.
|
55 |
-
# $DefRootPath = "/XXXXX/_samples/perl/sample02.cgi"; Please write in script.
|
56 |
-
|
57 |
-
my $DefServerPath = "";
|
58 |
-
my $ServerPath;
|
59 |
-
|
60 |
-
$ServerPath = &GetServerPath();
|
61 |
-
|
62 |
-
if($ENV{'REQUEST_METHOD'} eq "POST") {
|
63 |
-
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
64 |
-
} else {
|
65 |
-
$buffer = $ENV{'QUERY_STRING'};
|
66 |
-
}
|
67 |
-
@pairs = split(/&/,$buffer);
|
68 |
-
foreach $pair (@pairs) {
|
69 |
-
($name,$value) = split(/=/,$pair);
|
70 |
-
$value =~ tr/+/ /;
|
71 |
-
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
72 |
-
$value =~ s/\t//g;
|
73 |
-
$value =~ s/\r\n/\n/g;
|
74 |
-
$FORM{$name} .= "\0" if(defined($FORM{$name}));
|
75 |
-
$FORM{$name} .= $value;
|
76 |
-
}
|
77 |
-
|
78 |
-
print "Content-type: text/html\n\n";
|
79 |
-
print <<"_HTML_TAG_";
|
80 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
81 |
-
<html>
|
82 |
-
<head>
|
83 |
-
<title>FCKeditor - Sample</title>
|
84 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
85 |
-
<meta name="robots" content="noindex, nofollow">
|
86 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
87 |
-
<script type="text/javascript">
|
88 |
-
|
89 |
-
function FCKeditor_OnComplete( editorInstance )
|
90 |
-
{
|
91 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
92 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
93 |
-
{
|
94 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
95 |
-
}
|
96 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
97 |
-
}
|
98 |
-
|
99 |
-
function AddComboOption(combo, optionText, optionValue)
|
100 |
-
{
|
101 |
-
var oOption = document.createElement("OPTION") ;
|
102 |
-
|
103 |
-
combo.options.add(oOption) ;
|
104 |
-
|
105 |
-
oOption.innerHTML = optionText ;
|
106 |
-
oOption.value = optionValue ;
|
107 |
-
|
108 |
-
return oOption ;
|
109 |
-
}
|
110 |
-
|
111 |
-
function ChangeLanguage( languageCode )
|
112 |
-
{
|
113 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
114 |
-
}
|
115 |
-
</script>
|
116 |
-
</head>
|
117 |
-
<body>
|
118 |
-
<h1>FCKeditor - Perl - Sample 2</h1>
|
119 |
-
This sample shows the editor in all its available languages.
|
120 |
-
<hr>
|
121 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
122 |
-
<tr>
|
123 |
-
<td>
|
124 |
-
Select a language:
|
125 |
-
</td>
|
126 |
-
<td>
|
127 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
128 |
-
</select>
|
129 |
-
</td>
|
130 |
-
</tr>
|
131 |
-
</table>
|
132 |
-
<br>
|
133 |
-
<form action="sampleposteddata.cgi" method="post" target="_blank">
|
134 |
-
_HTML_TAG_
|
135 |
-
|
136 |
-
#// Automatically calculates the editor base path based on the _samples directory.
|
137 |
-
#// This is usefull only for these samples. A real application should use something like this:
|
138 |
-
#// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
139 |
-
$sBasePath = $ServerPath;
|
140 |
-
$sBasePath = substr( $sBasePath, 0, index($sBasePath,"_samples"));
|
141 |
-
|
142 |
-
&FCKeditor('FCKeditor1');
|
143 |
-
$BasePath = $sBasePath;
|
144 |
-
|
145 |
-
if($FORM{'Lang'} ne "") {
|
146 |
-
$Config{'AutoDetectLanguage'} = "false";
|
147 |
-
$Config{'DefaultLanguage'} = $FORM{'Lang'};
|
148 |
-
} else {
|
149 |
-
$Config{'AutoDetectLanguage'} = "true";
|
150 |
-
$Config{'DefaultLanguage'} = 'en' ;
|
151 |
-
}
|
152 |
-
$Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
153 |
-
&Create();
|
154 |
-
|
155 |
-
print <<"_HTML_TAG_";
|
156 |
-
<br>
|
157 |
-
<input type="submit" value="Submit">
|
158 |
-
</form>
|
159 |
-
</body>
|
160 |
-
</html>
|
161 |
-
_HTML_TAG_
|
162 |
-
|
163 |
-
################
|
164 |
-
#Please use this function, rewriting it depending on a server's environment.
|
165 |
-
################
|
166 |
-
sub GetServerPath
|
167 |
-
{
|
168 |
-
my $dir;
|
169 |
-
|
170 |
-
if($DefServerPath) {
|
171 |
-
$dir = $DefServerPath;
|
172 |
-
} else {
|
173 |
-
if($ENV{'PATH_INFO'}) {
|
174 |
-
$dir = $ENV{'PATH_INFO'};
|
175 |
-
} elsif($ENV{'FILEPATH_INFO'}) {
|
176 |
-
$dir = $ENV{'FILEPATH_INFO'};
|
177 |
-
} elsif($ENV{'REQUEST_URI'}) {
|
178 |
-
$dir = $ENV{'REQUEST_URI'};
|
179 |
-
}
|
180 |
-
}
|
181 |
-
return($dir);
|
182 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/perl/sample03.cgi
DELETED
@@ -1,167 +0,0 @@
|
|
1 |
-
#!/usr/bin/env perl
|
2 |
-
|
3 |
-
#####
|
4 |
-
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
# Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
#
|
7 |
-
# == BEGIN LICENSE ==
|
8 |
-
#
|
9 |
-
# Licensed under the terms of any of the following licenses at your
|
10 |
-
# choice:
|
11 |
-
#
|
12 |
-
# - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
# http://www.gnu.org/licenses/gpl.html
|
14 |
-
#
|
15 |
-
# - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
# http://www.gnu.org/licenses/lgpl.html
|
17 |
-
#
|
18 |
-
# - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
# http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
#
|
21 |
-
# == END LICENSE ==
|
22 |
-
#
|
23 |
-
# Sample page.
|
24 |
-
#####
|
25 |
-
|
26 |
-
## START: Hack for Windows (Not important to understand the editor code... Perl specific).
|
27 |
-
if(Windows_check()) {
|
28 |
-
chdir(GetScriptPath($0));
|
29 |
-
}
|
30 |
-
|
31 |
-
sub Windows_check
|
32 |
-
{
|
33 |
-
# IIS,PWS(NT/95)
|
34 |
-
$www_server_os = $^O;
|
35 |
-
# Win98 & NT(SP4)
|
36 |
-
if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; }
|
37 |
-
# AnHTTPd/Omni/IIS
|
38 |
-
if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; }
|
39 |
-
# Win Apache
|
40 |
-
if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; }
|
41 |
-
if($www_server_os=~ /win/i) { return(1); }
|
42 |
-
return(0);
|
43 |
-
}
|
44 |
-
|
45 |
-
sub GetScriptPath {
|
46 |
-
local($path) = @_;
|
47 |
-
if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; }
|
48 |
-
$path;
|
49 |
-
}
|
50 |
-
## END: Hack for IIS
|
51 |
-
|
52 |
-
require '../../fckeditor.pl';
|
53 |
-
|
54 |
-
# When $ENV{'PATH_INFO'} cannot be used by perl.
|
55 |
-
# $DefRootPath = "/XXXXX/_samples/perl/sample03.cgi"; Please write in script.
|
56 |
-
|
57 |
-
my $DefServerPath = "";
|
58 |
-
my $ServerPath;
|
59 |
-
|
60 |
-
$ServerPath = &GetServerPath();
|
61 |
-
|
62 |
-
if($ENV{'REQUEST_METHOD'} eq "POST") {
|
63 |
-
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
64 |
-
} else {
|
65 |
-
$buffer = $ENV{'QUERY_STRING'};
|
66 |
-
}
|
67 |
-
@pairs = split(/&/,$buffer);
|
68 |
-
foreach $pair (@pairs) {
|
69 |
-
($name,$value) = split(/=/,$pair);
|
70 |
-
$value =~ tr/+/ /;
|
71 |
-
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
72 |
-
$value =~ s/\t//g;
|
73 |
-
$value =~ s/\r\n/\n/g;
|
74 |
-
$FORM{$name} .= "\0" if(defined($FORM{$name}));
|
75 |
-
$FORM{$name} .= $value;
|
76 |
-
}
|
77 |
-
|
78 |
-
print "Content-type: text/html\n\n";
|
79 |
-
print <<"_HTML_TAG_";
|
80 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
81 |
-
<html>
|
82 |
-
<head>
|
83 |
-
<title>FCKeditor - Sample</title>
|
84 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
85 |
-
<meta name="robots" content="noindex, nofollow">
|
86 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
87 |
-
<script type="text/javascript">
|
88 |
-
|
89 |
-
function FCKeditor_OnComplete( editorInstance )
|
90 |
-
{
|
91 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
92 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
93 |
-
oCombo.style.visibility = '' ;
|
94 |
-
}
|
95 |
-
|
96 |
-
function ChangeToolbar( toolbarName )
|
97 |
-
{
|
98 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
99 |
-
}
|
100 |
-
|
101 |
-
</script>
|
102 |
-
</head>
|
103 |
-
<body>
|
104 |
-
<h1>FCKeditor - Perl - Sample 3</h1>
|
105 |
-
This sample shows how to change the editor toolbar.
|
106 |
-
<hr>
|
107 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
108 |
-
<tr>
|
109 |
-
<td>
|
110 |
-
Select the toolbar to load:
|
111 |
-
</td>
|
112 |
-
<td>
|
113 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
114 |
-
<option value="Default" selected>Default</option>
|
115 |
-
<option value="Basic">Basic</option>
|
116 |
-
</select>
|
117 |
-
</td>
|
118 |
-
</tr>
|
119 |
-
</table>
|
120 |
-
<br>
|
121 |
-
<form action="sampleposteddata.cgi" method="post" target="_blank">
|
122 |
-
_HTML_TAG_
|
123 |
-
|
124 |
-
#// Automatically calculates the editor base path based on the _samples directory.
|
125 |
-
#// This is usefull only for these samples. A real application should use something like this:
|
126 |
-
#// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
127 |
-
|
128 |
-
$sBasePath = $ServerPath;
|
129 |
-
$sBasePath = substr($sBasePath, 0, index( $sBasePath, "_samples" ));
|
130 |
-
|
131 |
-
&FCKeditor('FCKeditor1') ;
|
132 |
-
$BasePath = $sBasePath ;
|
133 |
-
|
134 |
-
if($FORM{'Toolbar'} ne "") {
|
135 |
-
$ToolbarSet = &specialchar_cnv( $FORM{'Toolbar'} );
|
136 |
-
}
|
137 |
-
$Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
138 |
-
&Create();
|
139 |
-
|
140 |
-
print <<"_HTML_TAG_";
|
141 |
-
<br>
|
142 |
-
<input type="submit" value="Submit">
|
143 |
-
</form>
|
144 |
-
</body>
|
145 |
-
</html>
|
146 |
-
_HTML_TAG_
|
147 |
-
|
148 |
-
################
|
149 |
-
#Please use this function, rewriting it depending on a server's environment.
|
150 |
-
################
|
151 |
-
sub GetServerPath
|
152 |
-
{
|
153 |
-
my $dir;
|
154 |
-
|
155 |
-
if($DefServerPath) {
|
156 |
-
$dir = $DefServerPath;
|
157 |
-
} else {
|
158 |
-
if($ENV{'PATH_INFO'}) {
|
159 |
-
$dir = $ENV{'PATH_INFO'};
|
160 |
-
} elsif($ENV{'FILEPATH_INFO'}) {
|
161 |
-
$dir = $ENV{'FILEPATH_INFO'};
|
162 |
-
} elsif($ENV{'REQUEST_URI'}) {
|
163 |
-
$dir = $ENV{'REQUEST_URI'};
|
164 |
-
}
|
165 |
-
}
|
166 |
-
return($dir);
|
167 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/perl/sample04.cgi
DELETED
@@ -1,174 +0,0 @@
|
|
1 |
-
#!/usr/bin/env perl
|
2 |
-
|
3 |
-
#####
|
4 |
-
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
# Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
#
|
7 |
-
# == BEGIN LICENSE ==
|
8 |
-
#
|
9 |
-
# Licensed under the terms of any of the following licenses at your
|
10 |
-
# choice:
|
11 |
-
#
|
12 |
-
# - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
# http://www.gnu.org/licenses/gpl.html
|
14 |
-
#
|
15 |
-
# - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
# http://www.gnu.org/licenses/lgpl.html
|
17 |
-
#
|
18 |
-
# - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
# http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
#
|
21 |
-
# == END LICENSE ==
|
22 |
-
#
|
23 |
-
# Sample page.
|
24 |
-
#####
|
25 |
-
|
26 |
-
## START: Hack for Windows (Not important to understand the editor code... Perl specific).
|
27 |
-
if(Windows_check()) {
|
28 |
-
chdir(GetScriptPath($0));
|
29 |
-
}
|
30 |
-
|
31 |
-
sub Windows_check
|
32 |
-
{
|
33 |
-
# IIS,PWS(NT/95)
|
34 |
-
$www_server_os = $^O;
|
35 |
-
# Win98 & NT(SP4)
|
36 |
-
if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; }
|
37 |
-
# AnHTTPd/Omni/IIS
|
38 |
-
if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; }
|
39 |
-
# Win Apache
|
40 |
-
if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; }
|
41 |
-
if($www_server_os=~ /win/i) { return(1); }
|
42 |
-
return(0);
|
43 |
-
}
|
44 |
-
|
45 |
-
sub GetScriptPath {
|
46 |
-
local($path) = @_;
|
47 |
-
if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; }
|
48 |
-
$path;
|
49 |
-
}
|
50 |
-
## END: Hack for IIS
|
51 |
-
|
52 |
-
require '../../fckeditor.pl';
|
53 |
-
|
54 |
-
# When $ENV{'PATH_INFO'} cannot be used by perl.
|
55 |
-
# $DefRootPath = "/XXXXX/_samples/perl/sample04.cgi"; Please write in script.
|
56 |
-
|
57 |
-
my $DefServerPath = "";
|
58 |
-
my $ServerPath;
|
59 |
-
|
60 |
-
$ServerPath = &GetServerPath();
|
61 |
-
|
62 |
-
if($ENV{'REQUEST_METHOD'} eq "POST") {
|
63 |
-
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
64 |
-
} else {
|
65 |
-
$buffer = $ENV{'QUERY_STRING'};
|
66 |
-
}
|
67 |
-
@pairs = split(/&/,$buffer);
|
68 |
-
foreach $pair (@pairs) {
|
69 |
-
($name,$value) = split(/=/,$pair);
|
70 |
-
$value =~ tr/+/ /;
|
71 |
-
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
72 |
-
$value =~ s/\t//g;
|
73 |
-
$value =~ s/\r\n/\n/g;
|
74 |
-
$FORM{$name} .= "\0" if(defined($FORM{$name}));
|
75 |
-
$FORM{$name} .= $value;
|
76 |
-
}
|
77 |
-
|
78 |
-
#!!Caution javascript \ Quart
|
79 |
-
|
80 |
-
print "Content-type: text/html\n\n";
|
81 |
-
print <<"_HTML_TAG_";
|
82 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
83 |
-
<html>
|
84 |
-
<head>
|
85 |
-
<title>FCKeditor - Sample</title>
|
86 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
87 |
-
<meta name="robots" content="noindex, nofollow">
|
88 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
89 |
-
<script type="text/javascript">
|
90 |
-
|
91 |
-
function FCKeditor_OnComplete( editorInstance )
|
92 |
-
{
|
93 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
94 |
-
|
95 |
-
// Get the active skin.
|
96 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
97 |
-
sSkin = sSkin.match(/[^\\/]+(?=\\/\$)/g) ;
|
98 |
-
|
99 |
-
oCombo.value = sSkin ;
|
100 |
-
oCombo.style.visibility = '' ;
|
101 |
-
}
|
102 |
-
|
103 |
-
function ChangeSkin( skinName )
|
104 |
-
{
|
105 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
106 |
-
}
|
107 |
-
|
108 |
-
</script>
|
109 |
-
</head>
|
110 |
-
<body>
|
111 |
-
<h1>FCKeditor - Perl - Sample 4</h1>
|
112 |
-
This sample shows how to change the editor skin.
|
113 |
-
<hr>
|
114 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
115 |
-
<tr>
|
116 |
-
<td>
|
117 |
-
Select the skin to load:
|
118 |
-
</td>
|
119 |
-
<td>
|
120 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
121 |
-
<option value="default" selected>Default</option>
|
122 |
-
<option value="office2003">Office 2003</option>
|
123 |
-
<option value="silver">Silver</option>
|
124 |
-
</select>
|
125 |
-
</td>
|
126 |
-
</tr>
|
127 |
-
</table>
|
128 |
-
<br>
|
129 |
-
<form action="sampleposteddata.cgi" method="post" target="_blank">
|
130 |
-
_HTML_TAG_
|
131 |
-
|
132 |
-
#// Automatically calculates the editor base path based on the _samples directory.
|
133 |
-
#// This is usefull only for these samples. A real application should use something like this:
|
134 |
-
#// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
135 |
-
$sBasePath = $ServerPath;
|
136 |
-
$sBasePath = substr( $sBasePath, 0, index( $sBasePath, "_samples" ) ) ;
|
137 |
-
|
138 |
-
&FCKeditor('FCKeditor1');
|
139 |
-
$BasePath = $sBasePath;
|
140 |
-
|
141 |
-
if($FORM{'Skin'} ne "") {
|
142 |
-
$Config{'SkinPath'} = $sBasePath . 'editor/skins/' . &specialchar_cnv( $FORM{'Skin'} ) . '/' ;
|
143 |
-
}
|
144 |
-
$Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
145 |
-
&Create() ;
|
146 |
-
|
147 |
-
print <<"_HTML_TAG_";
|
148 |
-
<br>
|
149 |
-
<input type="submit" value="Submit">
|
150 |
-
</form>
|
151 |
-
</body>
|
152 |
-
</html>
|
153 |
-
_HTML_TAG_
|
154 |
-
|
155 |
-
################
|
156 |
-
#Please use this function, rewriting it depending on a server's environment.
|
157 |
-
################
|
158 |
-
sub GetServerPath
|
159 |
-
{
|
160 |
-
my $dir;
|
161 |
-
|
162 |
-
if($DefServerPath) {
|
163 |
-
$dir = $DefServerPath;
|
164 |
-
} else {
|
165 |
-
if($ENV{'PATH_INFO'}) {
|
166 |
-
$dir = $ENV{'PATH_INFO'};
|
167 |
-
} elsif($ENV{'FILEPATH_INFO'}) {
|
168 |
-
$dir = $ENV{'FILEPATH_INFO'};
|
169 |
-
} elsif($ENV{'REQUEST_URI'}) {
|
170 |
-
$dir = $ENV{'REQUEST_URI'};
|
171 |
-
}
|
172 |
-
}
|
173 |
-
return($dir);
|
174 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/perl/sampleposteddata.cgi
DELETED
@@ -1,107 +0,0 @@
|
|
1 |
-
#!/usr/bin/env perl
|
2 |
-
|
3 |
-
#####
|
4 |
-
# FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
# Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
#
|
7 |
-
# == BEGIN LICENSE ==
|
8 |
-
#
|
9 |
-
# Licensed under the terms of any of the following licenses at your
|
10 |
-
# choice:
|
11 |
-
#
|
12 |
-
# - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
# http://www.gnu.org/licenses/gpl.html
|
14 |
-
#
|
15 |
-
# - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
# http://www.gnu.org/licenses/lgpl.html
|
17 |
-
#
|
18 |
-
# - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
# http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
#
|
21 |
-
# == END LICENSE ==
|
22 |
-
#
|
23 |
-
# This page lists the data posted by a form.
|
24 |
-
#####
|
25 |
-
|
26 |
-
## START: Hack for Windows (Not important to understand the editor code... Perl specific).
|
27 |
-
if(Windows_check()) {
|
28 |
-
chdir(GetScriptPath($0));
|
29 |
-
}
|
30 |
-
|
31 |
-
sub Windows_check
|
32 |
-
{
|
33 |
-
# IIS,PWS(NT/95)
|
34 |
-
$www_server_os = $^O;
|
35 |
-
# Win98 & NT(SP4)
|
36 |
-
if($www_server_os eq "") { $www_server_os= $ENV{'OS'}; }
|
37 |
-
# AnHTTPd/Omni/IIS
|
38 |
-
if($ENV{'SERVER_SOFTWARE'} =~ /AnWeb|Omni|IIS\//i) { $www_server_os= 'win'; }
|
39 |
-
# Win Apache
|
40 |
-
if($ENV{'WINDIR'} ne "") { $www_server_os= 'win'; }
|
41 |
-
if($www_server_os=~ /win/i) { return(1); }
|
42 |
-
return(0);
|
43 |
-
}
|
44 |
-
|
45 |
-
sub GetScriptPath {
|
46 |
-
local($path) = @_;
|
47 |
-
if($path =~ /[\:\/\\]/) { $path =~ s/(.*?)[\/\\][^\/\\]+$/$1/; } else { $path = '.'; }
|
48 |
-
$path;
|
49 |
-
}
|
50 |
-
## END: Hack for IIS
|
51 |
-
|
52 |
-
require '../../fckeditor.pl';
|
53 |
-
|
54 |
-
if($ENV{'REQUEST_METHOD'} eq "POST") {
|
55 |
-
read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
|
56 |
-
} else {
|
57 |
-
$buffer = $ENV{'QUERY_STRING'};
|
58 |
-
}
|
59 |
-
@pairs = split(/&/,$buffer);
|
60 |
-
foreach $pair (@pairs) {
|
61 |
-
($name,$value) = split(/=/,$pair);
|
62 |
-
$value =~ tr/+/ /;
|
63 |
-
$value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
|
64 |
-
$value =~ s/\t//g;
|
65 |
-
$value =~ s/\r\n/\n/g;
|
66 |
-
$FORM{$name} .= "\0" if(defined($FORM{$name}));
|
67 |
-
$FORM{$name} .= $value;
|
68 |
-
}
|
69 |
-
|
70 |
-
print "Content-type: text/html\n\n";
|
71 |
-
print <<"_HTML_TAG_";
|
72 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
73 |
-
<html>
|
74 |
-
<head>
|
75 |
-
<title>FCKeditor - Samples - Posted Data</title>
|
76 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
77 |
-
<meta name="robots" content="noindex, nofollow">
|
78 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" >
|
79 |
-
</head>
|
80 |
-
<body>
|
81 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
82 |
-
This page lists all data posted by the form.
|
83 |
-
<hr>
|
84 |
-
<table border="1" cellspacing="0" id="outputSample">
|
85 |
-
<colgroup><col width="80"><col></colgroup>
|
86 |
-
<thead>
|
87 |
-
<tr>
|
88 |
-
<th>Field Name</th>
|
89 |
-
<th>Value</th>
|
90 |
-
</tr>
|
91 |
-
</thead>
|
92 |
-
_HTML_TAG_
|
93 |
-
|
94 |
-
foreach $key (keys %FORM) {
|
95 |
-
$postedValue = &specialchar_cnv($FORM{$key});
|
96 |
-
print <<"_HTML_TAG_";
|
97 |
-
<tr>
|
98 |
-
<th>$key</th>
|
99 |
-
<td><pre>$postedValue</pre></td>
|
100 |
-
</tr>
|
101 |
-
_HTML_TAG_
|
102 |
-
}
|
103 |
-
print <<"_HTML_TAG_";
|
104 |
-
</table>
|
105 |
-
</body>
|
106 |
-
</html>
|
107 |
-
_HTML_TAG_
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/php/sample01.php
CHANGED
@@ -1,57 +1,57 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
|
25 |
-
include("../../fckeditor.php") ;
|
26 |
-
?>
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
</head>
|
35 |
-
<body>
|
36 |
-
<h1>FCKeditor - PHP - Sample 1</h1>
|
37 |
-
This sample displays a normal HTML form with an FCKeditor with full features
|
38 |
-
enabled.
|
39 |
-
<hr>
|
40 |
-
<form action="sampleposteddata.php" method="post" target="_blank">
|
41 |
-
<?php
|
42 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
43 |
-
// This is usefull only for these samples. A real application should use something like this:
|
44 |
-
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
45 |
-
$sBasePath = $_SERVER['PHP_SELF'] ;
|
46 |
-
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
47 |
-
|
48 |
-
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
49 |
-
$oFCKeditor->BasePath = $sBasePath ;
|
50 |
-
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
51 |
-
$oFCKeditor->Create() ;
|
52 |
-
?>
|
53 |
-
<br>
|
54 |
-
<input type="submit" value="Submit">
|
55 |
-
</form>
|
56 |
-
</body>
|
57 |
-
</html>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* Sample page.
|
23 |
+
*/
|
24 |
+
|
25 |
+
include("../../fckeditor.php") ;
|
26 |
+
?>
|
27 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
+
<html>
|
29 |
+
<head>
|
30 |
+
<title>FCKeditor - Sample</title>
|
31 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
+
<meta name="robots" content="noindex, nofollow">
|
33 |
+
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
+
</head>
|
35 |
+
<body>
|
36 |
+
<h1>FCKeditor - PHP - Sample 1</h1>
|
37 |
+
This sample displays a normal HTML form with an FCKeditor with full features
|
38 |
+
enabled.
|
39 |
+
<hr>
|
40 |
+
<form action="sampleposteddata.php" method="post" target="_blank">
|
41 |
+
<?php
|
42 |
+
// Automatically calculates the editor base path based on the _samples directory.
|
43 |
+
// This is usefull only for these samples. A real application should use something like this:
|
44 |
+
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
45 |
+
$sBasePath = $_SERVER['PHP_SELF'] ;
|
46 |
+
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
47 |
+
|
48 |
+
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
49 |
+
$oFCKeditor->BasePath = $sBasePath ;
|
50 |
+
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
51 |
+
$oFCKeditor->Create() ;
|
52 |
+
?>
|
53 |
+
<br>
|
54 |
+
<input type="submit" value="Submit">
|
55 |
+
</form>
|
56 |
+
</body>
|
57 |
+
</html>
|
fckeditor/_samples/php/sample02.php
CHANGED
@@ -1,108 +1,108 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
|
25 |
-
include("../../fckeditor.php") ;
|
26 |
-
?>
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
<script type="text/javascript">
|
35 |
-
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
39 |
-
for ( code in editorInstance.Language.AvailableLanguages )
|
40 |
-
{
|
41 |
-
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
42 |
-
}
|
43 |
-
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
44 |
-
}
|
45 |
-
|
46 |
-
function AddComboOption(combo, optionText, optionValue)
|
47 |
-
{
|
48 |
-
var oOption = document.createElement("OPTION") ;
|
49 |
-
|
50 |
-
combo.options.add(oOption) ;
|
51 |
-
|
52 |
-
oOption.innerHTML = optionText ;
|
53 |
-
oOption.value = optionValue ;
|
54 |
-
|
55 |
-
return oOption ;
|
56 |
-
}
|
57 |
-
|
58 |
-
function ChangeLanguage( languageCode )
|
59 |
-
{
|
60 |
-
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
61 |
-
}
|
62 |
-
</script>
|
63 |
-
</head>
|
64 |
-
<body>
|
65 |
-
<h1>FCKeditor - PHP - Sample 2</h1>
|
66 |
-
This sample shows the editor in all its available languages.
|
67 |
-
<hr>
|
68 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
69 |
-
<tr>
|
70 |
-
<td>
|
71 |
-
Select a language:
|
72 |
-
</td>
|
73 |
-
<td>
|
74 |
-
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
75 |
-
</select>
|
76 |
-
</td>
|
77 |
-
</tr>
|
78 |
-
</table>
|
79 |
-
<br>
|
80 |
-
<form action="sampleposteddata.php" method="post" target="_blank">
|
81 |
-
<?php
|
82 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
83 |
-
// This is usefull only for these samples. A real application should use something like this:
|
84 |
-
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
85 |
-
$sBasePath = $_SERVER['PHP_SELF'] ;
|
86 |
-
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
87 |
-
|
88 |
-
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
89 |
-
$oFCKeditor->BasePath = $sBasePath ;
|
90 |
-
|
91 |
-
if ( isset($_GET['Lang']) )
|
92 |
-
{
|
93 |
-
$oFCKeditor->Config['AutoDetectLanguage'] = false ;
|
94 |
-
$oFCKeditor->Config['DefaultLanguage'] = $_GET['Lang'] ;
|
95 |
-
}
|
96 |
-
else
|
97 |
-
{
|
98 |
-
$oFCKeditor->Config['AutoDetectLanguage'] = true ;
|
99 |
-
$oFCKeditor->Config['DefaultLanguage'] = 'en' ;
|
100 |
-
}
|
101 |
-
|
102 |
-
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
103 |
-
$oFCKeditor->Create() ;
|
104 |
-
?> <br>
|
105 |
-
<input type="submit" value="Submit">
|
106 |
-
</form>
|
107 |
-
</body>
|
108 |
-
</html>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* Sample page.
|
23 |
+
*/
|
24 |
+
|
25 |
+
include("../../fckeditor.php") ;
|
26 |
+
?>
|
27 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
+
<html>
|
29 |
+
<head>
|
30 |
+
<title>FCKeditor - Sample</title>
|
31 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
+
<meta name="robots" content="noindex, nofollow">
|
33 |
+
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
+
<script type="text/javascript">
|
35 |
+
|
36 |
+
function FCKeditor_OnComplete( editorInstance )
|
37 |
+
{
|
38 |
+
var oCombo = document.getElementById( 'cmbLanguages' ) ;
|
39 |
+
for ( code in editorInstance.Language.AvailableLanguages )
|
40 |
+
{
|
41 |
+
AddComboOption( oCombo, editorInstance.Language.AvailableLanguages[code] + ' (' + code + ')', code ) ;
|
42 |
+
}
|
43 |
+
oCombo.value = editorInstance.Language.ActiveLanguage.Code ;
|
44 |
+
}
|
45 |
+
|
46 |
+
function AddComboOption(combo, optionText, optionValue)
|
47 |
+
{
|
48 |
+
var oOption = document.createElement("OPTION") ;
|
49 |
+
|
50 |
+
combo.options.add(oOption) ;
|
51 |
+
|
52 |
+
oOption.innerHTML = optionText ;
|
53 |
+
oOption.value = optionValue ;
|
54 |
+
|
55 |
+
return oOption ;
|
56 |
+
}
|
57 |
+
|
58 |
+
function ChangeLanguage( languageCode )
|
59 |
+
{
|
60 |
+
window.location.href = window.location.pathname + "?Lang=" + languageCode ;
|
61 |
+
}
|
62 |
+
</script>
|
63 |
+
</head>
|
64 |
+
<body>
|
65 |
+
<h1>FCKeditor - PHP - Sample 2</h1>
|
66 |
+
This sample shows the editor in all its available languages.
|
67 |
+
<hr>
|
68 |
+
<table cellpadding="0" cellspacing="0" border="0">
|
69 |
+
<tr>
|
70 |
+
<td>
|
71 |
+
Select a language:
|
72 |
+
</td>
|
73 |
+
<td>
|
74 |
+
<select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
|
75 |
+
</select>
|
76 |
+
</td>
|
77 |
+
</tr>
|
78 |
+
</table>
|
79 |
+
<br>
|
80 |
+
<form action="sampleposteddata.php" method="post" target="_blank">
|
81 |
+
<?php
|
82 |
+
// Automatically calculates the editor base path based on the _samples directory.
|
83 |
+
// This is usefull only for these samples. A real application should use something like this:
|
84 |
+
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
85 |
+
$sBasePath = $_SERVER['PHP_SELF'] ;
|
86 |
+
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
87 |
+
|
88 |
+
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
89 |
+
$oFCKeditor->BasePath = $sBasePath ;
|
90 |
+
|
91 |
+
if ( isset($_GET['Lang']) )
|
92 |
+
{
|
93 |
+
$oFCKeditor->Config['AutoDetectLanguage'] = false ;
|
94 |
+
$oFCKeditor->Config['DefaultLanguage'] = $_GET['Lang'] ;
|
95 |
+
}
|
96 |
+
else
|
97 |
+
{
|
98 |
+
$oFCKeditor->Config['AutoDetectLanguage'] = true ;
|
99 |
+
$oFCKeditor->Config['DefaultLanguage'] = 'en' ;
|
100 |
+
}
|
101 |
+
|
102 |
+
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
103 |
+
$oFCKeditor->Create() ;
|
104 |
+
?> <br>
|
105 |
+
<input type="submit" value="Submit">
|
106 |
+
</form>
|
107 |
+
</body>
|
108 |
+
</html>
|
fckeditor/_samples/php/sample03.php
CHANGED
@@ -1,89 +1,89 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
|
25 |
-
include("../../fckeditor.php") ;
|
26 |
-
?>
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
<script type="text/javascript">
|
35 |
-
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
39 |
-
oCombo.value = editorInstance.ToolbarSet.Name ;
|
40 |
-
oCombo.style.visibility = '' ;
|
41 |
-
}
|
42 |
-
|
43 |
-
function ChangeToolbar( toolbarName )
|
44 |
-
{
|
45 |
-
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
46 |
-
}
|
47 |
-
|
48 |
-
</script>
|
49 |
-
</head>
|
50 |
-
<body>
|
51 |
-
<h1>FCKeditor - PHP - Sample 3</h1>
|
52 |
-
This sample shows how to change the editor toolbar.
|
53 |
-
<hr>
|
54 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
55 |
-
<tr>
|
56 |
-
<td>
|
57 |
-
Select the toolbar to load:
|
58 |
-
</td>
|
59 |
-
<td>
|
60 |
-
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
61 |
-
<option value="Default" selected>Default</option>
|
62 |
-
<option value="Basic">Basic</option>
|
63 |
-
</select>
|
64 |
-
</td>
|
65 |
-
</tr>
|
66 |
-
</table>
|
67 |
-
<br>
|
68 |
-
<form action="sampleposteddata.php" method="post" target="_blank">
|
69 |
-
<?php
|
70 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
71 |
-
// This is usefull only for these samples. A real application should use something like this:
|
72 |
-
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
73 |
-
$sBasePath = $_SERVER['PHP_SELF'] ;
|
74 |
-
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
75 |
-
|
76 |
-
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
77 |
-
$oFCKeditor->BasePath = $sBasePath ;
|
78 |
-
|
79 |
-
if ( isset($_GET['Toolbar']) )
|
80 |
-
$oFCKeditor->ToolbarSet = htmlspecialchars($_GET['Toolbar']);
|
81 |
-
|
82 |
-
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
83 |
-
$oFCKeditor->Create() ;
|
84 |
-
?>
|
85 |
-
<br>
|
86 |
-
<input type="submit" value="Submit">
|
87 |
-
</form>
|
88 |
-
</body>
|
89 |
-
</html>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* Sample page.
|
23 |
+
*/
|
24 |
+
|
25 |
+
include("../../fckeditor.php") ;
|
26 |
+
?>
|
27 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
+
<html>
|
29 |
+
<head>
|
30 |
+
<title>FCKeditor - Sample</title>
|
31 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
+
<meta name="robots" content="noindex, nofollow">
|
33 |
+
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
+
<script type="text/javascript">
|
35 |
+
|
36 |
+
function FCKeditor_OnComplete( editorInstance )
|
37 |
+
{
|
38 |
+
var oCombo = document.getElementById( 'cmbToolbars' ) ;
|
39 |
+
oCombo.value = editorInstance.ToolbarSet.Name ;
|
40 |
+
oCombo.style.visibility = '' ;
|
41 |
+
}
|
42 |
+
|
43 |
+
function ChangeToolbar( toolbarName )
|
44 |
+
{
|
45 |
+
window.location.href = window.location.pathname + "?Toolbar=" + toolbarName ;
|
46 |
+
}
|
47 |
+
|
48 |
+
</script>
|
49 |
+
</head>
|
50 |
+
<body>
|
51 |
+
<h1>FCKeditor - PHP - Sample 3</h1>
|
52 |
+
This sample shows how to change the editor toolbar.
|
53 |
+
<hr>
|
54 |
+
<table cellpadding="0" cellspacing="0" border="0">
|
55 |
+
<tr>
|
56 |
+
<td>
|
57 |
+
Select the toolbar to load:
|
58 |
+
</td>
|
59 |
+
<td>
|
60 |
+
<select id="cmbToolbars" onchange="ChangeToolbar(this.value);" style="VISIBILITY: hidden">
|
61 |
+
<option value="Default" selected>Default</option>
|
62 |
+
<option value="Basic">Basic</option>
|
63 |
+
</select>
|
64 |
+
</td>
|
65 |
+
</tr>
|
66 |
+
</table>
|
67 |
+
<br>
|
68 |
+
<form action="sampleposteddata.php" method="post" target="_blank">
|
69 |
+
<?php
|
70 |
+
// Automatically calculates the editor base path based on the _samples directory.
|
71 |
+
// This is usefull only for these samples. A real application should use something like this:
|
72 |
+
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
73 |
+
$sBasePath = $_SERVER['PHP_SELF'] ;
|
74 |
+
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
75 |
+
|
76 |
+
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
77 |
+
$oFCKeditor->BasePath = $sBasePath ;
|
78 |
+
|
79 |
+
if ( isset($_GET['Toolbar']) )
|
80 |
+
$oFCKeditor->ToolbarSet = htmlspecialchars($_GET['Toolbar']);
|
81 |
+
|
82 |
+
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
83 |
+
$oFCKeditor->Create() ;
|
84 |
+
?>
|
85 |
+
<br>
|
86 |
+
<input type="submit" value="Submit">
|
87 |
+
</form>
|
88 |
+
</body>
|
89 |
+
</html>
|
fckeditor/_samples/php/sample04.php
CHANGED
@@ -1,95 +1,95 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* Sample page.
|
23 |
-
*/
|
24 |
-
|
25 |
-
include("../../fckeditor.php") ;
|
26 |
-
?>
|
27 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
-
<html>
|
29 |
-
<head>
|
30 |
-
<title>FCKeditor - Sample</title>
|
31 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
-
<meta name="robots" content="noindex, nofollow">
|
33 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
-
<script type="text/javascript">
|
35 |
-
|
36 |
-
function FCKeditor_OnComplete( editorInstance )
|
37 |
-
{
|
38 |
-
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
39 |
-
|
40 |
-
// Get the active skin.
|
41 |
-
var sSkin = editorInstance.Config['SkinPath'] ;
|
42 |
-
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
43 |
-
|
44 |
-
oCombo.value = sSkin ;
|
45 |
-
oCombo.style.visibility = '' ;
|
46 |
-
}
|
47 |
-
|
48 |
-
function ChangeSkin( skinName )
|
49 |
-
{
|
50 |
-
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
51 |
-
}
|
52 |
-
|
53 |
-
</script>
|
54 |
-
</head>
|
55 |
-
<body>
|
56 |
-
<h1>FCKeditor - PHP - Sample 4</h1>
|
57 |
-
This sample shows how to change the editor skin.
|
58 |
-
<hr>
|
59 |
-
<table cellpadding="0" cellspacing="0" border="0">
|
60 |
-
<tr>
|
61 |
-
<td>
|
62 |
-
Select the skin to load:
|
63 |
-
</td>
|
64 |
-
<td>
|
65 |
-
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
66 |
-
<option value="default" selected>Default</option>
|
67 |
-
<option value="office2003">Office 2003</option>
|
68 |
-
<option value="silver">Silver</option>
|
69 |
-
</select>
|
70 |
-
</td>
|
71 |
-
</tr>
|
72 |
-
</table>
|
73 |
-
<br>
|
74 |
-
<form action="sampleposteddata.php" method="post" target="_blank">
|
75 |
-
<?php
|
76 |
-
// Automatically calculates the editor base path based on the _samples directory.
|
77 |
-
// This is usefull only for these samples. A real application should use something like this:
|
78 |
-
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
79 |
-
$sBasePath = $_SERVER['PHP_SELF'] ;
|
80 |
-
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
81 |
-
|
82 |
-
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
83 |
-
$oFCKeditor->BasePath = $sBasePath ;
|
84 |
-
|
85 |
-
if ( isset($_GET['Skin']) )
|
86 |
-
$oFCKeditor->Config['SkinPath'] = $sBasePath . 'editor/skins/' . htmlspecialchars($_GET['Skin']) . '/' ;
|
87 |
-
|
88 |
-
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
89 |
-
$oFCKeditor->Create() ;
|
90 |
-
?>
|
91 |
-
<br>
|
92 |
-
<input type="submit" value="Submit">
|
93 |
-
</form>
|
94 |
-
</body>
|
95 |
-
</html>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* Sample page.
|
23 |
+
*/
|
24 |
+
|
25 |
+
include("../../fckeditor.php") ;
|
26 |
+
?>
|
27 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
28 |
+
<html>
|
29 |
+
<head>
|
30 |
+
<title>FCKeditor - Sample</title>
|
31 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
32 |
+
<meta name="robots" content="noindex, nofollow">
|
33 |
+
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
34 |
+
<script type="text/javascript">
|
35 |
+
|
36 |
+
function FCKeditor_OnComplete( editorInstance )
|
37 |
+
{
|
38 |
+
var oCombo = document.getElementById( 'cmbSkins' ) ;
|
39 |
+
|
40 |
+
// Get the active skin.
|
41 |
+
var sSkin = editorInstance.Config['SkinPath'] ;
|
42 |
+
sSkin = sSkin.match( /[^\/]+(?=\/$)/g ) ;
|
43 |
+
|
44 |
+
oCombo.value = sSkin ;
|
45 |
+
oCombo.style.visibility = '' ;
|
46 |
+
}
|
47 |
+
|
48 |
+
function ChangeSkin( skinName )
|
49 |
+
{
|
50 |
+
window.location.href = window.location.pathname + "?Skin=" + skinName ;
|
51 |
+
}
|
52 |
+
|
53 |
+
</script>
|
54 |
+
</head>
|
55 |
+
<body>
|
56 |
+
<h1>FCKeditor - PHP - Sample 4</h1>
|
57 |
+
This sample shows how to change the editor skin.
|
58 |
+
<hr>
|
59 |
+
<table cellpadding="0" cellspacing="0" border="0">
|
60 |
+
<tr>
|
61 |
+
<td>
|
62 |
+
Select the skin to load:
|
63 |
+
</td>
|
64 |
+
<td>
|
65 |
+
<select id="cmbSkins" onchange="ChangeSkin(this.value);" style="VISIBILITY: hidden">
|
66 |
+
<option value="default" selected>Default</option>
|
67 |
+
<option value="office2003">Office 2003</option>
|
68 |
+
<option value="silver">Silver</option>
|
69 |
+
</select>
|
70 |
+
</td>
|
71 |
+
</tr>
|
72 |
+
</table>
|
73 |
+
<br>
|
74 |
+
<form action="sampleposteddata.php" method="post" target="_blank">
|
75 |
+
<?php
|
76 |
+
// Automatically calculates the editor base path based on the _samples directory.
|
77 |
+
// This is usefull only for these samples. A real application should use something like this:
|
78 |
+
// $oFCKeditor->BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
|
79 |
+
$sBasePath = $_SERVER['PHP_SELF'] ;
|
80 |
+
$sBasePath = substr( $sBasePath, 0, strpos( $sBasePath, "_samples" ) ) ;
|
81 |
+
|
82 |
+
$oFCKeditor = new FCKeditor('FCKeditor1') ;
|
83 |
+
$oFCKeditor->BasePath = $sBasePath ;
|
84 |
+
|
85 |
+
if ( isset($_GET['Skin']) )
|
86 |
+
$oFCKeditor->Config['SkinPath'] = $sBasePath . 'editor/skins/' . htmlspecialchars($_GET['Skin']) . '/' ;
|
87 |
+
|
88 |
+
$oFCKeditor->Value = '<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>' ;
|
89 |
+
$oFCKeditor->Create() ;
|
90 |
+
?>
|
91 |
+
<br>
|
92 |
+
<input type="submit" value="Submit">
|
93 |
+
</form>
|
94 |
+
</body>
|
95 |
+
</html>
|
fckeditor/_samples/php/sampleposteddata.php
CHANGED
@@ -1,69 +1,69 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
*
|
22 |
-
* This page lists the data posted by a form.
|
23 |
-
*/
|
24 |
-
?>
|
25 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
-
<html>
|
27 |
-
<head>
|
28 |
-
<title>FCKeditor - Samples - Posted Data</title>
|
29 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
-
<meta name="robots" content="noindex, nofollow">
|
31 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" >
|
32 |
-
</head>
|
33 |
-
<body>
|
34 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
35 |
-
This page lists all data posted by the form.
|
36 |
-
<hr>
|
37 |
-
<table border="1" cellspacing="0" id="outputSample">
|
38 |
-
<colgroup><col width="80"><col></colgroup>
|
39 |
-
<thead>
|
40 |
-
<tr>
|
41 |
-
<th>Field Name</th>
|
42 |
-
<th>Value</th>
|
43 |
-
</tr>
|
44 |
-
</thead>
|
45 |
-
<?php
|
46 |
-
|
47 |
-
if ( isset( $_POST ) )
|
48 |
-
$postArray = &$_POST ; // 4.1.0 or later, use $_POST
|
49 |
-
else
|
50 |
-
$postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
|
51 |
-
|
52 |
-
foreach ( $postArray as $sForm => $value )
|
53 |
-
{
|
54 |
-
if ( get_magic_quotes_gpc() )
|
55 |
-
$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
|
56 |
-
else
|
57 |
-
$postedValue = htmlspecialchars( $value ) ;
|
58 |
-
|
59 |
-
?>
|
60 |
-
<tr>
|
61 |
-
<th><?php echo $sForm?></th>
|
62 |
-
<td><pre><?php echo $postedValue?></pre></td>
|
63 |
-
</tr>
|
64 |
-
<?php
|
65 |
-
}
|
66 |
-
?>
|
67 |
-
</table>
|
68 |
-
</body>
|
69 |
-
</html>
|
1 |
+
<?php
|
2 |
+
/*
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
*
|
22 |
+
* This page lists the data posted by a form.
|
23 |
+
*/
|
24 |
+
?>
|
25 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
26 |
+
<html>
|
27 |
+
<head>
|
28 |
+
<title>FCKeditor - Samples - Posted Data</title>
|
29 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
30 |
+
<meta name="robots" content="noindex, nofollow">
|
31 |
+
<link href="../sample.css" rel="stylesheet" type="text/css" >
|
32 |
+
</head>
|
33 |
+
<body>
|
34 |
+
<h1>FCKeditor - Samples - Posted Data</h1>
|
35 |
+
This page lists all data posted by the form.
|
36 |
+
<hr>
|
37 |
+
<table border="1" cellspacing="0" id="outputSample">
|
38 |
+
<colgroup><col width="80"><col></colgroup>
|
39 |
+
<thead>
|
40 |
+
<tr>
|
41 |
+
<th>Field Name</th>
|
42 |
+
<th>Value</th>
|
43 |
+
</tr>
|
44 |
+
</thead>
|
45 |
+
<?php
|
46 |
+
|
47 |
+
if ( isset( $_POST ) )
|
48 |
+
$postArray = &$_POST ; // 4.1.0 or later, use $_POST
|
49 |
+
else
|
50 |
+
$postArray = &$HTTP_POST_VARS ; // prior to 4.1.0, use HTTP_POST_VARS
|
51 |
+
|
52 |
+
foreach ( $postArray as $sForm => $value )
|
53 |
+
{
|
54 |
+
if ( get_magic_quotes_gpc() )
|
55 |
+
$postedValue = htmlspecialchars( stripslashes( $value ) ) ;
|
56 |
+
else
|
57 |
+
$postedValue = htmlspecialchars( $value ) ;
|
58 |
+
|
59 |
+
?>
|
60 |
+
<tr>
|
61 |
+
<th><?php echo $sForm?></th>
|
62 |
+
<td><pre><?php echo $postedValue?></pre></td>
|
63 |
+
</tr>
|
64 |
+
<?php
|
65 |
+
}
|
66 |
+
?>
|
67 |
+
</table>
|
68 |
+
</body>
|
69 |
+
</html>
|
fckeditor/_samples/py/sample01.py
DELETED
@@ -1,80 +0,0 @@
|
|
1 |
-
#!/usr/bin/env python
|
2 |
-
|
3 |
-
"""
|
4 |
-
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
|
7 |
-
== BEGIN LICENSE ==
|
8 |
-
|
9 |
-
Licensed under the terms of any of the following licenses at your
|
10 |
-
choice:
|
11 |
-
|
12 |
-
- GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
http://www.gnu.org/licenses/gpl.html
|
14 |
-
|
15 |
-
- GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
http://www.gnu.org/licenses/lgpl.html
|
17 |
-
|
18 |
-
- Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
|
21 |
-
== END LICENSE ==
|
22 |
-
|
23 |
-
Sample page.
|
24 |
-
"""
|
25 |
-
|
26 |
-
import cgi
|
27 |
-
import os
|
28 |
-
|
29 |
-
# Ensure that the fckeditor.py is included in your classpath
|
30 |
-
import fckeditor
|
31 |
-
|
32 |
-
# Tell the browser to render html
|
33 |
-
print "Content-Type: text/html"
|
34 |
-
print ""
|
35 |
-
|
36 |
-
# Document header
|
37 |
-
print """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
38 |
-
<html>
|
39 |
-
<head>
|
40 |
-
<title>FCKeditor - Sample</title>
|
41 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
42 |
-
<meta name="robots" content="noindex, nofollow">
|
43 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
44 |
-
</head>
|
45 |
-
<body>
|
46 |
-
<h1>FCKeditor - Python - Sample 1</h1>
|
47 |
-
This sample displays a normal HTML form with an FCKeditor with full features
|
48 |
-
enabled.
|
49 |
-
<hr>
|
50 |
-
<form action="sampleposteddata.py" method="post" target="_blank">
|
51 |
-
"""
|
52 |
-
|
53 |
-
# This is the real work
|
54 |
-
try:
|
55 |
-
sBasePath = os.environ.get("SCRIPT_NAME")
|
56 |
-
sBasePath = sBasePath[0:sBasePath.find("_samples")]
|
57 |
-
|
58 |
-
oFCKeditor = fckeditor.FCKeditor('FCKeditor1')
|
59 |
-
oFCKeditor.BasePath = sBasePath
|
60 |
-
oFCKeditor.Value = """<p>This is some <strong>sample text</strong>. You are using <a href="http://www.fckeditor.net/">FCKeditor</a>.</p>"""
|
61 |
-
print oFCKeditor.Create()
|
62 |
-
except Exception, e:
|
63 |
-
print e
|
64 |
-
print """
|
65 |
-
<br>
|
66 |
-
<input type="submit" value="Submit">
|
67 |
-
</form>
|
68 |
-
"""
|
69 |
-
|
70 |
-
# For testing your environments
|
71 |
-
print "<hr>"
|
72 |
-
for key in os.environ.keys():
|
73 |
-
print "%s: %s<br>" % (key, os.environ.get(key, ""))
|
74 |
-
print "<hr>"
|
75 |
-
|
76 |
-
# Document footer
|
77 |
-
print """
|
78 |
-
</body>
|
79 |
-
</html>
|
80 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/py/sampleposteddata.py
DELETED
@@ -1,88 +0,0 @@
|
|
1 |
-
#!/usr/bin/env python
|
2 |
-
|
3 |
-
"""
|
4 |
-
FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
|
7 |
-
== BEGIN LICENSE ==
|
8 |
-
|
9 |
-
Licensed under the terms of any of the following licenses at your
|
10 |
-
choice:
|
11 |
-
|
12 |
-
- GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
http://www.gnu.org/licenses/gpl.html
|
14 |
-
|
15 |
-
- GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
http://www.gnu.org/licenses/lgpl.html
|
17 |
-
|
18 |
-
- Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
|
21 |
-
== END LICENSE ==
|
22 |
-
|
23 |
-
This page lists the data posted by a form.
|
24 |
-
"""
|
25 |
-
|
26 |
-
import cgi
|
27 |
-
import os
|
28 |
-
|
29 |
-
# Tell the browser to render html
|
30 |
-
print "Content-Type: text/html"
|
31 |
-
print ""
|
32 |
-
|
33 |
-
try:
|
34 |
-
# Create a cgi object
|
35 |
-
form = cgi.FieldStorage()
|
36 |
-
except Exception, e:
|
37 |
-
print e
|
38 |
-
|
39 |
-
# Document header
|
40 |
-
print """<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
41 |
-
<html>
|
42 |
-
<head>
|
43 |
-
<title>FCKeditor - Samples - Posted Data</title>
|
44 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
45 |
-
<meta name="robots" content="noindex, nofollow">
|
46 |
-
<link href="../sample.css" rel="stylesheet" type="text/css" />
|
47 |
-
</head>
|
48 |
-
<body>
|
49 |
-
"""
|
50 |
-
|
51 |
-
# This is the real work
|
52 |
-
print """
|
53 |
-
<h1>FCKeditor - Samples - Posted Data</h1>
|
54 |
-
This page lists all data posted by the form.
|
55 |
-
<hr>
|
56 |
-
<table border="1" cellspacing="0" id="outputSample">
|
57 |
-
<colgroup><col width="80"><col></colgroup>
|
58 |
-
<thead>
|
59 |
-
<tr>
|
60 |
-
<th>Field Name</th>
|
61 |
-
<th>Value</th>
|
62 |
-
</tr>
|
63 |
-
</thead>
|
64 |
-
"""
|
65 |
-
for key in form.keys():
|
66 |
-
try:
|
67 |
-
value = form[key].value
|
68 |
-
print """
|
69 |
-
<tr>
|
70 |
-
<th>%s</th>
|
71 |
-
<td><pre>%s</pre></td>
|
72 |
-
</tr>
|
73 |
-
""" % (key, value)
|
74 |
-
except Exception, e:
|
75 |
-
print e
|
76 |
-
print "</table>"
|
77 |
-
|
78 |
-
# For testing your environments
|
79 |
-
print "<hr>"
|
80 |
-
for key in os.environ.keys():
|
81 |
-
print "%s: %s<br>" % (key, os.environ.get(key, ""))
|
82 |
-
print "<hr>"
|
83 |
-
|
84 |
-
# Document footer
|
85 |
-
print """
|
86 |
-
</body>
|
87 |
-
</html>
|
88 |
-
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fckeditor/_samples/sample.css
CHANGED
@@ -1,74 +1,74 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Styles used in the samples pages.
|
22 |
-
*/
|
23 |
-
|
24 |
-
body, td, th, input, select, textarea
|
25 |
-
{
|
26 |
-
font-size: 12px;
|
27 |
-
font-family: Arial, Verdana, Sans-Serif;
|
28 |
-
}
|
29 |
-
|
30 |
-
h1
|
31 |
-
{
|
32 |
-
font-weight: bold;
|
33 |
-
font-size: 180%;
|
34 |
-
margin-bottom: 10px;
|
35 |
-
}
|
36 |
-
|
37 |
-
form
|
38 |
-
{
|
39 |
-
margin: 0;
|
40 |
-
padding: 0;
|
41 |
-
}
|
42 |
-
|
43 |
-
#outputSample
|
44 |
-
{
|
45 |
-
table-layout: fixed;
|
46 |
-
width: 100%;
|
47 |
-
}
|
48 |
-
|
49 |
-
pre
|
50 |
-
{
|
51 |
-
margin: 0;
|
52 |
-
padding: 0;
|
53 |
-
|
54 |
-
white-space: pre; /* CSS2 */
|
55 |
-
white-space: -moz-pre-wrap; /* Mozilla*/
|
56 |
-
white-space: -o-pre-wrap; /* Opera 7 */
|
57 |
-
white-space: pre-wrap; /* CSS 2.1 */
|
58 |
-
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
|
59 |
-
word-wrap: break-word; /* IE */
|
60 |
-
}
|
61 |
-
|
62 |
-
#outputSample thead th
|
63 |
-
{
|
64 |
-
color: #dddddd;
|
65 |
-
background-color: #999999;
|
66 |
-
padding: 4px;
|
67 |
-
white-space: nowrap;
|
68 |
-
}
|
69 |
-
|
70 |
-
#outputSample tbody th
|
71 |
-
{
|
72 |
-
vertical-align: top;
|
73 |
-
text-align: left;
|
74 |
-
}
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* Styles used in the samples pages.
|
22 |
+
*/
|
23 |
+
|
24 |
+
body, td, th, input, select, textarea
|
25 |
+
{
|
26 |
+
font-size: 12px;
|
27 |
+
font-family: Arial, Verdana, Sans-Serif;
|
28 |
+
}
|
29 |
+
|
30 |
+
h1
|
31 |
+
{
|
32 |
+
font-weight: bold;
|
33 |
+
font-size: 180%;
|
34 |
+
margin-bottom: 10px;
|
35 |
+
}
|
36 |
+
|
37 |
+
form
|
38 |
+
{
|
39 |
+
margin: 0;
|
40 |
+
padding: 0;
|
41 |
+
}
|
42 |
+
|
43 |
+
#outputSample
|
44 |
+
{
|
45 |
+
table-layout: fixed;
|
46 |
+
width: 100%;
|
47 |
+
}
|
48 |
+
|
49 |
+
pre
|
50 |
+
{
|
51 |
+
margin: 0;
|
52 |
+
padding: 0;
|
53 |
+
|
54 |
+
white-space: pre; /* CSS2 */
|
55 |
+
white-space: -moz-pre-wrap; /* Mozilla*/
|
56 |
+
white-space: -o-pre-wrap; /* Opera 7 */
|
57 |
+
white-space: pre-wrap; /* CSS 2.1 */
|
58 |
+
white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
|
59 |
+
word-wrap: break-word; /* IE */
|
60 |
+
}
|
61 |
+
|
62 |
+
#outputSample thead th
|
63 |
+
{
|
64 |
+
color: #dddddd;
|
65 |
+
background-color: #999999;
|
66 |
+
padding: 4px;
|
67 |
+
white-space: nowrap;
|
68 |
+
}
|
69 |
+
|
70 |
+
#outputSample tbody th
|
71 |
+
{
|
72 |
+
vertical-align: top;
|
73 |
+
text-align: left;
|
74 |
+
}
|
fckeditor/_samples/sampleslist.html
CHANGED
@@ -1,120 +1,120 @@
|
|
1 |
-
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
2 |
-
"http://www.w3.org/TR/html4/strict.dtd">
|
3 |
-
<!--
|
4 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
-
*
|
7 |
-
* == BEGIN LICENSE ==
|
8 |
-
*
|
9 |
-
* Licensed under the terms of any of the following licenses at your
|
10 |
-
* choice:
|
11 |
-
*
|
12 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
-
* http://www.gnu.org/licenses/gpl.html
|
14 |
-
*
|
15 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
-
* http://www.gnu.org/licenses/lgpl.html
|
17 |
-
*
|
18 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
-
*
|
21 |
-
* == END LICENSE ==
|
22 |
-
*
|
23 |
-
* Page used to select the sample to view.
|
24 |
-
-->
|
25 |
-
<html>
|
26 |
-
<head>
|
27 |
-
<title>FCKeditor - Sample Selection</title>
|
28 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
-
<meta name="robots" content="noindex, nofollow">
|
30 |
-
<link href="sample.css" rel="stylesheet" type="text/css">
|
31 |
-
<script type="text/javascript">
|
32 |
-
|
33 |
-
if ( window.top == window )
|
34 |
-
document.location = 'default.html' ;
|
35 |
-
|
36 |
-
function OpenSample( sample )
|
37 |
-
{
|
38 |
-
if ( sample.length > 0 )
|
39 |
-
window.open( sample, 'Sample' ) ;
|
40 |
-
}
|
41 |
-
|
42 |
-
</script>
|
43 |
-
</head>
|
44 |
-
<body style="margin:1em;">
|
45 |
-
<table border="0" cellpadding="0" cellspacing="0" style="height: 100%">
|
46 |
-
<tr>
|
47 |
-
<td>
|
48 |
-
Please select the sample you want to view:
|
49 |
-
<br />
|
50 |
-
<select onchange="OpenSample(this.value);">
|
51 |
-
<optgroup label="JavaScript">
|
52 |
-
<option value="html/sample01.html" selected="selected">JavaScript : Sample 01 : Editor
|
53 |
-
with all features</option>
|
54 |
-
<option value="html/sample02.html">JavaScript : Sample 02 : Replacement of a TEXTAREA</option>
|
55 |
-
<option value="html/sample03.html">JavaScript : Sample 03 : Multi-language support</option>
|
56 |
-
<option value="html/sample04.html">JavaScript : Sample 04 : Toolbar selection</option>
|
57 |
-
<option value="html/sample05.html">JavaScript : Sample 05 : Skins support</option>
|
58 |
-
<option value="html/sample06.html">JavaScript : Sample 06 : Plugins support</option>
|
59 |
-
<option value="html/sample07.html">JavaScript : Sample 07 : Full Page editing</option>
|
60 |
-
<option value="html/sample08.html">JavaScript : Sample 08 : Editor API usage</option>
|
61 |
-
<option value="html/sample09.html">JavaScript : Sample 09 : Complex form (multiple editors)</option>
|
62 |
-
<option value="html/sample10.html">JavaScript : Sample 10 : Shared toolbar on same page</option>
|
63 |
-
<option value="html/sample11.html">JavaScript : Sample 11 : Shared toolbar from IFRAME</option>
|
64 |
-
<option value="html/sample12.html">JavaScript : Sample 12 : Enter key behavior</option>
|
65 |
-
<option value="html/sample13.html">JavaScript : Sample 13 : Dinamically switching with a Textarea</option>
|
66 |
-
<option value="html/sample14.html">JavaScript : Sample 14 : XHTML 1.1</option>
|
67 |
-
<option value="html/sample15.html">JavaScript : Sample 15 : Legacy HTML 4 tags</option>
|
68 |
-
<option value="html/sample16.html">JavaScript : Sample 16 : Flash content editor</option>
|
69 |
-
<option value=""></option>
|
70 |
-
</optgroup>
|
71 |
-
<optgroup label="Active Fox Pro">
|
72 |
-
<option value="afp/sample01.afp">AFP : Sample 01 : Editor with all features</option>
|
73 |
-
<option value="afp/sample02.afp">AFP : Sample 02 : Multi-language support</option>
|
74 |
-
<option value="afp/sample03.afp">AFP : Sample 03 : Toolbar selection</option>
|
75 |
-
<option value="afp/sample04.afp">AFP : Sample 04 : Skins support</option>
|
76 |
-
<option value=""></option>
|
77 |
-
</optgroup>
|
78 |
-
<optgroup label="ASP">
|
79 |
-
<option value="asp/sample01.asp">ASP : Sample 01 : Editor with all features</option>
|
80 |
-
<option value="asp/sample02.asp">ASP : Sample 02 : Multi-language support</option>
|
81 |
-
<option value="asp/sample03.asp">ASP : Sample 03 : Toolbar selection</option>
|
82 |
-
<option value="asp/sample04.asp">ASP : Sample 04 : Skins support</option>
|
83 |
-
<option value=""></option>
|
84 |
-
</optgroup>
|
85 |
-
<optgroup label="ColdFusion">
|
86 |
-
<option value="cfm/sample01.cfm">ColdFusion : Sample 01 : Editor with all features</option>
|
87 |
-
<option value="cfm/sample02_mx.cfm">ColdFusion : Sample 02 : Advanced version for ColdFusion
|
88 |
-
MX</option>
|
89 |
-
<option value=""></option>
|
90 |
-
</optgroup>
|
91 |
-
<optgroup label="Lasso">
|
92 |
-
<option value="lasso/sample01.lasso">Lasso : Sample 01 : Editor with all features</option>
|
93 |
-
<option value="lasso/sample02.lasso">Lasso : Sample 02 : Multi-language support</option>
|
94 |
-
<option value="lasso/sample03.lasso">Lasso : Sample 03 : Toolbar selection</option>
|
95 |
-
<option value="lasso/sample04.lasso">Lasso : Sample 04 : Skins support</option>
|
96 |
-
<option value=""></option>
|
97 |
-
</optgroup>
|
98 |
-
<optgroup label="Perl">
|
99 |
-
<option value="perl/sample01.cgi">Perl : Sample 01 : Editor with all features</option>
|
100 |
-
<option value="perl/sample02.cgi">Perl : Sample 02 : Multi-language support</option>
|
101 |
-
<option value="perl/sample03.cgi">Perl : Sample 03 : Toolbar selection</option>
|
102 |
-
<option value="perl/sample04.cgi">Perl : Sample 04 : Skins support</option>
|
103 |
-
<option value=""></option>
|
104 |
-
</optgroup>
|
105 |
-
<optgroup label="PHP">
|
106 |
-
<option value="php/sample01.php">PHP : Sample 01 : Editor with all features</option>
|
107 |
-
<option value="php/sample02.php">PHP : Sample 02 : Multi-language support</option>
|
108 |
-
<option value="php/sample03.php">PHP : Sample 03 : Toolbar selection</option>
|
109 |
-
<option value="php/sample04.php">PHP : Sample 04 : Skins support</option>
|
110 |
-
<option value=""></option>
|
111 |
-
</optgroup>
|
112 |
-
<optgroup label="Python">
|
113 |
-
<option value="py/sample01.py">Python : Sample 01 : Editor with all features</option>
|
114 |
-
</optgroup>
|
115 |
-
</select>
|
116 |
-
</td>
|
117 |
-
</tr>
|
118 |
-
</table>
|
119 |
-
</body>
|
120 |
-
</html>
|
1 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
2 |
+
"http://www.w3.org/TR/html4/strict.dtd">
|
3 |
+
<!--
|
4 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
5 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
6 |
+
*
|
7 |
+
* == BEGIN LICENSE ==
|
8 |
+
*
|
9 |
+
* Licensed under the terms of any of the following licenses at your
|
10 |
+
* choice:
|
11 |
+
*
|
12 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
13 |
+
* http://www.gnu.org/licenses/gpl.html
|
14 |
+
*
|
15 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
16 |
+
* http://www.gnu.org/licenses/lgpl.html
|
17 |
+
*
|
18 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
19 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
20 |
+
*
|
21 |
+
* == END LICENSE ==
|
22 |
+
*
|
23 |
+
* Page used to select the sample to view.
|
24 |
+
-->
|
25 |
+
<html>
|
26 |
+
<head>
|
27 |
+
<title>FCKeditor - Sample Selection</title>
|
28 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
29 |
+
<meta name="robots" content="noindex, nofollow">
|
30 |
+
<link href="sample.css" rel="stylesheet" type="text/css">
|
31 |
+
<script type="text/javascript">
|
32 |
+
|
33 |
+
if ( window.top == window )
|
34 |
+
document.location = 'default.html' ;
|
35 |
+
|
36 |
+
function OpenSample( sample )
|
37 |
+
{
|
38 |
+
if ( sample.length > 0 )
|
39 |
+
window.open( sample, 'Sample' ) ;
|
40 |
+
}
|
41 |
+
|
42 |
+
</script>
|
43 |
+
</head>
|
44 |
+
<body style="margin:1em;">
|
45 |
+
<table border="0" cellpadding="0" cellspacing="0" style="height: 100%">
|
46 |
+
<tr>
|
47 |
+
<td>
|
48 |
+
Please select the sample you want to view:
|
49 |
+
<br />
|
50 |
+
<select onchange="OpenSample(this.value);">
|
51 |
+
<optgroup label="JavaScript">
|
52 |
+
<option value="html/sample01.html" selected="selected">JavaScript : Sample 01 : Editor
|
53 |
+
with all features</option>
|
54 |
+
<option value="html/sample02.html">JavaScript : Sample 02 : Replacement of a TEXTAREA</option>
|
55 |
+
<option value="html/sample03.html">JavaScript : Sample 03 : Multi-language support</option>
|
56 |
+
<option value="html/sample04.html">JavaScript : Sample 04 : Toolbar selection</option>
|
57 |
+
<option value="html/sample05.html">JavaScript : Sample 05 : Skins support</option>
|
58 |
+
<option value="html/sample06.html">JavaScript : Sample 06 : Plugins support</option>
|
59 |
+
<option value="html/sample07.html">JavaScript : Sample 07 : Full Page editing</option>
|
60 |
+
<option value="html/sample08.html">JavaScript : Sample 08 : Editor API usage</option>
|
61 |
+
<option value="html/sample09.html">JavaScript : Sample 09 : Complex form (multiple editors)</option>
|
62 |
+
<option value="html/sample10.html">JavaScript : Sample 10 : Shared toolbar on same page</option>
|
63 |
+
<option value="html/sample11.html">JavaScript : Sample 11 : Shared toolbar from IFRAME</option>
|
64 |
+
<option value="html/sample12.html">JavaScript : Sample 12 : Enter key behavior</option>
|
65 |
+
<option value="html/sample13.html">JavaScript : Sample 13 : Dinamically switching with a Textarea</option>
|
66 |
+
<option value="html/sample14.html">JavaScript : Sample 14 : XHTML 1.1</option>
|
67 |
+
<option value="html/sample15.html">JavaScript : Sample 15 : Legacy HTML 4 tags</option>
|
68 |
+
<option value="html/sample16.html">JavaScript : Sample 16 : Flash content editor</option>
|
69 |
+
<option value=""></option>
|
70 |
+
</optgroup>
|
71 |
+
<optgroup label="Active Fox Pro">
|
72 |
+
<option value="afp/sample01.afp">AFP : Sample 01 : Editor with all features</option>
|
73 |
+
<option value="afp/sample02.afp">AFP : Sample 02 : Multi-language support</option>
|
74 |
+
<option value="afp/sample03.afp">AFP : Sample 03 : Toolbar selection</option>
|
75 |
+
<option value="afp/sample04.afp">AFP : Sample 04 : Skins support</option>
|
76 |
+
<option value=""></option>
|
77 |
+
</optgroup>
|
78 |
+
<optgroup label="ASP">
|
79 |
+
<option value="asp/sample01.asp">ASP : Sample 01 : Editor with all features</option>
|
80 |
+
<option value="asp/sample02.asp">ASP : Sample 02 : Multi-language support</option>
|
81 |
+
<option value="asp/sample03.asp">ASP : Sample 03 : Toolbar selection</option>
|
82 |
+
<option value="asp/sample04.asp">ASP : Sample 04 : Skins support</option>
|
83 |
+
<option value=""></option>
|
84 |
+
</optgroup>
|
85 |
+
<optgroup label="ColdFusion">
|
86 |
+
<option value="cfm/sample01.cfm">ColdFusion : Sample 01 : Editor with all features</option>
|
87 |
+
<option value="cfm/sample02_mx.cfm">ColdFusion : Sample 02 : Advanced version for ColdFusion
|
88 |
+
MX</option>
|
89 |
+
<option value=""></option>
|
90 |
+
</optgroup>
|
91 |
+
<optgroup label="Lasso">
|
92 |
+
<option value="lasso/sample01.lasso">Lasso : Sample 01 : Editor with all features</option>
|
93 |
+
<option value="lasso/sample02.lasso">Lasso : Sample 02 : Multi-language support</option>
|
94 |
+
<option value="lasso/sample03.lasso">Lasso : Sample 03 : Toolbar selection</option>
|
95 |
+
<option value="lasso/sample04.lasso">Lasso : Sample 04 : Skins support</option>
|
96 |
+
<option value=""></option>
|
97 |
+
</optgroup>
|
98 |
+
<optgroup label="Perl">
|
99 |
+
<option value="perl/sample01.cgi">Perl : Sample 01 : Editor with all features</option>
|
100 |
+
<option value="perl/sample02.cgi">Perl : Sample 02 : Multi-language support</option>
|
101 |
+
<option value="perl/sample03.cgi">Perl : Sample 03 : Toolbar selection</option>
|
102 |
+
<option value="perl/sample04.cgi">Perl : Sample 04 : Skins support</option>
|
103 |
+
<option value=""></option>
|
104 |
+
</optgroup>
|
105 |
+
<optgroup label="PHP">
|
106 |
+
<option value="php/sample01.php">PHP : Sample 01 : Editor with all features</option>
|
107 |
+
<option value="php/sample02.php">PHP : Sample 02 : Multi-language support</option>
|
108 |
+
<option value="php/sample03.php">PHP : Sample 03 : Toolbar selection</option>
|
109 |
+
<option value="php/sample04.php">PHP : Sample 04 : Skins support</option>
|
110 |
+
<option value=""></option>
|
111 |
+
</optgroup>
|
112 |
+
<optgroup label="Python">
|
113 |
+
<option value="py/sample01.py">Python : Sample 01 : Editor with all features</option>
|
114 |
+
</optgroup>
|
115 |
+
</select>
|
116 |
+
</td>
|
117 |
+
</tr>
|
118 |
+
</table>
|
119 |
+
</body>
|
120 |
+
</html>
|
fckeditor/_upgrade.html
CHANGED
@@ -1,39 +1,39 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
-->
|
22 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
-
<head>
|
24 |
-
<title>FCKeditor - Upgrade</title>
|
25 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
-
<style type="text/css">
|
27 |
-
body { font-family: arial, verdana, sans-serif }
|
28 |
-
p { margin-left: 20px }
|
29 |
-
</style>
|
30 |
-
</head>
|
31 |
-
<body>
|
32 |
-
<h1>
|
33 |
-
FCKeditor Upgrade</h1>
|
34 |
-
<p>
|
35 |
-
Please check the following URL for notes regarding upgrade:<br />
|
36 |
-
<a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading">
|
37 |
-
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading</a></p>
|
38 |
-
</body>
|
39 |
-
</html>
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<!--
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
-->
|
22 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
+
<head>
|
24 |
+
<title>FCKeditor - Upgrade</title>
|
25 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
+
<style type="text/css">
|
27 |
+
body { font-family: arial, verdana, sans-serif }
|
28 |
+
p { margin-left: 20px }
|
29 |
+
</style>
|
30 |
+
</head>
|
31 |
+
<body>
|
32 |
+
<h1>
|
33 |
+
FCKeditor Upgrade</h1>
|
34 |
+
<p>
|
35 |
+
Please check the following URL for notes regarding upgrade:<br />
|
36 |
+
<a href="http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading">
|
37 |
+
http://docs.fckeditor.net/FCKeditor_2.x/Developers_Guide/Installation/Upgrading</a></p>
|
38 |
+
</body>
|
39 |
+
</html>
|
fckeditor/_whatsnew.html
CHANGED
@@ -1,170 +1,170 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
-->
|
22 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
-
<head>
|
24 |
-
<title>FCKeditor ChangeLog - What's New?</title>
|
25 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
-
<style type="text/css">
|
27 |
-
body { font-family: arial, verdana, sans-serif }
|
28 |
-
p { margin-left: 20px }
|
29 |
-
h1 { border-bottom: solid 1px gray; padding-bottom: 20px }
|
30 |
-
</style>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor ChangeLog - What's New?</h1>
|
35 |
-
<h3>
|
36 |
-
Version 2.6.4</h3>
|
37 |
-
<p>
|
38 |
-
Fixed Bugs:</p>
|
39 |
-
<ul>
|
40 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2777">#2777</a>] Merging
|
41 |
-
cells between table header and body is no longer possible.</li>
|
42 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2815">#2815</a>] Fixed
|
43 |
-
WSC issues at slow connection speed. Added SSL support.</li>
|
44 |
-
<li>Language file updates for the following languages:
|
45 |
-
<ul>
|
46 |
-
<li>Chinese (Traditional)</li>
|
47 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2846">#2846</a>] French</li>
|
48 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2801">#2801</a>] Hebrew</li>
|
49 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2824">#2824</a>] Russian</li>
|
50 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2811">#2811</a>] Turkish</li>
|
51 |
-
</ul>
|
52 |
-
</li>
|
53 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2757">#2757</a>] Fixed
|
54 |
-
a minor bug which causes selection positions to be improperly restored during undos
|
55 |
-
and redos.</li>
|
56 |
-
</ul>
|
57 |
-
<h3>
|
58 |
-
Version 2.6.4 Beta</h3>
|
59 |
-
<p>
|
60 |
-
New Features and Improvements:</p>
|
61 |
-
<ul>
|
62 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2685">#2685</a>] Integration
|
63 |
-
with "WebSpellChecker", a <strong>zero installation and free spell checker</strong>
|
64 |
-
provided by SpellChecker.net. This is now the default spell checker in the editor
|
65 |
-
(requires internet connection). All previous spell checking solutions are still
|
66 |
-
available.</li>
|
67 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2430">#2430</a>] In the
|
68 |
-
table dialog it's possible to create header cells in the first row (included in
|
69 |
-
a thead element) or the first column of the table. </li>
|
70 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/822">#822</a>] The table
|
71 |
-
cell dialog allows switching between normal data cells or header cells (TD vs. TH).
|
72 |
-
</li>
|
73 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2515">#2515</a>] New language
|
74 |
-
file for Icelandic.</li>
|
75 |
-
</ul>
|
76 |
-
<p>
|
77 |
-
Fixed Bugs:</p>
|
78 |
-
<ul>
|
79 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2381">#2381</a>] Protected
|
80 |
-
the editor from duplicate iframes</li>
|
81 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1752">#1752</a>] Fixed
|
82 |
-
the issue with tablecommands plugin and undefined tagName.</li>
|
83 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2333">#2333</a>] The &gt;
|
84 |
-
character inside text wasn't encoded in Opera and Safari.</li>
|
85 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2467">#2467</a>] Fixed
|
86 |
-
JavaScript error with the fit window command in source mode.</li>
|
87 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2472">#2472</a>] Splitting
|
88 |
-
a TH will create a two TH, not a TH and a TD.</li>
|
89 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1891">#1891</a>] Removed
|
90 |
-
unnecessary name attributes in dialogs. </li>
|
91 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/798">#798</a>, <a target="_blank"
|
92 |
-
href="http://dev.fckeditor.net/ticket/2495">#2495</a>] If an image was placed inside
|
93 |
-
a container with dimensions or floating it wasn't possible to edit its properties
|
94 |
-
from the toolbar or context menu.</li>
|
95 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1982">#1982</a>] Submenus
|
96 |
-
in IE7 now are shown properly.</li>
|
97 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using
|
98 |
-
the Paste dialogs in IE might insert the content at the start of the editor.</li>
|
99 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2349">#2496</a>] Fixed
|
100 |
-
RTL dialog layout in Internet Explorer.</li>
|
101 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2488">#2488</a>] Fixed
|
102 |
-
the issue where email links in IE would take the browser to a new page in addition
|
103 |
-
to calling up the email client.</li>
|
104 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2519">#2519</a>] Fixed
|
105 |
-
race condition at registering the FCKeditorAPI object in multiple editor scenarios.</li>
|
106 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2525">#2525</a>] Fixed
|
107 |
-
JavaScript error in Google Chrome when StartupShowBlocks is set to true.</li>
|
108 |
-
<li>Language file updates for the following languages:
|
109 |
-
<ul>
|
110 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2440">#2440</a>] Dutch</li>
|
111 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2451">#2451</a>] Basque</li>
|
112 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2451">#2650</a>] Danish</li>
|
113 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2535</a>] German
|
114 |
-
</li>
|
115 |
-
</ul>
|
116 |
-
</li>
|
117 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2531">#2531</a>] The ENTER
|
118 |
-
key will properly scroll to the cursor position when breaking long paragraphs.</li>
|
119 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2573">#2573</a>] The type
|
120 |
-
name in configurations for the ASP connector are now case sensitive.</li>
|
121 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2503">#2503</a>] DL, DT
|
122 |
-
and DD where missing the formatting in the generated HTML.</li>
|
123 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2516">#2516</a>] Replaced
|
124 |
-
the extension AddItem of Array with the standard "push" method.</li>
|
125 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2486">#2486</a>] Vertically
|
126 |
-
splitting cell with colspan > 1 breaks table layout.</li>
|
127 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2597">#2597</a>] Fixed
|
128 |
-
the issue where dropping contents from outside of the editor doesn't work in Safari.</li>
|
129 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2412">#2412</a>] Fixed
|
130 |
-
the issue where FCK.InsertHtml() is no longer removing selected contents after content
|
131 |
-
insertion in Firefox.</li>
|
132 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2407">#2407</a>] Fixed
|
133 |
-
the issue where the Div container command and the blockquote command would break
|
134 |
-
lists.</li>
|
135 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2469">#2469</a>] Fixed
|
136 |
-
a minor issue where FCK.SetData() may cause the editor to become unresponsive to
|
137 |
-
the first click after being defocused.</li>
|
138 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2611">#2611</a>] Fixed
|
139 |
-
an extra slash on quickupload of the asp connector.</li>
|
140 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2616">#2616</a>] Fixed
|
141 |
-
another situation where new elements were inserted at the beginning of the content
|
142 |
-
in IE.</li>
|
143 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2634">#2634</a>] Fixed
|
144 |
-
two obsolete references to Array::AddItem() instances still in the code.</li>
|
145 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2679">#2679</a>] Fixed
|
146 |
-
infinite loop problems with FCKDomRangeIterator class which causes some commands
|
147 |
-
to hang when applied to certain document structures.</li>
|
148 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2649">#2649</a>] Fixed
|
149 |
-
a JavaScript error in IE when user tries to search with the "Match whole word" option
|
150 |
-
enabled and the matched word is at exactly the end of document.</li>
|
151 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2603">#2603</a>] Changed
|
152 |
-
the <a href="http://docs.fckeditor.net/EMailProtection">EMailProtection</a> to "none"
|
153 |
-
for better compatibility.</li>
|
154 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2612">#2612</a>] The 'ForcePasteAsPlainText'
|
155 |
-
configuration option didn't work correctly in Safari and Chrome.</li>
|
156 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2696">#2696</a>] Fixed
|
157 |
-
non-working autogrow plugin.</li>
|
158 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2753">#2753</a>] Fixed
|
159 |
-
occasional exceptions in the dragersizetable plugin with IE.</li>
|
160 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2653">#2653</a>] and [<a
|
161 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/2733">#2733</a>] Enable undo
|
162 |
-
of changes to tables and table cells.</li>
|
163 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1865">#1865</a>] The context
|
164 |
-
menu is now working properly over the last row in a table with thead. Thanks to
|
165 |
-
Koen Willems.</li>
|
166 |
-
</ul>
|
167 |
-
<p>
|
168 |
-
<a href="_whatsnew_history.html">See previous versions history</a></p>
|
169 |
-
</body>
|
170 |
-
</html>
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<!--
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
-->
|
22 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
+
<head>
|
24 |
+
<title>FCKeditor ChangeLog - What's New?</title>
|
25 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
+
<style type="text/css">
|
27 |
+
body { font-family: arial, verdana, sans-serif }
|
28 |
+
p { margin-left: 20px }
|
29 |
+
h1 { border-bottom: solid 1px gray; padding-bottom: 20px }
|
30 |
+
</style>
|
31 |
+
</head>
|
32 |
+
<body>
|
33 |
+
<h1>
|
34 |
+
FCKeditor ChangeLog - What's New?</h1>
|
35 |
+
<h3>
|
36 |
+
Version 2.6.4</h3>
|
37 |
+
<p>
|
38 |
+
Fixed Bugs:</p>
|
39 |
+
<ul>
|
40 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2777">#2777</a>] Merging
|
41 |
+
cells between table header and body is no longer possible.</li>
|
42 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2815">#2815</a>] Fixed
|
43 |
+
WSC issues at slow connection speed. Added SSL support.</li>
|
44 |
+
<li>Language file updates for the following languages:
|
45 |
+
<ul>
|
46 |
+
<li>Chinese (Traditional)</li>
|
47 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2846">#2846</a>] French</li>
|
48 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2801">#2801</a>] Hebrew</li>
|
49 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2824">#2824</a>] Russian</li>
|
50 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2811">#2811</a>] Turkish</li>
|
51 |
+
</ul>
|
52 |
+
</li>
|
53 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2757">#2757</a>] Fixed
|
54 |
+
a minor bug which causes selection positions to be improperly restored during undos
|
55 |
+
and redos.</li>
|
56 |
+
</ul>
|
57 |
+
<h3>
|
58 |
+
Version 2.6.4 Beta</h3>
|
59 |
+
<p>
|
60 |
+
New Features and Improvements:</p>
|
61 |
+
<ul>
|
62 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2685">#2685</a>] Integration
|
63 |
+
with "WebSpellChecker", a <strong>zero installation and free spell checker</strong>
|
64 |
+
provided by SpellChecker.net. This is now the default spell checker in the editor
|
65 |
+
(requires internet connection). All previous spell checking solutions are still
|
66 |
+
available.</li>
|
67 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2430">#2430</a>] In the
|
68 |
+
table dialog it's possible to create header cells in the first row (included in
|
69 |
+
a thead element) or the first column of the table. </li>
|
70 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/822">#822</a>] The table
|
71 |
+
cell dialog allows switching between normal data cells or header cells (TD vs. TH).
|
72 |
+
</li>
|
73 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2515">#2515</a>] New language
|
74 |
+
file for Icelandic.</li>
|
75 |
+
</ul>
|
76 |
+
<p>
|
77 |
+
Fixed Bugs:</p>
|
78 |
+
<ul>
|
79 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2381">#2381</a>] Protected
|
80 |
+
the editor from duplicate iframes</li>
|
81 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1752">#1752</a>] Fixed
|
82 |
+
the issue with tablecommands plugin and undefined tagName.</li>
|
83 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2333">#2333</a>] The &gt;
|
84 |
+
character inside text wasn't encoded in Opera and Safari.</li>
|
85 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2467">#2467</a>] Fixed
|
86 |
+
JavaScript error with the fit window command in source mode.</li>
|
87 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2472">#2472</a>] Splitting
|
88 |
+
a TH will create a two TH, not a TH and a TD.</li>
|
89 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1891">#1891</a>] Removed
|
90 |
+
unnecessary name attributes in dialogs. </li>
|
91 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/798">#798</a>, <a target="_blank"
|
92 |
+
href="http://dev.fckeditor.net/ticket/2495">#2495</a>] If an image was placed inside
|
93 |
+
a container with dimensions or floating it wasn't possible to edit its properties
|
94 |
+
from the toolbar or context menu.</li>
|
95 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1982">#1982</a>] Submenus
|
96 |
+
in IE7 now are shown properly.</li>
|
97 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2496">#2496</a>] Using
|
98 |
+
the Paste dialogs in IE might insert the content at the start of the editor.</li>
|
99 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2349">#2496</a>] Fixed
|
100 |
+
RTL dialog layout in Internet Explorer.</li>
|
101 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2488">#2488</a>] Fixed
|
102 |
+
the issue where email links in IE would take the browser to a new page in addition
|
103 |
+
to calling up the email client.</li>
|
104 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2519">#2519</a>] Fixed
|
105 |
+
race condition at registering the FCKeditorAPI object in multiple editor scenarios.</li>
|
106 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2525">#2525</a>] Fixed
|
107 |
+
JavaScript error in Google Chrome when StartupShowBlocks is set to true.</li>
|
108 |
+
<li>Language file updates for the following languages:
|
109 |
+
<ul>
|
110 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2440">#2440</a>] Dutch</li>
|
111 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2451">#2451</a>] Basque</li>
|
112 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2451">#2650</a>] Danish</li>
|
113 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2535</a>] German
|
114 |
+
</li>
|
115 |
+
</ul>
|
116 |
+
</li>
|
117 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2531">#2531</a>] The ENTER
|
118 |
+
key will properly scroll to the cursor position when breaking long paragraphs.</li>
|
119 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2573">#2573</a>] The type
|
120 |
+
name in configurations for the ASP connector are now case sensitive.</li>
|
121 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2503">#2503</a>] DL, DT
|
122 |
+
and DD where missing the formatting in the generated HTML.</li>
|
123 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2516">#2516</a>] Replaced
|
124 |
+
the extension AddItem of Array with the standard "push" method.</li>
|
125 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2486">#2486</a>] Vertically
|
126 |
+
splitting cell with colspan > 1 breaks table layout.</li>
|
127 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2597">#2597</a>] Fixed
|
128 |
+
the issue where dropping contents from outside of the editor doesn't work in Safari.</li>
|
129 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2412">#2412</a>] Fixed
|
130 |
+
the issue where FCK.InsertHtml() is no longer removing selected contents after content
|
131 |
+
insertion in Firefox.</li>
|
132 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2407">#2407</a>] Fixed
|
133 |
+
the issue where the Div container command and the blockquote command would break
|
134 |
+
lists.</li>
|
135 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2469">#2469</a>] Fixed
|
136 |
+
a minor issue where FCK.SetData() may cause the editor to become unresponsive to
|
137 |
+
the first click after being defocused.</li>
|
138 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2611">#2611</a>] Fixed
|
139 |
+
an extra slash on quickupload of the asp connector.</li>
|
140 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2616">#2616</a>] Fixed
|
141 |
+
another situation where new elements were inserted at the beginning of the content
|
142 |
+
in IE.</li>
|
143 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2634">#2634</a>] Fixed
|
144 |
+
two obsolete references to Array::AddItem() instances still in the code.</li>
|
145 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2679">#2679</a>] Fixed
|
146 |
+
infinite loop problems with FCKDomRangeIterator class which causes some commands
|
147 |
+
to hang when applied to certain document structures.</li>
|
148 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2649">#2649</a>] Fixed
|
149 |
+
a JavaScript error in IE when user tries to search with the "Match whole word" option
|
150 |
+
enabled and the matched word is at exactly the end of document.</li>
|
151 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2603">#2603</a>] Changed
|
152 |
+
the <a href="http://docs.fckeditor.net/EMailProtection">EMailProtection</a> to "none"
|
153 |
+
for better compatibility.</li>
|
154 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2612">#2612</a>] The 'ForcePasteAsPlainText'
|
155 |
+
configuration option didn't work correctly in Safari and Chrome.</li>
|
156 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2696">#2696</a>] Fixed
|
157 |
+
non-working autogrow plugin.</li>
|
158 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2753">#2753</a>] Fixed
|
159 |
+
occasional exceptions in the dragersizetable plugin with IE.</li>
|
160 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2653">#2653</a>] and [<a
|
161 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/2733">#2733</a>] Enable undo
|
162 |
+
of changes to tables and table cells.</li>
|
163 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1865">#1865</a>] The context
|
164 |
+
menu is now working properly over the last row in a table with thead. Thanks to
|
165 |
+
Koen Willems.</li>
|
166 |
+
</ul>
|
167 |
+
<p>
|
168 |
+
<a href="_whatsnew_history.html">See previous versions history</a></p>
|
169 |
+
</body>
|
170 |
+
</html>
|
fckeditor/_whatsnew_history.html
CHANGED
@@ -1,3916 +1,3916 @@
|
|
1 |
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
-
<!--
|
3 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
-
*
|
6 |
-
* == BEGIN LICENSE ==
|
7 |
-
*
|
8 |
-
* Licensed under the terms of any of the following licenses at your
|
9 |
-
* choice:
|
10 |
-
*
|
11 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
-
* http://www.gnu.org/licenses/gpl.html
|
13 |
-
*
|
14 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
-
* http://www.gnu.org/licenses/lgpl.html
|
16 |
-
*
|
17 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
-
*
|
20 |
-
* == END LICENSE ==
|
21 |
-
-->
|
22 |
-
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
-
<head>
|
24 |
-
<title>FCKeditor ChangeLog - What's New?</title>
|
25 |
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
-
<style type="text/css">
|
27 |
-
body { font-family: arial, verdana, sans-serif }
|
28 |
-
p { margin-left: 20px }
|
29 |
-
h1 { border-bottom: solid 1px gray; padding-bottom: 20px }
|
30 |
-
</style>
|
31 |
-
</head>
|
32 |
-
<body>
|
33 |
-
<h1>
|
34 |
-
FCKeditor ChangeLog - What's New?</h1>
|
35 |
-
<h3>
|
36 |
-
Version 2.6.3</h3>
|
37 |
-
<p>
|
38 |
-
Fixed Bugs:</p>
|
39 |
-
<ul>
|
40 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2412">#2412</a>] FCK.InsertHtml()
|
41 |
-
is now properly removing selected contents after content insertion in Firefox.</li>
|
42 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2420">#2420</a>] Spelling
|
43 |
-
mistake corrections made by the spell checking dialog are now undoable. </li>
|
44 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2411">#2411</a>] Insert
|
45 |
-
anchor was not working for non-empty selections.</li>
|
46 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2426">#2426</a>] It was
|
47 |
-
impossible to switch between editor areas with a single click.</li>
|
48 |
-
<li>Language file updates for the following languages:
|
49 |
-
<ul>
|
50 |
-
<li>Canadian French</li>
|
51 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2402">#2402</a>] Catalan
|
52 |
-
</li>
|
53 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2400">#2400</a>] Chinese
|
54 |
-
(Simplified and Traditional)</li>
|
55 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2401">#2401</a>] Croatian</li>
|
56 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2422">#2422</a>] Czech</li>
|
57 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2417">#2417</a>] Dutch</li>
|
58 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2428">#2428</a>] French</li>
|
59 |
-
<li>German</li>
|
60 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2427">#2427</a>] Hebrew</li>
|
61 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2410">#2410</a>] Hindi</li>
|
62 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2405">#2405</a>] Japanese</li>
|
63 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2409">#2409</a>] Norwegian
|
64 |
-
and Norwegian Bokmål</li>
|
65 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2429">#2429</a>] Spanish</li>
|
66 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2406">#2406</a>] Vietnamese</li>
|
67 |
-
</ul>
|
68 |
-
</li>
|
69 |
-
</ul>
|
70 |
-
<p>
|
71 |
-
This version has been sponsored by <a href="http://www.dataillusion.com/fs/">Data Illusion
|
72 |
-
survey software solutions</a>.</p>
|
73 |
-
<h3>
|
74 |
-
Version 2.6.3 Beta</h3>
|
75 |
-
<p>
|
76 |
-
New Features and Improvements:</p>
|
77 |
-
<ul>
|
78 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/439">#439</a>] Added a
|
79 |
-
new <strong>context menu option for opening links</strong> in the editor.</li>
|
80 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2220">#2220</a>] <strong>
|
81 |
-
Email links</strong> from the Link dialog <strong>are now encoded</strong> by default
|
82 |
-
to prevent being harvested by spammers. (Kudos to asuter for proposing the patch)
|
83 |
-
</li>
|
84 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2234">#2234</a>] Added
|
85 |
-
the ability to create, modify and remove <strong>DIV containers</strong>. </li>
|
86 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2247">#2247</a>] The <strong>
|
87 |
-
SHIFT+SPACE</strong> keystroke will now <strong>produce a &nbsp;</strong> character.
|
88 |
-
</li>
|
89 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2252">#2252</a>] It's
|
90 |
-
now possible to enable the browsers default menu using the configuration file (FCKConfig.BrowserContextMenu
|
91 |
-
option). </li>
|
92 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2032">#2032</a>] Added
|
93 |
-
HTML samples for legacy HTML and Flash HTML. </li>
|
94 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/234">#234</a>] Introduced
|
95 |
-
the "PreventSubmitHandler" setting, which makes it possible to instruct the editor
|
96 |
-
to not handle the hidden field update on form submit events.</li>
|
97 |
-
</ul>
|
98 |
-
<p>
|
99 |
-
Fixed Bugs:</p>
|
100 |
-
<ul>
|
101 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2319">#2319</a>] On Opera
|
102 |
-
and Firefox 3, the entire page was scrolling on SHIFT+ENTER, or when EnterMode='br'.</li>
|
103 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2321">#2321</a>] On Firefox
|
104 |
-
3, the entire page was scrolling when inserting block elements with the FCK.InsertElement
|
105 |
-
function, used by the Table and Horizontal Rule buttons.. </li>
|
106 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/692">#692</a>] Added some
|
107 |
-
hints in editor/css/fck_editorarea.css on how to handle style items that would break
|
108 |
-
the style combo. </li>
|
109 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2263">#2263</a>] Fixed
|
110 |
-
a JavaScript error in IE which occurs when there are placeholder elements in the
|
111 |
-
document and the user has pressed the Source button.</li>
|
112 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2314">#2314</a>] Corrected
|
113 |
-
mixed up Chinese translations for the blockquote command.</li>
|
114 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2323">#2323</a>] Fixed
|
115 |
-
the issue where the show blocks command loses the current selection from the view
|
116 |
-
area when editing a long document.</li>
|
117 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2322">#2322</a>] Fixed
|
118 |
-
the issue where the fit window command loses the current selection and scroll position
|
119 |
-
in the editing area.</li>
|
120 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1917">#1917</a>] Fixed
|
121 |
-
the issue where the merge down command for tables cells does not work in IE for
|
122 |
-
more than two cells.</li>
|
123 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2320">#2320</a>] Fixed
|
124 |
-
the issue where the Find/Replace dialog scrolls the entire page.</li>
|
125 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1645">#1645</a>] Added
|
126 |
-
warning message about Firefox 3's strict origin policy.</li>
|
127 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2272">#2272</a>] Improved
|
128 |
-
the garbage filter in Paste from Word dialog.</li>
|
129 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2327">#2327</a>] Fixed
|
130 |
-
invalid HTML in the Paste dialog.</li>
|
131 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1907">#1907</a>] Fixed
|
132 |
-
sporadic "FCKeditorAPI is not defined" errors in Firefox 3.</li>
|
133 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2356">#2356</a>] Fixed
|
134 |
-
access denied error in IE7 when FCKeditor is launched from local filesystem.</li>
|
135 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1150">#1150</a>] Fixed
|
136 |
-
the type="_moz" attribute that sometimes appear in <br> tags in non-IE browsers.</li>
|
137 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting
|
138 |
-
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE>
|
139 |
-
block.</li>
|
140 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2363">#2363</a>] There
|
141 |
-
were some sporadic "Permission Denied" errors with IE on some situations.</li>
|
142 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2135">#2135</a>] Fixed
|
143 |
-
a data loss bug in IE when there are @import statements in the editor's CSS files,
|
144 |
-
and IE's cache is set to "Check for newer versions on every visit".</li>
|
145 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2376">#2376</a>] FCK.InsertHtml()
|
146 |
-
will now insert to the last selected position after the user has selected things
|
147 |
-
outside of FCKeditor, in IE.</li>
|
148 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2368">#2368</a>] Fixed
|
149 |
-
broken protect source logic for comments in IE.</li>
|
150 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2387">#2387</a>] Fixed
|
151 |
-
JavaScript error with list commands when the editable document is selected with
|
152 |
-
Ctrl-A.</li>
|
153 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2390">#2390</a>] Fixed
|
154 |
-
the issue where indent styles in JavaScript-generated <p> blocks are erased
|
155 |
-
in IE.</li>
|
156 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2394">#2394</a>] Fixed
|
157 |
-
JavaScript error with the "split vertically" command in IE when attempting to split
|
158 |
-
cells in the last row of a table.</li>
|
159 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2316">#2316</a>] The sample
|
160 |
-
posted data page has now the table fixed at 100% width. </li>
|
161 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2396">#2396</a>] SpellerPages
|
162 |
-
was causing a "Permission Denied" error in some situations. </li>
|
163 |
-
</ul>
|
164 |
-
<h3>
|
165 |
-
Version 2.6.2</h3>
|
166 |
-
<p>
|
167 |
-
New Features and Improvements:</p>
|
168 |
-
<ul>
|
169 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2043">#2043</a>] The debug
|
170 |
-
script is not any more part of the compressed files. If FCKeditor native debugging
|
171 |
-
features (FCKDebug) are required, the _source folder must be present in your installation.</li>
|
172 |
-
</ul>
|
173 |
-
<p>
|
174 |
-
Fixed Bugs:</p>
|
175 |
-
<ul>
|
176 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2248">#2248</a>] Calling
|
177 |
-
FCK.InsertHtml( 'nbsp;') was inserting a plain space instead of a non breaking space
|
178 |
-
character.</li>
|
179 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2273">#2273</a>] The dragresizetable
|
180 |
-
plugin now works in Firefox 3 as well.</li>
|
181 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor
|
182 |
-
fix in FCKSelection for nodeTagName object.</li>
|
183 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1614">#1614</a>] Unified
|
184 |
-
FCKConfig.FullBasePath with FCKConfig.BasePath.</li>
|
185 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2127">#2127</a>] Changed
|
186 |
-
floating dialogs to use fixed positioning so that they are no longer affected by
|
187 |
-
scrolling.</li>
|
188 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2018">#2018</a>] Reversed
|
189 |
-
the fix for <a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>
|
190 |
-
which broke FCKeditorAPI's cleanup logic. A new configuration directive <strong>MsWebBrowserControlCompat</strong>
|
191 |
-
has been added for those who wish to force the #183 fix to be enabled.</li>
|
192 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2276">#2276</a>] [<a
|
193 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/2279">#2279</a>] On Opera
|
194 |
-
and Firefox 3, the entire page was scrolling on ENTER.</li>
|
195 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2149</a>] CSS urls
|
196 |
-
with querystring parameters were not being accepted for CSS values in the configuration
|
197 |
-
file (like EditorAreaCSS).</li>
|
198 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] On some
|
199 |
-
specific cases, with Firefox 2, some extra spacing was appearing in the final HTML
|
200 |
-
on posting, if inserting two successive tables.</li>
|
201 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] Block
|
202 |
-
elements (like tables or horizontal rules) will be inserted correctly now when the
|
203 |
-
cursor is at the start or the end of blocks. No extra paragraphs will be included
|
204 |
-
in this operation.</li>
|
205 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2197</a>] The TAB
|
206 |
-
key will now have the default browser behavior if TabSpaces=0. It will move the
|
207 |
-
focus out of the editor (expect on Safari).</li>
|
208 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2296">#2296</a>] Fixed
|
209 |
-
permission denied error on clicking on files in the file browser.</li>
|
210 |
-
</ul>
|
211 |
-
<h3>
|
212 |
-
Version 2.6.1</h3>
|
213 |
-
<p>
|
214 |
-
New Features and Improvements:</p>
|
215 |
-
<ul>
|
216 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2150">#2150</a>] The searching
|
217 |
-
speed of the Find/Replace dialog has been vastly improved.</li>
|
218 |
-
<li>New language file for <strong>Gujarati</strong> (by Nilam Doctor).</li>
|
219 |
-
<li>A new TabIndex property has been added to the JavaScript integration files.</li>
|
220 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2215">#2215</a>] Following
|
221 |
-
the above new feature, the ReplaceTextarea method will now copy the textarea.tabIndex
|
222 |
-
value if available.</li>
|
223 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2163">#2163</a>] If the
|
224 |
-
FCKConfig.DocType setting points to a HTML DocType then the output won't generate
|
225 |
-
self-closing tags (it will output <img > instead of <img />).</li>
|
226 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber
|
227 |
-
will be shown in the Quick Uploads.</li>
|
228 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2142">#2142</a>] HTML
|
229 |
-
samples will now use sampleposteddata.php in action parameter inside a form.</li>
|
230 |
-
</ul>
|
231 |
-
<p>
|
232 |
-
Fixed Bugs:</p>
|
233 |
-
<ul>
|
234 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no
|
235 |
-
longer possible for an image to have its width and height defined with both HTML
|
236 |
-
attributes and inline CSS styles in IE.</li>
|
237 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed
|
238 |
-
the error loading fckstyles.xml in servers which cannot return the correct content
|
239 |
-
type header for .xml files.</li>
|
240 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2102">#2102</a>] Fixed
|
241 |
-
FCKConfig.DocType which stopped working in FCKeditor 2.6.</li>
|
242 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed
|
243 |
-
the locking up issue in the Find/Replace dialog.</li>
|
244 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2124">#2124</a>] PHP File
|
245 |
-
Browser: fixed issue with resolving paths on Windows servers with PHP 5.2.4/5.2.5.</li>
|
246 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2059">#2059</a>] Fixed
|
247 |
-
the error in the toolbar name in fckeditor.py.</li>
|
248 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating
|
249 |
-
dialogs will now block the user from re-selecting the editing area by pressing Tab.</li>
|
250 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added
|
251 |
-
a workaround for an IE6 bug which causes floating dialogs to appear blank after
|
252 |
-
opening it for the first time.</li>
|
253 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2136">#2136</a>] Fixed
|
254 |
-
JavaScript error in IE when opening the bullet list properties dialog.</li>
|
255 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1633">#1633</a>] External
|
256 |
-
styles should no longer interfere with the appearance of the editor and floating
|
257 |
-
panels now.</li>
|
258 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2113">#2113</a>] Fixed
|
259 |
-
unneeded <span class="Apple-style-span"> created after inserting
|
260 |
-
special characters.</li>
|
261 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2170">#2170</a>] Fixed
|
262 |
-
Ctrl-Insert hotkey for copying.</li>
|
263 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2125">#2125</a>] Fixed
|
264 |
-
the issue that FCK.InsertHtml() doesn't insert contents at the caret position when
|
265 |
-
dialogs are opened in IE. </li>
|
266 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1764">#1764</a>] FCKeditor
|
267 |
-
will no longer catch focus in IE on load when StartupFocus is false and the initial
|
268 |
-
content is empty.</li>
|
269 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2126">#2126</a>] Opening
|
270 |
-
and closing floating dialogs will no longer cause toolbar button states to become
|
271 |
-
frozen.</li>
|
272 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2159">#2159</a>] Selection
|
273 |
-
are now correctly restored when undoing changes made by the Replace dialog.</li>
|
274 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2160">#2160</a>] "Match
|
275 |
-
whole word" in the Find and Replace dialog will now find words next to punctuation
|
276 |
-
marks as well.</li>
|
277 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the
|
278 |
-
configuration is set to work including the <head> (FullPage), references to
|
279 |
-
stylesheets added by Firefox extensions won't be added to the output.</li>
|
280 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments
|
281 |
-
won't generate new paragraphs in the output.</li>
|
282 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed
|
283 |
-
several validation errors in the File Browser.</li>
|
284 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1383">#1383</a>] Fixed
|
285 |
-
an IE issue where pressing backspace may merge a hyperlink on the previous line
|
286 |
-
with the text on the current line.</li>
|
287 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1691">#1691</a>] Creation
|
288 |
-
of links in Safari failed if there was no selection.</li>
|
289 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2188">#2188</a>] PreserveSessionOnFileBrowser
|
290 |
-
is now removed as it was made obsolete with 2.6.</li>
|
291 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/898">#898</a>] The styles
|
292 |
-
for the editing area are applied in the image preview dialog.</li>
|
293 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2056">#2056</a>] Fixed
|
294 |
-
several validation errors in the dialogs.</li>
|
295 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2063">#2063</a>] Fixed
|
296 |
-
some problems in asp related to the use of network paths for the location of the
|
297 |
-
uploaded files.</li>
|
298 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] The "Sample
|
299 |
-
Posted Data" page will now properly wrap the text.</li>
|
300 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The PHP
|
301 |
-
code in sampleposteddata.php has been changed from "<?=" to "<? echo".</li>
|
302 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2241">#2241</a>] Fixed
|
303 |
-
404 error in floating panels when FCKeditor is installed to a different domain.</li>
|
304 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2066">#2066</a>] Added
|
305 |
-
a workaround for a Mac Safari 3.1 browser bug which caused the Fit Window button
|
306 |
-
to give a blank screen.</li>
|
307 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2218">#2218</a>] Improved
|
308 |
-
Gecko based browser detection to accept Epiphany/Gecko as well.</li>
|
309 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2193">#2193</a>] Fixed
|
310 |
-
the issue where the caret cannot reach the last character of a paragraph in Opera
|
311 |
-
9.50.</li>
|
312 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2264">#2264</a>] Fixed
|
313 |
-
empty spaces that appear at the top of the editor in Opera 9.50.</li>
|
314 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2238">#2238</a>] The <object>
|
315 |
-
placeholder was not being properly displayed in the compressed distribution version
|
316 |
-
and nightly builds.</li>
|
317 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2115">#2115</a>] Fixed
|
318 |
-
JavaScript (permission denied) error in Firefox when file has been uploaded.</li>
|
319 |
-
</ul>
|
320 |
-
<h3>
|
321 |
-
Version 2.6</h3>
|
322 |
-
<p>
|
323 |
-
No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p>
|
324 |
-
<h3>
|
325 |
-
Version 2.6 RC</h3>
|
326 |
-
<p>
|
327 |
-
New Features and Improvements:</p>
|
328 |
-
<ul>
|
329 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances
|
330 |
-
object can now be used to access all FCKeditor instances available in the page.</li>
|
331 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span
|
332 |
-
style="color: #ff0000">Attention:</span> By default, the editor now produces <strong>
|
333 |
-
and <em> instead of <b> and <i>.</li>
|
334 |
-
</ul>
|
335 |
-
<p>
|
336 |
-
Fixed Bugs:</p>
|
337 |
-
<ul>
|
338 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog
|
339 |
-
close button is now correctly positioned in IE in RTL languages.</li>
|
340 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder
|
341 |
-
dialog will now display the placeholder value correctly in IE.</li>
|
342 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing
|
343 |
-
Enter or typing after a placeholder with the placeholder plugin will no longer generate
|
344 |
-
colored text.</li>
|
345 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed
|
346 |
-
an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li>
|
347 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed
|
348 |
-
Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li>
|
349 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed
|
350 |
-
permission denied errors during opening popup menus in IE6 under domain relaxation
|
351 |
-
mode.</li>
|
352 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed
|
353 |
-
JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li>
|
354 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed
|
355 |
-
SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li>
|
356 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a
|
357 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank"
|
358 |
-
href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>]
|
359 |
-
Fixed XHTML source formatting errors in non-IE browsers.</li>
|
360 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The #
|
361 |
-
character is now properly encoded in file names returned by the File Browser.</li>
|
362 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders
|
363 |
-
and file names are now properly sanitized against control characters. </li>
|
364 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash
|
365 |
-
character is now disallowed in current folder path.</li>
|
366 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added
|
367 |
-
logic to override JavaScript errors occurring inside the editing frame due to user
|
368 |
-
added JavaScript code.</li>
|
369 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting
|
370 |
-
ENTER on list items containing block elements will now create new list item elements,
|
371 |
-
instead of adding further blocks to the same list item.</li>
|
372 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label
|
373 |
-
only combos now get properly grayed out when moving to source view.</li>
|
374 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed
|
375 |
-
an important bug regarding styles removal on styled text boundaries, introduced
|
376 |
-
with the 2.6 Beta 1. </li>
|
377 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal
|
378 |
-
CSS <style> tags where being outputted when FullPage=true.</li>
|
379 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link
|
380 |
-
dialog now properly selects the first field when opening it to modify mailto or
|
381 |
-
anchor links. This problem was also throwing an error in IE.</li>
|
382 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret
|
383 |
-
will no longer remain behind in the editing area when the placeholder dialog is
|
384 |
-
opened.</li>
|
385 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed
|
386 |
-
JavaScript error in IE when the user tries to open dialogs in Source mode.</li>
|
387 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting
|
388 |
-
ShiftEnterMode to p or div now works correctly when EnterMode is br.</li>
|
389 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed
|
390 |
-
the issue where context menus sometimes don't disappear after selecting an option.
|
391 |
-
</li>
|
392 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed
|
393 |
-
JavaScript error when EnterMode=br and user tries to insert a page break.</li>
|
394 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed
|
395 |
-
the issue where the maximize editor button does not vertically expand the editing
|
396 |
-
area in Firefox.</li>
|
397 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration:
|
398 |
-
fixed filename encoding problems in file browser.</li>
|
399 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling
|
400 |
-
FCK.InsertHtml() in non-IE browsers would now activate the document processor as
|
401 |
-
expected.</li>
|
402 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native
|
403 |
-
XMLHttpRequest class is now used in IE, whenever it is available.</li>
|
404 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE,
|
405 |
-
the browser was able to enter in an infinite loop when working with multiple editors
|
406 |
-
in the same page. </li>
|
407 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some
|
408 |
-
CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li>
|
409 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was
|
410 |
-
having problems with SpellerPages, causing some errors to be thrown when completing
|
411 |
-
the spell checking in some situations.</li>
|
412 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow
|
413 |
-
command was throwing an error if executed in an editor where its relative button
|
414 |
-
is not present in the toolbar.</li>
|
415 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented
|
416 |
-
a generic document processor for <OBJECT> and <EMBED> tags.</li>
|
417 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed
|
418 |
-
the issue where the placeholder icon for <EMBED> tags does not always show
|
419 |
-
up in IE7.</li>
|
420 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed
|
421 |
-
a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li>
|
422 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE,
|
423 |
-
the caret will not any more move to the previous line when selecting a Format style
|
424 |
-
inside an empty paragraph.</li>
|
425 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE,
|
426 |
-
dialogs using API calls which deals with the selection, like InsertHtml now can
|
427 |
-
be sure the selection will be placed in the correct position.</li>
|
428 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With
|
429 |
-
IE, the first character of table captions where being lost on table creation.</li>
|
430 |
-
<li>The selection and cursor position was not being properly handled when creating some
|
431 |
-
elements like forms and tables.</li>
|
432 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the
|
433 |
-
Perl sample files, the GetServerPath function will now calculate the path properly.</li>
|
434 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2208</a>] Added
|
435 |
-
missing translations in Italian language file.</li>
|
436 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2096">#2096</a>] Added
|
437 |
-
the codepage to basexml file. Filenames with special chars should now display properly.</li>
|
438 |
-
</ul>
|
439 |
-
<h3>
|
440 |
-
Version 2.6 Beta 1</h3>
|
441 |
-
<p>
|
442 |
-
New Features and Improvements:</p>
|
443 |
-
<ul>
|
444 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New
|
445 |
-
(and cool!) floating dialog system</strong>, avoiding problems with popup blockers
|
446 |
-
and enhancing the editor usability.</li>
|
447 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong>
|
448 |
-
Adobe AIR</strong> compatibility.</li>
|
449 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support
|
450 |
-
for <strong>document.domain</strong> with automatic domain detection.</li>
|
451 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong>
|
452 |
-
inline CSS cache</strong> feature, making it possible to avoid downloading the CSS
|
453 |
-
files for the editing area and skins. For that, it is enough to set the EditorAreaCSS,
|
454 |
-
SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|<minified
|
455 |
-
CSS styles". All internal CSS links are already using this feature. </li>
|
456 |
-
<li>New language file for <strong>Canadian French</strong>.</li>
|
457 |
-
</ul>
|
458 |
-
<p>
|
459 |
-
Fixed Bugs:</p>
|
460 |
-
<ul>
|
461 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved
|
462 |
-
several "strict warning" messages in Firefox when running FCKeditor.</li>
|
463 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER
|
464 |
-
key will now work properly in IE with the cursor at the start of a formatted block.</li>
|
465 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's
|
466 |
-
possible to define in the Styles that a Style (with an empty class) must be shown
|
467 |
-
selected only when no class is present in the current element, and selecting that
|
468 |
-
item will clear the current class (it does apply to any attribute, not only classes).</li>
|
469 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars
|
470 |
-
are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden
|
471 |
-
div.</li>
|
472 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned
|
473 |
-
<li> elements now get properly enclosed in a <ul> on output.</li>
|
474 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER
|
475 |
-
key will not any more break <button> elements at the beginning of paragraphs.</li>
|
476 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor
|
477 |
-
was not loading on a specific unknown situation. The breaking point has been removed.</li>
|
478 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor
|
479 |
-
no longer hangs when operating on documents imported from Microsoft Word.</li>
|
480 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating
|
481 |
-
panels attached to a shared toolbar among multiple FCKeditor instances are no longer
|
482 |
-
misplaced when the editing areas are absolutely or relatively positioned.</li>
|
483 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog
|
484 |
-
is now enforced only when ForcePasteAsPlainText = true.</li>
|
485 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes
|
486 |
-
the autogrow plugin didn't work properly in Firefox.</li>
|
487 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External
|
488 |
-
toolbars are now properly sized in Opera.</li>
|
489 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking
|
490 |
-
on radio buttons or checkboxes in the editor in IE will no longer cause lockups
|
491 |
-
in IE.</li>
|
492 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes
|
493 |
-
commands where executed even if the command itself was disabled.</li>
|
494 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button
|
495 |
-
to empty the box in the "Paste from Word" has been removed as it leads to confusion
|
496 |
-
for some users.</li>
|
497 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing
|
498 |
-
control elements in Firefox, Opera and Safari now works properly.</li>
|
499 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor
|
500 |
-
was surrounded by a <div> element that wasn't really needed.</li>
|
501 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form
|
502 |
-
control was moved in IE after creating it, then it did lose its name.</li>
|
503 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't
|
504 |
-
possible to change the type of an existing button.</li>
|
505 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation
|
506 |
-
now works inside table cells.</li>
|
507 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor
|
508 |
-
was entering on looping on some specific cases when dealing with invalid source
|
509 |
-
markup.</li>
|
510 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting
|
511 |
-
text into the "Find what" fields in the Find and Replace dialog would now activate
|
512 |
-
the find and replace buttons.</li>
|
513 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace
|
514 |
-
dialog will no longer display wrong starting positions for the match when there
|
515 |
-
are multiple and identical characters preceding the character at the real starting
|
516 |
-
point of the match.</li>
|
517 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed
|
518 |
-
a JavaScript error which occurs in the Find/Replace dialog when the user presses
|
519 |
-
"Find" or "Replace" after the "No match found" message has appeared.</li>
|
520 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line
|
521 |
-
breaks and spaces are now conserved when converting to and from the "Formatted"
|
522 |
-
format.</li>
|
523 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved
|
524 |
-
the background color behind smiley icons and special characters in their corresponding
|
525 |
-
dialogs.</li>
|
526 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom
|
527 |
-
error messages are now properly displayed in the file browser.</li>
|
528 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text
|
529 |
-
and value fields in the selection box dialog will no longer extend beyond the dialog
|
530 |
-
limits when the user inputs a very long text or value for one of the selection options.</li>
|
531 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the
|
532 |
-
issue where pressing Enter in an <o:p> tag in IE does not generate line breaks.</li>
|
533 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the
|
534 |
-
issue where the image preview in image dialog sometimes doesn't display after selecting
|
535 |
-
the image from server browser.</li>
|
536 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration:
|
537 |
-
the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead
|
538 |
-
of depreciated "var").</li>
|
539 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration:
|
540 |
-
removed closing tag: "?>", so no additional whitespace added when files are included.</li>
|
541 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file
|
542 |
-
browser: fixed problems with DetectHtml() function when open_basedir was set.</li>
|
543 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file
|
544 |
-
browser: permissions applied with the chmod command are now configurable.</li>
|
545 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl
|
546 |
-
file browser: permissions applied with the chmod command are now configurable.</li>
|
547 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python
|
548 |
-
file browser: permissions applied with the chmod command are now configurable.</li>
|
549 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion
|
550 |
-
integration: fixed issues with setting the editor height.</li>
|
551 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion
|
552 |
-
file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory()
|
553 |
-
returning an empty string.</li>
|
554 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion
|
555 |
-
file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li>
|
556 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml()
|
557 |
-
in IE will no longer turn the preceding normal whitespace into &nbsp;.</li>
|
558 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem
|
559 |
-
method now has an additional fifth parameter "customData" that will be sent to the
|
560 |
-
Execute method of the command for that menu item, allowing a single command to be
|
561 |
-
used for different menu items..</li>
|
562 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat
|
563 |
-
command now also removes the attributes from the cleaned text. The list of attributes
|
564 |
-
is configurable with FCKConfig.RemoveAttributes.</li>
|
565 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari,
|
566 |
-
dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li>
|
567 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added
|
568 |
-
warning message on Copy and Cut operation failure on IE due to paste permission
|
569 |
-
settings.</li>
|
570 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links
|
571 |
-
to file browser has been changed to avoid requests containing double dots.</li>
|
572 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting
|
573 |
-
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE>
|
574 |
-
block.</li>
|
575 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples
|
576 |
-
failed to load from local filesystem in IE7.</li>
|
577 |
-
</ul>
|
578 |
-
<h3>
|
579 |
-
Version 2.5.1</h3>
|
580 |
-
<p>
|
581 |
-
New Features and Improvements:</p>
|
582 |
-
<ul>
|
583 |
-
<li><strong>FCKeditor.Net 2.5</strong> compatibility.</li>
|
584 |
-
<li>JavaScript integration file:
|
585 |
-
<ul>
|
586 |
-
<li>The new "<strong>FCKeditor.ReplaceAllTextareas</strong>" function is being introduced,
|
587 |
-
making it possible to replace many (or unknown) <textarea> elements in a single
|
588 |
-
call. The replacement can be also filtered by CSS class name, or by a custom function
|
589 |
-
evaluator. </li>
|
590 |
-
<li>It is now possible to set the default BasePath for all editor instances by setting
|
591 |
-
<strong>FCKeditor.BasePath</strong>. This is extremely useful when working with
|
592 |
-
the ReplaceAllTextareas function. </li>
|
593 |
-
</ul>
|
594 |
-
</li>
|
595 |
-
</ul>
|
596 |
-
<p>
|
597 |
-
Fixed Bugs:</p>
|
598 |
-
<ul>
|
599 |
-
<li>[<a href="http://dev.fckeditor.net/ticket/339" target="_blank">#339</a>] [<a
|
600 |
-
href="http://dev.fckeditor.net/ticket/681" target="_blank">#681</a>] The SpellerPages
|
601 |
-
spell checker will now completely ignore the presence of HTML tags in the text.
|
602 |
-
</li>
|
603 |
-
<li>[<a href="http://dev.fckeditor.net/ticket/1643" target="_blank">#1643</a>] Resolved
|
604 |
-
several "strict warning" messages in Firefox when running FCKeditor. </li>
|
605 |
-
<li>[<a href="http://dev.fckeditor.net/ticket/1603" target="_blank">#1603</a>] Certain
|
606 |
-
specific markup was making FCKeditor entering in a loop, blocking its execution.
|
607 |
-
</li>
|
608 |
-
<li>[<a href="http://dev.fckeditor.net/ticket/1664" target="_blank">#1664</a>] The ENTER
|
609 |
-
key will not any more swap the order of the tags when hit at the end of paragraphs.
|
610 |
-
</li>
|
611 |
-
</ul>
|
612 |
-
<h3>
|
613 |
-
Version 2.5</h3>
|
614 |
-
<p>
|
615 |
-
New Features and Improvements:</p>
|
616 |
-
<ul>
|
617 |
-
<li>The heading options have been moved to the top, in the default settings for the
|
618 |
-
Format combo.</li>
|
619 |
-
</ul>
|
620 |
-
<p>
|
621 |
-
Fixed Bugs:</p>
|
622 |
-
<ul>
|
623 |
-
<li>The focus is now correctly set when working on Safari.</li>
|
624 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1436">#1436</a>] Nested
|
625 |
-
context menu panels are now correctly closed on Safari.</li>
|
626 |
-
<li>Empty anchors are now properly created on Safari.</li>
|
627 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1359">#1359</a>] FCKeditor
|
628 |
-
will no longer produce the strange visual effect of creating a selected space and
|
629 |
-
then deleting it in Internet Explorer.</li>
|
630 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1399">#1399</a>] Removed
|
631 |
-
the empty entry in the language selection box of sample03.html.</li>
|
632 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1400">#1400</a>] Fixed
|
633 |
-
the issue where the style selection box in sample14.html is not context sensitive.</li>
|
634 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1401">#1401</a>] Completed
|
635 |
-
Hebrew translation of the user interface.</li>
|
636 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1409">#1409</a>] Completed
|
637 |
-
Finnish translation of the user interface.</li>
|
638 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1414">#1414</a>] Fixed
|
639 |
-
the issue where entity code words written inside a <pre> block in Source mode
|
640 |
-
are not converted to the corresponding characters after switching back to editor
|
641 |
-
mode.</li>
|
642 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1418">#1418</a>] Fixed
|
643 |
-
the issue where a detached toolbar would flicker when FCKeditor is being loaded.</li>
|
644 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1419">#1419</a>] Fixed
|
645 |
-
the issue where pressing Delete in the middle of two lists would incorrectly move
|
646 |
-
contents after the lists to the character position.</li>
|
647 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1420">#1420</a>] Fixed
|
648 |
-
the issue where empty list items can become collapsed and uneditable when it has
|
649 |
-
one of more indented list items directly under it. </li>
|
650 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1431">#1431</a>] Fixed
|
651 |
-
the issue where pressing Enter in a <pre> block in Internet Explorer would
|
652 |
-
move the caret one space forward instead of sending it to the next line.</li>
|
653 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1472">#1472</a>] Completed
|
654 |
-
Arabic translation of the user interface.</li>
|
655 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1474">#1474</a>] Fixed
|
656 |
-
the issue where reloading a page containing FCKeditor may provoke JavaScript errors
|
657 |
-
in Internet Explorer.</li>
|
658 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1478">#1478</a>] Fixed
|
659 |
-
the issue where parsing fckstyles.xml fails if the file contains no <style>
|
660 |
-
nodes.</li>
|
661 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1491">#1491</a>] Fixed
|
662 |
-
the issue where FCKeditor causes the selection to include an "end of line" character
|
663 |
-
in list items even though the list item is empty.</li>
|
664 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1496">#1496</a>] Fixed
|
665 |
-
the issue where attributes under <area> and <map> nodes are destroyed
|
666 |
-
or left unprotected when switching to and from Source mode.</li>
|
667 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1500">#1500</a>] Fixed
|
668 |
-
the issue where the function _FCK_PaddingNodeListener() is called excessively which
|
669 |
-
negatively affects performance.</li>
|
670 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Fixed
|
671 |
-
the issue where floating menus are incorrectly positioned when the toolbar or the
|
672 |
-
editor frame are not static positioned.</li>
|
673 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1518">#1518</a>] Fixed
|
674 |
-
the issue where excessive <BR> nodes are not removed after a paragraph is
|
675 |
-
split when creating lists.</li>
|
676 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1521">#1521</a>] Fixed
|
677 |
-
JavaScript error and erratic behavior of the Replace dialog.</li>
|
678 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1524">#1524</a>] Fixed
|
679 |
-
the issue where the caret jumps to the beginning or end of a list block and when
|
680 |
-
user is trying to select the end of a list item.</li>
|
681 |
-
<li>Completed Simplified Chinese translation of the user interface.</li>
|
682 |
-
<li>Completed Estonian translation of the user interface.</li>
|
683 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor
|
684 |
-
was always "dirty" if flash is available in the contents.</li>
|
685 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard
|
686 |
-
elements are now properly applied if defined in the styles XML file.</li>
|
687 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1412">#1412</a>] The _QuickUploadLanguage
|
688 |
-
value is now work properly for Perl.</li>
|
689 |
-
<li>Several compatibility fixes for Firefox 3 (Beta 1):
|
690 |
-
<ul>
|
691 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1558">#1558</a>] Nested
|
692 |
-
context menu close properly when one of their options is selected.</li>
|
693 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1556">#1556</a>] Dialogs
|
694 |
-
contents are now showing completely, without scrollbar.</li>
|
695 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1559">#1559</a>] It is
|
696 |
-
not possible to have more than one panel opened at the same time.</li>
|
697 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links
|
698 |
-
now get underlined.</li>
|
699 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic"
|
700 |
-
and "More colors..." buttons were improperly styled in the color selector panels
|
701 |
-
(Opera too).</li>
|
702 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1462">#1462</a>] The enter
|
703 |
-
key will not any more scroll the main window.</li>
|
704 |
-
</ul>
|
705 |
-
</li>
|
706 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1562">#1562</a>] Fixed
|
707 |
-
the issue where empty paragraphs are added around page breaks each time the user
|
708 |
-
switches to Source mode.</li>
|
709 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1578">#1578</a>] The editor
|
710 |
-
will now scroll correctly when hitting enter in front of a paragraph.</li>
|
711 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1579">#1579</a>] Fixed
|
712 |
-
the issue where the create table and table properties dialogs are too narrow for
|
713 |
-
certain translations.</li>
|
714 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1580">#1580</a>] Completed
|
715 |
-
Polish translation of the user interface.</li>
|
716 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1591">#1591</a>] Fixed
|
717 |
-
JavaScript error when using the blockquote command in an empty document in IE.</li>
|
718 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed
|
719 |
-
the issue where attempting to remove a blockquote with an empty paragraph would
|
720 |
-
leave behind an empty blockquote IE.</li>
|
721 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo
|
722 |
-
will now work properly for the color selectors.</li>
|
723 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1597">#1597</a>] The color
|
724 |
-
boxes are now properly rendered in the color selector panels on sample14.html.</li>
|
725 |
-
</ul>
|
726 |
-
<h3>
|
727 |
-
Version 2.5 Beta</h3>
|
728 |
-
<p>
|
729 |
-
New Features and Improvements:</p>
|
730 |
-
<ul>
|
731 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/624">#624</a>] [<a
|
732 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/634">#634</a>] [<a target="_blank"
|
733 |
-
href="http://dev.fckeditor.net/ticket/1300">#1300</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1301">#1301</a>]
|
734 |
-
Official compatibility support with <strong>Opera 9.50</strong> and <strong>Safari 3</strong>
|
735 |
-
(WebKit based browsers actually). These browsers are still in Beta, but we are confident
|
736 |
-
that we'll have amazing results as soon as they get stable. We are continuously
|
737 |
-
collaborating with Opera Software and Apple to bring a wonderful FCKeditor experience
|
738 |
-
over their browser platforms.</li>
|
739 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/494">#494</a>] Introduced
|
740 |
-
the <strong>new Style System</strong>. We are not anymore relaying on browser features
|
741 |
-
to apply and remove styles, which guarantees that the editor will <strong>behave in
|
742 |
-
the same way in all browsers</strong>. It is an incredibly flexible system,
|
743 |
-
which aims to fit all developer's needs, from Flash content or HTML4 to XHTML 1.0
|
744 |
-
Strict or XHTML 1.1:
|
745 |
-
<ul>
|
746 |
-
<li>All basic formatting features, like Bold and Italic, can be precisely controlled
|
747 |
-
by using the configuration file (<b>CoreStyles</b> setting). It means that now,
|
748 |
-
the Bold button, for example, can produce <b>, <strong>, <span class...>,
|
749 |
-
<span style...> or anything the developer prefers.</li>
|
750 |
-
<li>Again with the <b>CoreStyles</b> setting, each block format, font, size, and even
|
751 |
-
the color pickers can precisely reflect end developer's needs.</li>
|
752 |
-
<li>Because of the above changes, font sizes are much more flexible. <b>Any kind of
|
753 |
-
font unit</b> can be used, including a mix of units.</li>
|
754 |
-
<li>All styles, including toolbar bottom styles, are precisely controlled when being
|
755 |
-
applied to the document. FCKeditor uses an element table derived from the <b>W3C XHTML
|
756 |
-
DTDs</b> to precisely create the elements, guarantee standards compliant code.</li>
|
757 |
-
<li><b>No more <font> tags</b>... well... actually, the system is so flexible
|
758 |
-
that it is up to you to use them or not.</li>
|
759 |
-
<li>It is possible to configure FCKeditor to produce a truly <b>semantic aware </b>and<b>
|
760 |
-
XHTML 1.1 compliant </b>code. Check out sample14.html.</li>
|
761 |
-
<li>It's also possible to precisely control which inline elements must be removed with
|
762 |
-
the "Remove All" button, by using the "<b>RemoveFormatTags</b>"
|
763 |
-
setting.</li>
|
764 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1231">#1231</a>] [<a
|
765 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/160">#160</a>] Paragraph <b>indentation</b>
|
766 |
-
and <b>justification</b> now uses style attributes and don't create unnecessary
|
767 |
-
elements, and <blockquote> is not anymore used for it. Now, even CSS classes
|
768 |
-
can be used to indent or align text.</li>
|
769 |
-
<li>All paragraph formatting features work well when EnterMode=br.</li>
|
770 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/172">#172</a>] All paragraph
|
771 |
-
formatting features work well when list items too.</li>
|
772 |
-
</ul>
|
773 |
-
</li>
|
774 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1197">#1197</a>] [<a
|
775 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/132">#132</a>] The toolbar
|
776 |
-
now presents a <strong>new button for Blockquote</strong>. The indentation button
|
777 |
-
will not anymore be used for that.</li>
|
778 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/125">#125</a>] Table's
|
779 |
-
<strong>columns size can now be changed by dragging on cell borders</strong>, with
|
780 |
-
the "dragresizetable" plugin. </li>
|
781 |
-
<li>The EditorAreaCSS config option can now also be set to a string of paths separated
|
782 |
-
by commas.</li>
|
783 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/212">#212</a>] New "<strong>Show
|
784 |
-
Blocks</strong>" command button in toolbar to show block details in the editing
|
785 |
-
area. </li>
|
786 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/915">#915</a>] The <strong>
|
787 |
-
undo/redo system has been revamped</strong> to work the same across Internet Explorer
|
788 |
-
and Gecko-based browsers (e.g. Firefox). A number of critical bugs in the undo/redo
|
789 |
-
system are also fixed. </li>
|
790 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/194">#194</a>] The editor
|
791 |
-
now uses the <strong>Data Processor</strong> technology, which makes it possible
|
792 |
-
to handle different input formats. A sample of it may be found at "editor/plugins/bbcode/_sample",
|
793 |
-
that shows some simple BBCode support. </li>
|
794 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/145">#145</a>] The "htaccess.txt"
|
795 |
-
file has been renamed to ".htaccess" as it doesn't bring security concerns, being
|
796 |
-
active out of the box.</li>
|
797 |
-
<li>File Browser and Quick Upload changes:
|
798 |
-
<ul>
|
799 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/163">#163</a>] <span
|
800 |
-
style="color: #ff0000"><strong>Attention:</strong></span> The default connector
|
801 |
-
in fckconfig.js has been changed from ASP to PHP. If you are using ASP remember
|
802 |
-
to change the _FileBrowserLanguage and _QuickUploadLanguage settings in your fckconfig.js.
|
803 |
-
[<a target="_blank" href="http://dev.fckeditor.net/ticket/454">#454</a>] The file
|
804 |
-
browser and upload connectors have been unified so they can reuse the same configuration
|
805 |
-
settings.</li>
|
806 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/865">#865</a>] The ASP
|
807 |
-
and PHP connectors have been improved so it's easy to select the location of the
|
808 |
-
destination folder for each file type, and it's no longer necessary to use the "file",
|
809 |
-
"image", "flash" subfolders<br />
|
810 |
-
<span style="color: #ff0000"><strong>Attention:</strong></span> The location of
|
811 |
-
all the connectors have been changed in the fckconfig.js file. Please check your
|
812 |
-
settings to match the current ones. Also review carefully the config file for your
|
813 |
-
server language. </li>
|
814 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/688">#688</a>] Now the
|
815 |
-
Perl quick upload is available. </li>
|
816 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/575">#575</a>] The Python
|
817 |
-
connector has been rewritten as a WSGI app to be fully compatible with the latest
|
818 |
-
python frameworks and servers. The QuickUpload feature has been added as well as
|
819 |
-
all the features available in the PHP connector. Thanks to Mariano Reingart.</li>
|
820 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/561">#561</a>] The ASP
|
821 |
-
connector provides an AbsolutePath setting so it's possible to set the url to a
|
822 |
-
full domain or a relative path and specify that way the physical folder where the
|
823 |
-
files are stored..</li>
|
824 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/333">#333</a>] The Quick
|
825 |
-
Upload now can use the same ServerPath parameter as the full connector.</li>
|
826 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/199">#199</a>] The AllowedCommands
|
827 |
-
configuration setting is available in the asp and php connectors so it's possible
|
828 |
-
to disallow the upload of files (although the "select file" button will still be
|
829 |
-
available in the file browser).</li>
|
830 |
-
</ul>
|
831 |
-
</li>
|
832 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/100">#100</a>] A new configuration
|
833 |
-
directive "FCKConfig.EditorAreaStyles" has been implemented to allow setting editing
|
834 |
-
area styles from JavaScript. </li>
|
835 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/102">#102</a>] HTML code
|
836 |
-
generated by the "Paste As Plain Text" feature now obeys the EnterMode setting.</li>
|
837 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1266">#1266</a>] Introducing
|
838 |
-
the HtmlEncodeOutput setting to instruct the editor to HTML-encode some characters
|
839 |
-
(&, < and >) in the posted data.</li>
|
840 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/357">#357</a>] Added a
|
841 |
-
"Remove Anchor" option in the context menu for anchors. </li>
|
842 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1060">#1060</a>] Compatibility
|
843 |
-
checks with Firefox 3.0 Alpha. </li>
|
844 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/817">#817</a>] [<a
|
845 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/1077">#1077</a>] New "Merge
|
846 |
-
Down/Right" commands for merging tables cells in non-Gecko browsers.</li>
|
847 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1288">#1288</a>] The "More
|
848 |
-
Colors..." button in color selector popup has been made optional and configurable
|
849 |
-
by the <strong>EnableMoreFontColors</strong> option. </li>
|
850 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/356">#356</a>] The <strong>
|
851 |
-
Find and Replace</strong> dialogs are now unified into a single dialog with tabs.</li>
|
852 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/549">#549</a>] Added a
|
853 |
-
'None' option to the FCKConfig.ToolbarLocation option to allow for hidden toolbars.
|
854 |
-
</li>
|
855 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1313">#1313</a>] An XHTML
|
856 |
-
1.1 target editor sample has been created as sample14.html. </li>
|
857 |
-
<li>The ASP, ColdFusion and PHP integration have been aligned to our standards.</li>
|
858 |
-
</ul>
|
859 |
-
<p>
|
860 |
-
Fixed Bugs:</p>
|
861 |
-
<ul>
|
862 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/71">#71</a>] [<a target="_blank"
|
863 |
-
href="http://dev.fckeditor.net/ticket/243">#243</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/267">#267</a>]
|
864 |
-
The editor now takes care to not create invalid nested block elements, like creating
|
865 |
-
<form> or <hr> inside <p>. </li>
|
866 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1511298&group_id=75348&atid=543655">SF
|
867 |
-
Patch 1511298</a>] The CF Component failed on CFMX 6.0</li>
|
868 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the
|
869 |
-
FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li>
|
870 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED
|
871 |
-
attributes handling in IE.</li>
|
872 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315722&group_id=75348&atid=543655">SF
|
873 |
-
Patch 1315722</a>] Avoid getting a cached version of the folder contents after uploading
|
874 |
-
a file</li>
|
875 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1386086&group_id=75348&atid=543655">SF
|
876 |
-
Patch 1386086</a>] The php connector has been protected so mkdir doesn't fail if
|
877 |
-
there are double slashes.</li>
|
878 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/943">#943</a>] The PHP
|
879 |
-
connector now specifies that the included files are relative to the current path.</li>
|
880 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/560">#560</a>] The PHP
|
881 |
-
connector will work better if the connector or the userfiles folder is a symlink.</li>
|
882 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/784">#784</a>] Fixed a
|
883 |
-
non initialized $php_errormsg in the PHP connector.</li>
|
884 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/802">#802</a>] The replace
|
885 |
-
dialog will now advance its searching position correctly and is able to search for
|
886 |
-
strings spanning across multiple inline tags.</li>
|
887 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/944">#944</a>] The _samples
|
888 |
-
didn't work directly from the Mac filesystem.</li>
|
889 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/946">#946</a>] Toolbar
|
890 |
-
images didn't show in non-IE browsers if the path contained a space.</li>
|
891 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/291">#291</a>] [<a
|
892 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/395">#395</a>] [<a target="_blank"
|
893 |
-
href="http://dev.fckeditor.net/ticket/932">#932</a>] Clicking outside the editor
|
894 |
-
it was possible to paste or apply formatting to the rest of the page in IE.</li>
|
895 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/137">#137</a>] Fixed FCKConfig.TabSpaces
|
896 |
-
being ignored, and weird behaviors when pressing tab in edit source mode.</li>
|
897 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/268">#268</a>] Fixed special
|
898 |
-
XHTML characters present in event attribute values being converted inappropriately
|
899 |
-
when switching to source view.</li>
|
900 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar
|
901 |
-
was cut sometimes in IE to just one row if there are multiple instances of the editor.</li>
|
902 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables
|
903 |
-
in Firefox didn't inherit font styles properly in Standards mode.</li>
|
904 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/321">#321</a>] If FCKeditor
|
905 |
-
is initially hidden in Firefox it will no longer be necessary to call the oEditor.MakeEditable()
|
906 |
-
function.</li>
|
907 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/299">#299</a>] The 'Browse
|
908 |
-
Server' button in the Image and Flash dialogs was a little too high.</li>
|
909 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/931">#931</a>] The BodyId
|
910 |
-
and BodyClass configuration settings weren't applied in the preview window.</li>
|
911 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/583">#583</a>] The "noWrap"
|
912 |
-
attribute for table cells was getting an empty value in Firefox. Thanks to geirhelge.</li>
|
913 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/141">#141</a>] Fixed incorrect
|
914 |
-
startup focus in Internet Explorer after page reloads. </li>
|
915 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/143">#143</a>] Fixed browser
|
916 |
-
lockup when the user writes <!--{PS..x}> into the editor in source mode. </li>
|
917 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/174">#174</a>] Fixed incorrect
|
918 |
-
positioning of FCKeditor in full screen mode. </li>
|
919 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/978">#978</a>] Fixed a
|
920 |
-
SpellerPages error with ColdFusion when no suggestions where available for a word.</li>
|
921 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/977">#977</a>] The "shape"
|
922 |
-
attribute of <area> had its value changed to uppercase in IE.</li>
|
923 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/996">#996</a>] "OnPaste"
|
924 |
-
event listeners will now get executed only once.</li>
|
925 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/289">#289</a>] Removed
|
926 |
-
debugging popups from page load regarding JavaScript and CSS loading errors.</li>
|
927 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/328">#328</a>] [<a
|
928 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/346">#346</a>] [<a target="_blank"
|
929 |
-
href="http://dev.fckeditor.net/ticket/404">#404</a>] Fixed a number of problems
|
930 |
-
regarding <pre> blocks:
|
931 |
-
<ol>
|
932 |
-
<li>Leading whitespaces and line breaks in <pre> blocks are trimmed when the user
|
933 |
-
switches between editor mode and source mode;</li>
|
934 |
-
<li>Pressing Enter inside a <pre> block would split the block into two, but the
|
935 |
-
expected behavior is simply inserting a line break;</li>
|
936 |
-
<li>Simple line breaks inside <pre> blocks entered in source mode are being turned
|
937 |
-
into <br> tags when the user switches to editor mode and back.</li>
|
938 |
-
</ol>
|
939 |
-
</li>
|
940 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/581">#581</a>] Fixed the
|
941 |
-
issue where the "Maximize the editor size" toolbar button stops working if any of
|
942 |
-
the following occurs:
|
943 |
-
<ol>
|
944 |
-
<li>There exists a form input whose name or id is "style" in FCKeditor's host form;</li>
|
945 |
-
<li>There exists a form input whose name or id is "className" in FCKeditor's host form;</li>
|
946 |
-
<li>There exists a form and a form input whose name of id is "style" in the editing
|
947 |
-
frame.</li>
|
948 |
-
</ol>
|
949 |
-
</li>
|
950 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>] Fixed the
|
951 |
-
issue when FCKeditor is being executed in a custom application with the WebBrowser
|
952 |
-
ActiveX control, hiding the WebBrowser control would incorrectly invoke FCKeditor's
|
953 |
-
cleanup routines, causing FCKeditor to stop working.</li>
|
954 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/539">#539</a>] Fixed the
|
955 |
-
issue where right clicking on a table inside the editing frame in Firefox would
|
956 |
-
cause the editor the scroll to the top of the document.</li>
|
957 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/523">#523</a>] Fixed the
|
958 |
-
issue where, under certain circumstances, FCKeditor would obtain focus at startup
|
959 |
-
even though FCKConfig.StartupFocus is set to false. </li>
|
960 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/393">#393</a>] Fixed the
|
961 |
-
issue where if an inline tag is at the end of the document, the user would have
|
962 |
-
no way of escaping from the inline tag if he continues typing at the end of the
|
963 |
-
document. FCKeditor's behaviors regarding inline tags has been made to be more like
|
964 |
-
MS Word's:
|
965 |
-
<ol>
|
966 |
-
<li>If the caret is moved to the end of a hyperlink by the keyboard, then hyperlink
|
967 |
-
mode is disabled. </li>
|
968 |
-
<li>If the caret is moved to the end of other styled inline tags by any key other than
|
969 |
-
the End key (like bold text or italic text), the original bold/italic/... modes
|
970 |
-
would continue to be effective. </li>
|
971 |
-
<li>If the caret is moved to the end of other styled inline tags by the End key, all
|
972 |
-
style tag modes (e.g. bold, italic, underline, etc.) would be canceled. This is
|
973 |
-
not consistent with MS Word, but provides a convenient way for the user to escape
|
974 |
-
the inline tag at the end of a line.</li>
|
975 |
-
</ol>
|
976 |
-
</li>
|
977 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Fixed the
|
978 |
-
issue where the configuration directive FCKConfig.ForcePasteAsPlainText is ignored
|
979 |
-
when new contents are pasted into the editor via drag-and drop from outside of the
|
980 |
-
editor. </li>
|
981 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1026">#1026</a>] Fixed
|
982 |
-
the issue where the cursor or selection positions are not restored with undo/redo
|
983 |
-
commands correctly in IE, under some circumstances. </li>
|
984 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1160">#1160</a>] [<a
|
985 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/1184">#1184</a>] Home, End
|
986 |
-
and Tab keys are working properly for numeric fields in dialogs. </li>
|
987 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style
|
988 |
-
system now properly handles Format styles when EnterMode=br.</li>
|
989 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union
|
990 |
-
of successive DIVs will work properly now if EnterMode!=div.</li>
|
991 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1227">#1227</a>] The color
|
992 |
-
commands used an unnecessary temporary variable. Thanks to Matthias Miller</li>
|
993 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/67">#67</a>] [<a target="_blank"
|
994 |
-
href="http://dev.fckeditor.net/ticket/277">#277</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/427">#427</a>]
|
995 |
-
[<a target="_blank" href="http://dev.fckeditor.net/ticket/428">#428</a>] [<a target="_blank"
|
996 |
-
href="http://dev.fckeditor.net/ticket/965">#965</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1178">#1178</a>]
|
997 |
-
[<a target="_blank" href="http://dev.fckeditor.net/ticket/1267">#1267</a>] The list
|
998 |
-
insertion/removal/indent/outdent logic in FCKeditor has been rewritten, such that:
|
999 |
-
<ol>
|
1000 |
-
<li>Text separated by <br> will always be treated as separate items during list
|
1001 |
-
insertion regardless of browser;</li>
|
1002 |
-
<li>List removal will now always obey the FCKConfig.EnterMode setting;</li>
|
1003 |
-
<li>List indentation will be XHTML 1.1 compliant - all child elements under an <ol>
|
1004 |
-
or <ul> must be <li> nodes;</li>
|
1005 |
-
<li>IE editor hacks like <ul type="1"> will no longer appear;</li>
|
1006 |
-
<li>Excessive <div> nodes are no longer inserted into list items due to alignment
|
1007 |
-
changes.</li>
|
1008 |
-
</ol>
|
1009 |
-
</li>
|
1010 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/205">#205</a>] Fixed the
|
1011 |
-
issue where visible <br> tags at the end of paragraphs are incorrectly removed
|
1012 |
-
after switching to and from source mode.</li>
|
1013 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1050">#1050</a>] Fixed
|
1014 |
-
a minor PHP/XML incompatibility bug in editor/dialog/fck_docprops.html.</li>
|
1015 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/462">#462</a>] Fixed an
|
1016 |
-
algorithm bug in switching from source mode to WYSIWYG mode which causes the browser
|
1017 |
-
to spin up and freeze for broken HTML code inputs.</li>
|
1018 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1019">#1019</a>] Table
|
1019 |
-
command buttons are now disabled when the current selection is not inside a table.</li>
|
1020 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/135">#135</a>] Fixed the
|
1021 |
-
issue where context menus are misplaced in FCKeditor when FCKeditor is created inside
|
1022 |
-
a <div> node with scrolling. </li>
|
1023 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1067">#1067</a>] Fixed
|
1024 |
-
the issue where context menus are misplaced in Safari when FCKeditor is scrolled
|
1025 |
-
down.</li>
|
1026 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1081">#1081</a>] Fixed
|
1027 |
-
the issue where undoing table deletion in IE7 would cause JavaScript errors.</li>
|
1028 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1061">#1061</a>] Fixed
|
1029 |
-
the issue where backspace and delete cannot delete special characters in Firefox
|
1030 |
-
under some circumstances.</li>
|
1031 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/403">#403</a>] Fixed the
|
1032 |
-
issue where switching to and from source mode in full page mode under IE would add
|
1033 |
-
excessive line breaks to <style> blocks.</li>
|
1034 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/121">#121</a>] Fixed the
|
1035 |
-
issue where maximizing FCKeditor inside a frameset would resize FCKeditor to the
|
1036 |
-
whole window's size instead of just the container frame's size.</li>
|
1037 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1093">#1093</a>] Fixed
|
1038 |
-
the issue where pressing Enter inside an inline tag would not create a new paragraph
|
1039 |
-
correctly.</li>
|
1040 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1089">#1089</a>] Fixed
|
1041 |
-
the issue where pressing Enter inside a <pre> block do not generate visible
|
1042 |
-
line breaks in IE.</li>
|
1043 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/332">#332</a>] Hitting
|
1044 |
-
Enter when the caret is at the end of a hyperlink will no longer continue the link
|
1045 |
-
at the new paragraph.</li>
|
1046 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1121">#1121</a>] Hitting
|
1047 |
-
Enter with FCKConfig.EnterMode=br will now scroll the document correctly when the
|
1048 |
-
new lines have exceeded the lower boundary of the editor frame.</li>
|
1049 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1063">#1063</a>] [<a
|
1050 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/1084">#1084</a>] [<a target="_blank"
|
1051 |
-
href="http://dev.fckeditor.net/ticket/1092">#1092</a>] Fixed a few Norwegian
|
1052 |
-
language translation errors.</li>
|
1053 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1148">#1148</a>] Fixed
|
1054 |
-
the issue where the "Automatic" and "More Colors..." buttons
|
1055 |
-
in the color selection panel are not centered in Safari.</li>
|
1056 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1187">#1187</a>] Fixed
|
1057 |
-
the issue where the "Paste as plain text" command cannot be undone in
|
1058 |
-
non-IE browsers.</li>
|
1059 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1222">#1222</a>] Ctrl-Backspace
|
1060 |
-
operations will now save undo snapshots in all browsers.</li>
|
1061 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1223">#1223</a>] Fixed
|
1062 |
-
the issue where the insert link dialog would save multiple undo snapshots for a
|
1063 |
-
single operation.</li>
|
1064 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/247">#247</a>] Fixed the
|
1065 |
-
issue where deleting everything in the document in IE would create an empty <p>
|
1066 |
-
block in the document regardless of EnterMode setting. </li>
|
1067 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1280">#1280</a>] Fixed
|
1068 |
-
the issue where opening a combo box will cause the editor frames to lose focus when
|
1069 |
-
there are multiple editors in the same document.</li>
|
1070 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/363">#363</a>] Fixed the
|
1071 |
-
issue where the Find dialog does not work under Opera.</li>
|
1072 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/50">#50</a>] Fixed the
|
1073 |
-
issue where the Paste button is always disabled in Safari.</li>
|
1074 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/389">#389</a>] Pasting
|
1075 |
-
text with comments from Word won't generate errors in IE, thanks to the idea from
|
1076 |
-
Swift.</li>
|
1077 |
-
<li>The pasting area in the Paste from Word dialog is focused on initial load</li>
|
1078 |
-
<li>Some fixes related to html comment handling in the Word clean up routine</li>
|
1079 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1303">#1303</a>] <col>
|
1080 |
-
is correctly treated as an empty element.</li>
|
1081 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/969">#969</a>] Removed
|
1082 |
-
unused files (fcknumericfield.htc and moz-bindings.xml).</li>
|
1083 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1166">#1166</a>] Fixed
|
1084 |
-
the issue where <meta> tags are incorrectly outputted with closing tags in
|
1085 |
-
full page mode.</li>
|
1086 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1200">#1200</a>] Fixed
|
1087 |
-
the issue where context menus sometimes disappear prematurely before the user can
|
1088 |
-
click on any items in Opera.</li>
|
1089 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1315">#1315</a>] Fixed
|
1090 |
-
the issue where the source view text area in Safari is displayed with an excessive
|
1091 |
-
blue border.</li>
|
1092 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1201">#1201</a>] Fixed
|
1093 |
-
the issue where hitting Backspace or Delete inside a table cell deletes the table
|
1094 |
-
cell instead of its contents in Opera.</li>
|
1095 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1311">#1311</a>] Fixed
|
1096 |
-
the issue where undoing and redoing a special character insertion would send the
|
1097 |
-
caret to incorrect positions. (e.g. the beginning of document)</li>
|
1098 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/923">#923</a>] Font colors
|
1099 |
-
are now properly applied on links.</li>
|
1100 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1316">#1316</a>] Fixed
|
1101 |
-
the issue where the image dialog expands to a size too big in Safari.</li>
|
1102 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1306">#1306</a>] [<a
|
1103 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/894">#894</a>] The undo system
|
1104 |
-
can now undo text formatting steps like setting fonts to bold and italic.</li>
|
1105 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/95">#95</a>] Fixed the
|
1106 |
-
issue where FCKeditor breaks <meta> tags in full page mode in some circumstances.</li>
|
1107 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/175">#175</a>] Fixed the
|
1108 |
-
issue where entering an email address with a '%' sign in the insert link dialog
|
1109 |
-
would cause JavaScript error.</li>
|
1110 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/180">#180</a>] Improved
|
1111 |
-
backward compatibility with older PHP versions. FCKeditor can now work with PHP
|
1112 |
-
versions down to 4.0.</li>
|
1113 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/192">#192</a>] Document
|
1114 |
-
modifying actions from the FCKeditor JavaScript API will now save undo steps.</li>
|
1115 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/246">#246</a>] Using text
|
1116 |
-
formatting commands in EnterMode=div will no longer cause tags to randomly disappear.</li>
|
1117 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/327">#327</a>] It is no
|
1118 |
-
longer possible for the browser's back action to misfire when a user presses backspace
|
1119 |
-
while an image is being selected in FCKeditor.</li>
|
1120 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/362">#362</a>] Ctrl-Backspace
|
1121 |
-
now works in FCKeditor.</li>
|
1122 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/390">#390</a>] Text alignment
|
1123 |
-
and justification commands now respects EnterMode=br paragraph rules.</li>
|
1124 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/534">#534</a>] Pressing
|
1125 |
-
Ctrl-End while the document contains a list towards the end will no longer make
|
1126 |
-
the cursor disappear.</li>
|
1127 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/906">#906</a>] It is now
|
1128 |
-
possible to have XHTML 1.0 Strict compliant output from a document pasted from Word.</li>
|
1129 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/929">#929</a>] Pressing
|
1130 |
-
the Enter key will now produce an undo step.</li>
|
1131 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/934">#934</a>] Fixed the
|
1132 |
-
"Cannot execute code from a freed script" error in IE from editor dialogs.</li>
|
1133 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#942</a>] Server
|
1134 |
-
based spell checking with ColdFusion integration no longer breaks fir non en_US
|
1135 |
-
languages.</li>
|
1136 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#1056</a>] Deleting
|
1137 |
-
everything in the editor document and moving the cursor around will no longer leave
|
1138 |
-
the cursor hanging beyond the top of the editor document.</li>
|
1139 |
-
</ul>
|
1140 |
-
<p>
|
1141 |
-
# This version has been <a href="http://dev.fckeditor.net/wiki/SD/COE">partially sponsored</a>
|
1142 |
-
by the <a href="http://www.coe.int/">Council of Europe</a>.
|
1143 |
-
</p>
|
1144 |
-
<h3>
|
1145 |
-
Version 2.4.3</h3>
|
1146 |
-
<p>
|
1147 |
-
New Features and Improvements:</p>
|
1148 |
-
<ul>
|
1149 |
-
<li>It is now possible to set the default target when creating links, with the new "<strong>DefaultLinkTarget</strong>"
|
1150 |
-
setting. </li>
|
1151 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/436">#436</a>] The new
|
1152 |
-
"<strong>FirefoxSpellChecker</strong>" setting is available, to enable/disable the
|
1153 |
-
Firefox built-in spellchecker while typing. Even if word suggestions will not appear
|
1154 |
-
in the FCKeditor context menu, this feature is useful to quickly identify misspelled
|
1155 |
-
words.</li>
|
1156 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/311">#311</a>] The new
|
1157 |
-
"<strong>BrowserContextMenuOnCtrl</strong>" setting is being introduced, to enable/disable
|
1158 |
-
the ability of displaying the default browser's context menu when right-clicking
|
1159 |
-
with the CTRL key pressed.</li>
|
1160 |
-
</ul>
|
1161 |
-
<p>
|
1162 |
-
Fixed Bugs:</p>
|
1163 |
-
<ul>
|
1164 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/300">#300</a>] The fck_internal.css
|
1165 |
-
file was not validating with the W3C CSS Validation Service.</li>
|
1166 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/336">#336</a>] Ordered
|
1167 |
-
list didn't keep the Type attribute properly (it was converted to lowercase when
|
1168 |
-
the properties dialog was opened again).</li>
|
1169 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/318">#318</a>] Multiple
|
1170 |
-
linked images are merged in a single link in IE.</li>
|
1171 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/350">#350</a>] The <marquee>
|
1172 |
-
element will no longer append unwanted <p>&nbsp;</p> to the code.</li>
|
1173 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/351">#351</a>] The content
|
1174 |
-
was being lost for images or comments only HTML inserted directly in the editor
|
1175 |
-
source or loaded in the editor.</li>
|
1176 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/388">#388</a>] Creating
|
1177 |
-
links in lines separated by <br> in IE can lead to a merge of the links.</li>
|
1178 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/325">#325</a>] Calling
|
1179 |
-
the GetXHTML can distort visually the rendering in Firefox.</li>
|
1180 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/391">#391</a>] When ToolbarLocation=Out,
|
1181 |
-
a "Security Warning" alert was being shown in IE if under https. Thanks to reister.</li>
|
1182 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/360">#360</a>] Form "name"
|
1183 |
-
was being set to "[object]" if it contained an element with id="name".</li>
|
1184 |
-
<li>Fixed a type that was breaking the ColdFusion SpellerPages integration file when
|
1185 |
-
no spelling errors were found.</li>
|
1186 |
-
<li>The ColdFusion SpellerPages integration was not working it Aspell was installed
|
1187 |
-
in a directory with spaces in the name.</li>
|
1188 |
-
<li>Added option to SpellerPages to ignore "alt" attributes.</li>
|
1189 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/451">#451</a>] Classes
|
1190 |
-
for images in IE didn't take effect immediately.</li>
|
1191 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/430">#430</a>] Links with
|
1192 |
-
a class did generate a span in Firefox when removing them.</li>
|
1193 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/274">#274</a>] The PHP
|
1194 |
-
quick upload still tried to use the uppercased types instead of the lowercased ones.
|
1195 |
-
</li>
|
1196 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/416">#416</a>] The PHP
|
1197 |
-
quick upload didn't check for the existence of the folder before saving.</li>
|
1198 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/467">#467</a>] If InsertHtml
|
1199 |
-
was called in IE with a comment (or any protected source at the beginning) it was
|
1200 |
-
lost.</li>
|
1201 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1518766&group_id=75348&atid=543653">SF
|
1202 |
-
BUG-1518766</a>] Mozilla 1.7.13 wasn't recognized properly as an old Gecko engine.</li>
|
1203 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/324">#324</a>] Improperly
|
1204 |
-
nested tags could lead to a crash in IE.</li>
|
1205 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/455">#455</a>] Files and
|
1206 |
-
folders with non-ANSI names were returned with a double UTF-8 encoding in the PHP
|
1207 |
-
File Manager.</li>
|
1208 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/273">#273</a>] The extensions
|
1209 |
-
"sh", "shtml", "shtm" and "phtm" have been added to the list of denied extensions
|
1210 |
-
on upload.</li>
|
1211 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/453">#453</a>] No more
|
1212 |
-
errors when hitting del inside an empty table cell.</li>
|
1213 |
-
<li>The perl connector cgi file has been changed to Unix line endings.</li>
|
1214 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] Regression:
|
1215 |
-
The HR tag will not anymore break the contents loaded in the editor. </li>
|
1216 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/508">#508</a>] The HR
|
1217 |
-
command had a typo.</li>
|
1218 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/505">#505</a>] Regression:
|
1219 |
-
IE crashed if a table caption was deleted.</li>
|
1220 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/82">#82</a>] [<a target="_blank"
|
1221 |
-
href="http://dev.fckeditor.net/ticket/359">#359</a>] <object> and <embed>
|
1222 |
-
tags are not anymore lost in IE.</li>
|
1223 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/493">#493</a>] If the
|
1224 |
-
containing form had a button named "submit" the "Save" command didn't work in Firefox.</li>
|
1225 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/414">#414</a>] If tracing
|
1226 |
-
was globally enabled in Asp.Net 2.0 then the Asp.Net connector did fail.</li>
|
1227 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/520">#520</a>] The "Select
|
1228 |
-
Field" properties dialog was not correctly handling select options with &, <
|
1229 |
-
and >.</li>
|
1230 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/258">#258</a>] The Asp
|
1231 |
-
integration didn't pass boolean values in English, using instead the locale of the
|
1232 |
-
server and failing.</li>
|
1233 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/487">#487</a>] If an image
|
1234 |
-
with dimensions set as styles was opened with the image manager and then the dialog
|
1235 |
-
was canceled the dimensions in the style were lost.</li>
|
1236 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#220</a>] The creation
|
1237 |
-
of links or anchors in a selection that results on more than a single link created
|
1238 |
-
will not anymore leave temporary links in the source. All links will be defined
|
1239 |
-
as expected.</li>
|
1240 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#182</a>] [<a
|
1241 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/220">#261</a>] [<a target="_blank"
|
1242 |
-
href="http://dev.fckeditor.net/ticket/220">#511</a>] Special characters, like
|
1243 |
-
percent signs or accented chars, and spaces are now correctly returned by the File
|
1244 |
-
Browser.</li>
|
1245 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/281">#281</a>] Custom
|
1246 |
-
toolbar buttons now render correctly in all skins.</li>
|
1247 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/527">#527</a>] If the
|
1248 |
-
configuration for a toolbar isn't fully valid, try to keep on parsing it.</li>
|
1249 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/187">#187</a>] [<a
|
1250 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/435">#435</a>] [<a target="_blank"
|
1251 |
-
href="https://sourceforge.net/tracker/?func=detail&aid=1612978&group_id=75348&atid=543653">SF
|
1252 |
-
BUG-1612978</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1163511&group_id=75348&atid=543653">SF
|
1253 |
-
BUG-1163511</a>] Updated the configuration options in the ColdFusion integration
|
1254 |
-
files.</li>
|
1255 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1726781&group_id=75348&atid=543655">SF
|
1256 |
-
Patch-1726781</a>] Updated the upload class for asp to handle large files and other
|
1257 |
-
data in the forms. Thanks to NetRube.</li>
|
1258 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/225">#225</a>] With ColdFusion,
|
1259 |
-
the target directory is now being automatically created if needed when "quick uploading".
|
1260 |
-
Thanks to sirmeili.</li>
|
1261 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/295">#295</a>] [<a
|
1262 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/510">#510</a>] Corrected some
|
1263 |
-
path resolution issues with the File Browser connector for ColdFusion.</li>
|
1264 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/239">#239</a>] The <xml>
|
1265 |
-
tag will not anymore cause troubles.</li>
|
1266 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1721787&group_id=75348&atid=543653">SF
|
1267 |
-
BUG-1721787</a>] If the editor is run from a virtual dir, the PHP connector will
|
1268 |
-
detect that and avoid generating a wrong folder.</li>
|
1269 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/431">#431</a>] PHP: The
|
1270 |
-
File Browser now displays an error message when it is not able to create the configured
|
1271 |
-
target directory for files (instead of sending broken XML responses).</li>
|
1272 |
-
</ul>
|
1273 |
-
<h3>
|
1274 |
-
Version 2.4.2</h3>
|
1275 |
-
<p>
|
1276 |
-
Fixed Bugs:</p>
|
1277 |
-
<ul>
|
1278 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/279">#279</a>] The UTF-8
|
1279 |
-
BOM was being included in the wrong files, affecting mainly PHP installations.</li>
|
1280 |
-
</ul>
|
1281 |
-
<h3>
|
1282 |
-
Version 2.4.1</h3>
|
1283 |
-
<p>
|
1284 |
-
New Features and Improvements:</p>
|
1285 |
-
<ul>
|
1286 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/118">#118</a>] The SelectAll
|
1287 |
-
command now is available in Source Mode.</li>
|
1288 |
-
<li>The new open source FCKpackager sub-project is now available. It replaces the FCKeditor.Packager
|
1289 |
-
software to compact the editor source.</li>
|
1290 |
-
<li>With Firefox, if a paste execution is blocked by the browser security settings,
|
1291 |
-
the new "Paste" popup is shown to the user to complete the pasting operation. </li>
|
1292 |
-
</ul>
|
1293 |
-
<p>
|
1294 |
-
Fixed Bugs:</p>
|
1295 |
-
<ul>
|
1296 |
-
<li>Various fixes to the ColdFusion File Browser connector.</li>
|
1297 |
-
<li>We are now pointing the download of ieSpell to their pages, instead to a direct
|
1298 |
-
file download from one of their mirrors. This disables the ability of "click and
|
1299 |
-
go" (which can still be achieved by pointing the download to a file in your server),
|
1300 |
-
but removes any troubles with mirrors link changes (and they change it frequently).</li>
|
1301 |
-
<li>The Word cleanup has been changed to remove "display:none" tags that may come from
|
1302 |
-
Word.</li>
|
1303 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1659613&group_id=75348">SF
|
1304 |
-
BUG-1659613</a>] The 2.4 version introduced a bug in the flash handling code that
|
1305 |
-
generated out of memory errors in IE7.</li>
|
1306 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1660456&group_id=75348">SF
|
1307 |
-
BUG-1660456</a>] The icons in context menus were draggable.</li>
|
1308 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1653009&group_id=75348">SF
|
1309 |
-
BUG-1653009</a>] If the server is configured to process html files as asp then it
|
1310 |
-
generated ASP error 0138.</li>
|
1311 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1288609&group_id=75348">SF
|
1312 |
-
BUG-1288609</a>] The content of iframes is now preserved.</li>
|
1313 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1245504&group_id=75348">SF
|
1314 |
-
BUG-1245504</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1652240&group_id=75348">SF
|
1315 |
-
BUG-1652240</a>] Flash files without the .swf extension weren't recognized upon
|
1316 |
-
reload.</li>
|
1317 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1649753&group_id=75348&atid=543655">SF
|
1318 |
-
PATCH-1649753</a>] Node selection for text didn't work in IE. Thanks to yurik dot
|
1319 |
-
m.</li>
|
1320 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1573191&group_id=75348&atid=543653">SF
|
1321 |
-
BUG-1573191</a>] The Html code inserted with FCK.InsertHtml didn't have the same
|
1322 |
-
protection for special tags.</li>
|
1323 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/110">#110</a>] The OK
|
1324 |
-
button in dialogs had its width set as an inline style.</li>
|
1325 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/113">#113</a>] [<a
|
1326 |
-
target="_blank" href="http://dev.fckeditor.net/ticket/94">#94</a>] [<a target="_blank"
|
1327 |
-
href="https://sourceforge.net/tracker/?func=detail&aid=1659270&group_id=75348&atid=543653">SF
|
1328 |
-
BUG-1659270</a>] ForcePasteAsPlainText didn't work in Firefox.</li>
|
1329 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/114">#114</a>] The correct
|
1330 |
-
entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.</li>
|
1331 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/90">#90</a>] The editor
|
1332 |
-
was wrongly removing some <br> tags from the code.</li>
|
1333 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/139">#139</a>] The CTRL+F
|
1334 |
-
and CTRL+S keystroke default behaviors are now preserved.</li>
|
1335 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/138">#138</a>] We are
|
1336 |
-
not providing a CTRL + ALT combination in the default configuration file because
|
1337 |
-
it may be incompatible with some keyboard layouts. So, the CTRL + ALT + S combination
|
1338 |
-
has been changed to CTRL + SHIFT + S.</li>
|
1339 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/129">#129</a>] In IE,
|
1340 |
-
it was not possible to paste if "Allow paste operation via script" was disabled
|
1341 |
-
in the browser security settings.</li>
|
1342 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/112">#112</a>] The enter
|
1343 |
-
key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.</li>
|
1344 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/152">#152</a>] Invalid
|
1345 |
-
self-closing tags are now being fixed before loading. </li>
|
1346 |
-
<li>A few tags were being ignored to the check for required contents (not getting stripped
|
1347 |
-
out, as expected). Fixed.</li>
|
1348 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] The HR
|
1349 |
-
tag will not anymore break the contents loaded in the editor.</li>
|
1350 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/211">#211</a>] Some invalid
|
1351 |
-
inputs, like "<p>" where making the caret disappear in Firefox.</li>
|
1352 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99</a>] The <div>
|
1353 |
-
element is now considered a block container if EnterMode=p|br. It acts like a simple
|
1354 |
-
block only if EnterMode=div.</li>
|
1355 |
-
<li>Hidden fields will now show up as an icon in IE, instead of a normal text field.
|
1356 |
-
They are also selectable and draggable, in all browsers.</li>
|
1357 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/213">#213</a>] Styles
|
1358 |
-
are now preserved when hitting enter at the end of a paragraph.</li>
|
1359 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/77">#77</a>] If ShiftEnterMode
|
1360 |
-
is set to a block tag (p or div), the desired block creation in now enforced, instead
|
1361 |
-
of copying the current block (which is still the behavior of the simple enter).</li>
|
1362 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/209">#209</a>] Links and
|
1363 |
-
images URLs will now be correctly preserved with Netscape 7.1.</li>
|
1364 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/165">#165</a>] The enter
|
1365 |
-
key now honors the EnterMode settings when outdenting a list item.</li>
|
1366 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/190">#190</a>] Toolbars
|
1367 |
-
may be wrongly positioned. Fixed.</li>
|
1368 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#254</a>] The IgnoreEmptyParagraphValue
|
1369 |
-
setting is now correctly handled in Firefox.</li>
|
1370 |
-
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#248</a>] The behavior
|
1371 |
-
of the backspace key has been fixed on some very specific cases.</li>
|
1372 |
-
</ul>
|
1373 |
-
<h3>
|
1374 |
-
Version 2.4</h3>
|
1375 |
-
<p>
|
1376 |
-
New Features and Improvements:</p>
|
1377 |
-
<ul>
|
1378 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1329273&group_id=75348&atid=543656">SF
|
1379 |
-
Feature-1329273</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456005&group_id=75348&atid=543656">SF
|
1380 |
-
Feature-1456005</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315002&group_id=75348&atid=543653">SF
|
1381 |
-
BUG-1315002</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1350180&group_id=75348&atid=543653">SF
|
1382 |
-
BUG-1350180</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1450689&group_id=75348&atid=543653">SF
|
1383 |
-
BUG-1450689</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1461033&group_id=75348&atid=543653">SF
|
1384 |
-
BUG-1461033</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1510111&group_id=75348&atid=543653">SF
|
1385 |
-
BUG-1510111</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1203560&group_id=75348&atid=543653">SF
|
1386 |
-
BUG-1203560</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1564838&group_id=75348&atid=543653">SF
|
1387 |
-
BUG-1564838</a>] The advance <strong>Enter Key Handler</strong>
|
1388 |
-
is now being introduced. It gives you complete freedom to configure the editor to
|
1389 |
-
generate <strong><p>, <div> or <br></strong> when the user uses
|
1390 |
-
both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode"
|
1391 |
-
settings can be use to control its behavior. It also guarantees that all browsers
|
1392 |
-
will generate the same output. </li>
|
1393 |
-
<li>The new and powerful <strong>Keyboard Accelerator System</strong> is being introduced.
|
1394 |
-
You can now precisely control the commands to execute when some key combinations
|
1395 |
-
are activated by the user. It guarantees that all browsers will have the same behavior
|
1396 |
-
regarding the shortcuts.<br />
|
1397 |
-
It also makes it possible to remove buttons from the toolbar and still invoke their
|
1398 |
-
features by using the keyboard instead.
|
1399 |
-
<br />
|
1400 |
-
It also blocks all default "CTRL based shortcuts" imposed by the browsers, so if
|
1401 |
-
you don't want users to underline text, just remove the CTRL+U combination from
|
1402 |
-
the keystrokes table. Take a look at the FCKConfig.Keystrokes setting in the fckconfig.js
|
1403 |
-
file. </li>
|
1404 |
-
<li>The new "<strong>ProtectedTags</strong>" configuration option is being introduced.
|
1405 |
-
It will accept a list of tags (separated by a pipe "|"), which will have no effect
|
1406 |
-
during editing, but will still be part of the document DOM. This can be used mainly
|
1407 |
-
for non HTML standard, custom tags.</li>
|
1408 |
-
<li>Dialog box commands can now open resizable dialogs (by setting oCommand.Resizable
|
1409 |
-
= true).</li>
|
1410 |
-
<li>Updated support for AFP. Thanks to Soenke Freitag.</li>
|
1411 |
-
<li>New language file:<ul>
|
1412 |
-
<li><strong>Afrikaans</strong> (by Willem Petrus Botha). </li>
|
1413 |
-
</ul>
|
1414 |
-
</li>
|
1415 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456343&group_id=75348&atid=543655">SF
|
1416 |
-
Patch-1456343</a>] New sample file showing how to dynamically exchange a textarea
|
1417 |
-
and an instance of FCKeditor. Thanks to Finn Hakansson</li>
|
1418 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1496115&group_id=75348&atid=543655">SF
|
1419 |
-
Patch-1496115</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1588578&group_id=75348&atid=543653">SF
|
1420 |
-
BUG-1588578</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1376534&group_id=75348&atid=543653">SF
|
1421 |
-
BUG-1376534</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1343506&group_id=75348&atid=543653">SF
|
1422 |
-
BUG-1343506</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1211065&group_id=75348&atid=543656">SF
|
1423 |
-
Feature-1211065</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=949144&group_id=75348&atid=543656">SF
|
1424 |
-
Feature-949144</a>] The content of anchors are shown and preserved
|
1425 |
-
on creation. * </li>
|
1426 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1587175&group_id=75348&atid=543656">SF
|
1427 |
-
Feature-1587175</a>] Local links to an anchor are readjusted if the anchor changes.</li>
|
1428 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1500040&group_id=75348&atid=543655">SF
|
1429 |
-
Patch-1500040</a>] New configuration values to specify the Id and Class for the
|
1430 |
-
body element.</li>
|
1431 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577202&group_id=75348&atid=543655">SF
|
1432 |
-
Patch-1577202</a>] The links created with the popup option now are accessible even
|
1433 |
-
if the user has JavaScript disabled.</li>
|
1434 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1443472&group_id=75348&atid=543655">SF
|
1435 |
-
Patch-1443472</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1576488&group_id=75348&atid=543653">SF
|
1436 |
-
BUG-1576488</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1334305&group_id=75348&atid=543653">SF
|
1437 |
-
BUG-1334305</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1578312&group_id=75348&atid=543653">SF
|
1438 |
-
BUG-1578312</a>] The Paste from Word clean up function can be configured
|
1439 |
-
with FCKConfig.CleanWordKeepsStructure to preserve the markup as much as possible.
|
1440 |
-
Thanks Jean-Charles ROGEZ. </li>
|
1441 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1472654&group_id=75348&atid=543655">SF
|
1442 |
-
Patch-1472654</a>] The server side script location for SpellerPages can now be set
|
1443 |
-
in the configuration file, by using the SpellerPagesServerScript setting.</li>
|
1444 |
-
<li><span style="color: #ff0000">Attention:</span> All connectors are now pointing by
|
1445 |
-
default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also,
|
1446 |
-
the inner folders for each type (file, image, flash and media) are all lower-cased
|
1447 |
-
too.</li>
|
1448 |
-
<li><span style="color: #ff0000">Attention:</span> The UseBROnCarriageReturn configuration
|
1449 |
-
is not anymore valid. The EnterMode setting can now be used to precisely set the
|
1450 |
-
enter key behavior.</li>
|
1451 |
-
</ul>
|
1452 |
-
<p>
|
1453 |
-
Fixed Bugs:</p>
|
1454 |
-
<ul>
|
1455 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1444937&group_id=75348">SF
|
1456 |
-
BUG-1444937</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1274364&group_id=75348">SF
|
1457 |
-
BUG-1274364</a>] Shortcut keys are now undoable correctly.</li>
|
1458 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1015230&group_id=75348">SF
|
1459 |
-
BUG-1015230</a>] Toolbar buttons now update their state on shortcut keys activation.</li>
|
1460 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1485621&group_id=75348">SF
|
1461 |
-
BUG-1485621</a>] It is now possible to precisely control which shortcut keys can
|
1462 |
-
be used.</li>
|
1463 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1573714&group_id=75348">SF
|
1464 |
-
BUG-1573714</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1593323&group_id=75348">SF
|
1465 |
-
BUG-1593323</a>] Paste was not working in IE if both AutoDetectPasteFromWord
|
1466 |
-
and ForcePasteAsPlainText settings were set to "false". </li>
|
1467 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1578306&group_id=75348">SF
|
1468 |
-
BUG-1578306</a>] The context menu was wrongly positioned if the editing document
|
1469 |
-
was set to render in strict mode. Thanks to Alfonso Martinez.</li>
|
1470 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1567060&group_id=75348">SF
|
1471 |
-
BUG-1567060</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1565902&group_id=75348">SF
|
1472 |
-
BUG-1565902</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1440631&group_id=75348">SF
|
1473 |
-
BUG-1440631</a>] IE was getting locked on some specific cases. Fixed.</li>
|
1474 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1582859&group_id=75348">SF
|
1475 |
-
BUG-1582859</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1579507&group_id=75348&atid=543655">SF
|
1476 |
-
Patch-1579507</a>] Firefox' spellchecker is now disabled during editing mode.
|
1477 |
-
Thanks to Alfonso Martinez.</li>
|
1478 |
-
<li>Fixed Safari and Opera detection system (for development purposes only).</li>
|
1479 |
-
<li>Paste from Notepad was including font information in IE. Fixed.</li>
|
1480 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584092&group_id=75348">SF
|
1481 |
-
BUG-1584092</a>] When replacing text area, names with spaces are now accepted.</li>
|
1482 |
-
<li>Depending on the implementation of toolbar combos (mainly for custom plugins) the
|
1483 |
-
editor area was loosing the focus when clicking in the combo label. Fixed.</li>
|
1484 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1596937&group_id=75348&atid=543653">SF
|
1485 |
-
BUG-1596937</a>] InsertHtml() was inserting the HTML outside the editor area on
|
1486 |
-
some very specific cases.</li>
|
1487 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1585548&group_id=75348">SF
|
1488 |
-
BUG-1585548</a>] On very specific, rare and strange cases, the XHTML processor was
|
1489 |
-
not working properly in IE. Fixed.</li>
|
1490 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584951&group_id=75348">SF
|
1491 |
-
BUG-1584951</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1380598&group_id=75348">SF
|
1492 |
-
BUG-1380598</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1198139&group_id=75348">SF
|
1493 |
-
BUG-1198139</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1437318&group_id=75348">SF
|
1494 |
-
BUG-1437318</a>] In Firefox, the style selector will not anymore delete
|
1495 |
-
the contents when removing styles on specific cases.</li>
|
1496 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1515441&group_id=75348">SF
|
1497 |
-
BUG-1515441</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1451071&group_id=75348">SF
|
1498 |
-
BUG-1451071</a>] The "Insert/Edit Link" and "Select All" buttons are now working
|
1499 |
-
properly when the editor is running on a IE Modal dialog.</li>
|
1500 |
-
<li>On some very rare cases, IE was throwing a memory error when hiding the context
|
1501 |
-
menus. Fixed.</li>
|
1502 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1526154&group_id=75348">SF
|
1503 |
-
BUG-1526154</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1509208&group_id=75348&atid=543653">SF
|
1504 |
-
BUG-1509208</a>] With Firefox, <style> tags defined in the source are
|
1505 |
-
now preserved.</li>
|
1506 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1535946&group_id=75348">SF
|
1507 |
-
BUG-1535946</a>] The IE dialog system has been changed to better work with custom
|
1508 |
-
dialogs.</li>
|
1509 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599520&group_id=75348">SF
|
1510 |
-
BUG-1599520</a>] The table dialog was producing empty tags when leaving some of
|
1511 |
-
its fields empty.</li>
|
1512 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599545&group_id=75348">SF
|
1513 |
-
BUG-1599545</a>] HTML entities are now processed on attribute values too.</li>
|
1514 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1598517&group_id=75348">SF
|
1515 |
-
BUG-1598517</a>] Meta tags are now protected from execution during editing (avoiding
|
1516 |
-
the "redirect" meta to be activated).</li>
|
1517 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1415601&group_id=75348">SF
|
1518 |
-
BUG-1415601</a>] Firefox internals: styleWithCSS is used instead of the deprecated
|
1519 |
-
useCSS whenever possible.</li>
|
1520 |
-
<li>All JavaScript Core extension function have been renamed to "PascalCase" (some were
|
1521 |
-
in "camelCase"). This may have impact on plugins that use any of those functions.</li>
|
1522 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1592311&group_id=75348">SF
|
1523 |
-
BUG-1592311</a>] Operations in the caption of tables are now working correctly in
|
1524 |
-
both browsers.</li>
|
1525 |
-
<li>Small interface fixes to the about box.</li>
|
1526 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1604576&group_id=75348&atid=543655">SF
|
1527 |
-
PATCH-1604576</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1604301&group_id=75348">SF
|
1528 |
-
BUG-1604301</a>] Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos</li>
|
1529 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577247&group_id=75348&atid=543653">SF
|
1530 |
-
BUG-1577247</a>] Unneeded call to captureEvents and releaseEvents.</li>
|
1531 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1610790&group_id=75348">SF
|
1532 |
-
BUG-1610790</a>] On some specific situations, the call to form.submit(), in form
|
1533 |
-
were FCKeditor has been unloaded by code, was throwing the "Can't execute code from
|
1534 |
-
a freed script" error.</li>
|
1535 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1613167&group_id=75348&atid=543653">SF
|
1536 |
-
BUG-1613167</a>] If the configuration was missing the FCKConfig.AdditionalNumericEntities
|
1537 |
-
entry an error appeared.</li>
|
1538 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1590848&group_id=75348&atid=543653">SF
|
1539 |
-
BUG-1590848</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1626360&group_id=75348&atid=543653">SF
|
1540 |
-
BUG-1626360</a>] Cleaning of JavaScript strict warnings in the source code.</li>
|
1541 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1559466&group_id=75348&atid=543653">SF
|
1542 |
-
BUG-1559466</a>] The ol/ul list property window always searched first for a UL element.</li>
|
1543 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1516008&group_id=75348&atid=543653">SF
|
1544 |
-
BUG-1516008</a>] Class attribute in IE wasn't loaded in the image dialog.</li>
|
1545 |
-
<li>The "OnAfterSetHTML" event is now fired when being/switching to Source View.</li>
|
1546 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1631807&group_id=75348&atid=543653">SF
|
1547 |
-
BUG-1631807</a>] Elements' style properties are now forced to lowercase in IE.</li>
|
1548 |
-
<li>The extensions "html", "htm" and "asis" have been added to the list of denied extensions
|
1549 |
-
on upload.</li>
|
1550 |
-
<li>Empty inline elements (like span and strong) will not be generated any more.</li>
|
1551 |
-
<li>Some elements attributes (like hspace) where not being retrieved when set to "0".</li>
|
1552 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1508341&group_id=75348&atid=543653">SF
|
1553 |
-
BUG-1508341</a>] Fix for the ColdFusion script file of SpellerPages.</li>
|
1554 |
-
</ul>
|
1555 |
-
<p>
|
1556 |
-
* This version has been partially sponsored by <a href="http://www.imedi.org/">Medical
|
1557 |
-
Media Lab</a>.</p>
|
1558 |
-
<h3>
|
1559 |
-
Version 2.3.3</h3>
|
1560 |
-
<p>
|
1561 |
-
New Features and Improvements:</p>
|
1562 |
-
<ul>
|
1563 |
-
<li>The project has been <strong>relicensed</strong> under the terms of the <strong>
|
1564 |
-
GPL / LGPL / MPL</strong> licenses. This change will remove many licensing compatibility
|
1565 |
-
issues with other open source licenses, making the editor even more "open" than
|
1566 |
-
before. </li>
|
1567 |
-
<li><font color="#ff0000">Attention:</font> The default directory in the distribution
|
1568 |
-
package is now named "fckeditor" (in lowercase) instead of "FCKeditor". This
|
1569 |
-
change may impact installations on case sensitive OSs, like Linux. </li>
|
1570 |
-
<li><font color="#ff0000">Attention:</font> The "Universal Keyboard" has been removed
|
1571 |
-
from the package. The license of those files was unclear so they can't be included
|
1572 |
-
alongside the rest of FCKeditor.</li>
|
1573 |
-
</ul>
|
1574 |
-
<h3>
|
1575 |
-
Version 2.3.2</h3>
|
1576 |
-
<p>
|
1577 |
-
New Features and Improvements:</p>
|
1578 |
-
<ul>
|
1579 |
-
<li>Users can now decide if the template dialog will replace the entire contents of
|
1580 |
-
the editor or simply place the template in the cursor position. This feature can
|
1581 |
-
be controlled by the "TemplateReplaceAll" and "TemplateReplaceCheckbox" configuration
|
1582 |
-
options.</li>
|
1583 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237693&group_id=75348&atid=543655">SF
|
1584 |
-
Patch-1237693</a>] A new configuration option (<strong>ProcessNumericEntities</strong>)
|
1585 |
-
is now available to tell the editor to convert non ASCII chars to their relative
|
1586 |
-
numeric entity references. It is disabled by default.</li>
|
1587 |
-
<li>The new "<strong>AdditionalNumericEntities</strong>" setting makes it possible to
|
1588 |
-
define a set of characters to be transformed to their relative numeric entities.
|
1589 |
-
This is useful when you don't want the code to have simple quotes ('), for example.</li>
|
1590 |
-
<li>The Norwegian language file (no.js) has been duplicated to include the Norwegian
|
1591 |
-
Bokmal (nb.js) in the supported interface languages. Thanks to Martin Kronstad.
|
1592 |
-
</li>
|
1593 |
-
<li>Two new patterns have been added to the Universal Keyboard:
|
1594 |
-
<ul>
|
1595 |
-
<li>Persian. Thanks to Pooyan Mahdavi</li>
|
1596 |
-
<li>Portuguese. Thanks to Bo Brandt.</li>
|
1597 |
-
</ul>
|
1598 |
-
</li>
|
1599 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF
|
1600 |
-
Patch-1517322</a>] It is now possible to define the start number on numbered lists.
|
1601 |
-
Thanks to Marcel Bennett.</li>
|
1602 |
-
<li>The Font Format combo will now reflect the EditorAreaCSS styles.</li>
|
1603 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1461539&group_id=75348&atid=543655">SF
|
1604 |
-
Patch-1461539</a>] The File Browser connector can now optionally return a "url"
|
1605 |
-
attribute for the files. Thanks to Pent.</li>
|
1606 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1090851&group_id=75348">SF
|
1607 |
-
BUG-1090851</a>] The new "ToolbarComboPreviewCSS" configuration option has been
|
1608 |
-
created, so it is possible to point the Style and Format toolbar combos to a different
|
1609 |
-
CSS, avoiding conflicts with the editor area CSS.</li>
|
1610 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1421309&group_id=75348&atid=543656">SF
|
1611 |
-
Feature-1421309</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1489402&group_id=75348">SF
|
1612 |
-
BUG-1489402</a>] It is now possible to configure the Quick Uploder target path
|
1613 |
-
to consider the file type (ex: Image or File) in the target path for uploads.</li>
|
1614 |
-
<li>The JavaScript integration file has two new things:
|
1615 |
-
<ul>
|
1616 |
-
<li>The "CreateHtml()" function in the FCKeditor object, used to retrieve the HTML of
|
1617 |
-
an editor instance, instead of writing it directly to the page (as done by "Create()").</li>
|
1618 |
-
<li>The global "FCKeditor_IsCompatibleBrowser()" function, which tells if the executing
|
1619 |
-
browser is compatible with FCKeditor. This makes it possible to do any necessary
|
1620 |
-
processing depending on the compatibility, without having to create and editor instance.</li>
|
1621 |
-
</ul>
|
1622 |
-
</li>
|
1623 |
-
</ul>
|
1624 |
-
<p>
|
1625 |
-
Fixed Bugs:</p>
|
1626 |
-
<ul>
|
1627 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1525242&group_id=75348">SF
|
1628 |
-
BUG-1525242</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500050&group_id=75348">SF
|
1629 |
-
BUG-1500050</a>] All event attributes (like onclick or onmouseover) are now
|
1630 |
-
being protected before loading the editor. In this way, we avoid firing those events
|
1631 |
-
during editing (IE issue) and they don't interfere in other specific processors
|
1632 |
-
in the editor.</li>
|
1633 |
-
<li>Small security fixes to the File Browser connectors. </li>
|
1634 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1546226&group_id=75348">SF
|
1635 |
-
BUG-1546226</a>] Small fix to the ColdFusion CFC integration file.</li>
|
1636 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&atid=543655&aid=1547768&group_id=75348">SF
|
1637 |
-
Patch-1407500</a>] The Word Cleanup function was breaking the HTML on pasting, on
|
1638 |
-
very specific cases. Fixed, thanks to Frode E. Moe.</li>
|
1639 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551979&group_id=75348&atid=543655">SF
|
1640 |
-
Patch-1551979</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1418066&group_id=75348">SF
|
1641 |
-
BUG-1418066</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1439621&group_id=75348">SF
|
1642 |
-
BUG-1439621</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1501698&group_id=75348&atid=543653">SF
|
1643 |
-
BUG-1501698</a>] Make FCKeditor work with application/xhtml+xml. Thanks
|
1644 |
-
to Arpad Borsos.</li>
|
1645 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1547738&group_id=75348&atid=543655">SF
|
1646 |
-
Patch-1547738</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1550595&group_id=75348&atid=543653">SF
|
1647 |
-
BUG-1550595</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1540807&group_id=75348&atid=543653">SF
|
1648 |
-
BUG-1540807</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1510685&group_id=75348&atid=543653">SF
|
1649 |
-
BUG-1510685</a>] Fixed problem with panels wrongly positioned when the
|
1650 |
-
editor is placed on absolute or relative positioned elements. Thanks to Filipe Martins.</li>
|
1651 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1511294&group_id=75348&atid=543655">SF
|
1652 |
-
Patch-1511294</a>] Small fix for the File Browser compatibility with IE 5.5.</li>
|
1653 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1503178&group_id=75348&atid=543655">SF
|
1654 |
-
Patch-1503178</a>] Small improvement to stop IE from loading smiley images when
|
1655 |
-
one smiley is quickly selected from a huge list of smileys. Thanks to stuckhere.</li>
|
1656 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1549112&group_id=75348&atid=543653">SF
|
1657 |
-
BUG-1549112</a>] The Replace dialog window now escapes regular expression specific
|
1658 |
-
characters in the find and replace fields.</li>
|
1659 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1548788&group_id=75348&atid=543653">SF
|
1660 |
-
BUG-1548788</a>] Updated the ieSpell download URL.</li>
|
1661 |
-
<li>In FF, the editor was throwing an error when closing the window. Fixed.</li>
|
1662 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1538509&group_id=75348&atid=543653">SF
|
1663 |
-
BUG-1538509</a>] The "type" attribute for text fields will always be set now.</li>
|
1664 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551734&group_id=75348&atid=543653">SF
|
1665 |
-
BUG-1551734</a>] The SetHTML function will now update the editing area height no
|
1666 |
-
matter which editing mode is active.</li>
|
1667 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1554141&group_id=75348&atid=543653">SF
|
1668 |
-
BUG-1554141</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1565562&group_id=75348&atid=543653">SF
|
1669 |
-
BUG-1565562</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1451056&group_id=75348&atid=543653">SF
|
1670 |
-
BUG-1451056</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1478408&group_id=75348&atid=543653">SF
|
1671 |
-
BUG-1478408</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489322&group_id=75348&atid=543653">SF
|
1672 |
-
BUG-1489322</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513667&group_id=75348&atid=543653">SF
|
1673 |
-
BUG-1513667</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1562134&group_id=75348&atid=543653">SF
|
1674 |
-
BUG-1562134</a>] The protection of URLs has been enhanced
|
1675 |
-
and now it will not break URLs on very specific cases.</li>
|
1676 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1545732&group_id=75348&atid=543653">SF
|
1677 |
-
BUG-1545732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1490919&group_id=75348&atid=543653">SF
|
1678 |
-
BUG-1490919</a>] No security errors will be thrown when loading FCKeditor in
|
1679 |
-
page inside a FRAME defined in a different domain.</li>
|
1680 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512817&group_id=75348&atid=543653">SF
|
1681 |
-
BUG-1512817</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1571345&group_id=75348&atid=543653">SF
|
1682 |
-
BUG-1571345</a>] Fixed the "undefined" addition to the content when ShowBorders
|
1683 |
-
= false and FullPage = true in Firefox. Thanks to Brett.</li>
|
1684 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512798&group_id=75348&atid=543653">SF
|
1685 |
-
BUG-1512798</a>] BaseHref will now work well on FullPage, even if no <head>
|
1686 |
-
is available.</li>
|
1687 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1509923&group_id=75348&atid=543653">SF
|
1688 |
-
BUG-1509923</a>] The DocumentProcessor is now called when using InserHtml().</li>
|
1689 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505964&group_id=75348&atid=543653">SF
|
1690 |
-
BUG-1505964</a>] The DOCTYPE declaration is now preserved when working in FullPage.</li>
|
1691 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1553727&group_id=75348&atid=543653">SF
|
1692 |
-
BUG-1553727</a>] The editor was throwing an error when inserting complex templates.
|
1693 |
-
Fixed.</li>
|
1694 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1564930&group_id=75348&atid=543655">SF
|
1695 |
-
Patch-1564930</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1562828&group_id=75348">SF
|
1696 |
-
BUG-1562828</a>] In IE, anchors where incorrectly copied when using the Paste
|
1697 |
-
from Word button. Fixed, thanks to geirhelge.</li>
|
1698 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1557709&group_id=75348&atid=543653">SF
|
1699 |
-
BUG-1557709</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1421810&group_id=75348&atid=543653">SF
|
1700 |
-
BUG-1421810</a>] The link dialog now validates Popup Window names.</li>
|
1701 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1556878&group_id=75348&atid=543653">SF
|
1702 |
-
BUG-1556878</a>] Firefox was creating empty tags when deleting the selection in
|
1703 |
-
some special cases.</li>
|
1704 |
-
<li>The context menu for links is now correctly shown when right-clicking on floating
|
1705 |
-
divs.</li>
|
1706 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1084404&group_id=75348&atid=543653">SF
|
1707 |
-
BUG-1084404</a>] The XHTML processor now ignores empty span tags.</li>
|
1708 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221728&group_id=75348&atid=543653">SF
|
1709 |
-
BUG-1221728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1174503&group_id=75348&atid=543653">SF
|
1710 |
-
BUG-1174503</a>] The <abbr> tag is not anymore getting broken by IE.</li>
|
1711 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1182906&group_id=75348&atid=543653">SF
|
1712 |
-
BUG-1182906</a>] IE is not anymore messing up mailto links.</li>
|
1713 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1386094&group_id=75348&atid=543653">SF
|
1714 |
-
BUG-1386094</a>] Fixed an issue when setting configuration options to empty ('')
|
1715 |
-
by code.</li>
|
1716 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1389435&group_id=75348&atid=543653">SF
|
1717 |
-
BUG-1389435</a>] Fixed an issue in some dialog boxes when handling numeric inputs.</li>
|
1718 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1398829&group_id=75348&atid=543653">SF
|
1719 |
-
BUG-1398829</a>] Some links may got broken on very specific cases. Fixed.</li>
|
1720 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1409969&group_id=75348&atid=543653">SF
|
1721 |
-
BUG-1409969</a>] <noscript> tags now remain untouched by the editor.</li>
|
1722 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1433457&group_id=75348&atid=543653">SF
|
1723 |
-
BUG-1433457</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513631&group_id=75348&atid=543653">SF
|
1724 |
-
BUG-1513631</a>] Empty "href" attributes in <a> or empty "src" in <img>
|
1725 |
-
will now be correctly preserved.</li>
|
1726 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1435195&group_id=75348&atid=543653">SF
|
1727 |
-
BUG-1435195</a>] Scrollbars are now visible in the File Browser (for custom implementations).</li>
|
1728 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1438296&group_id=75348&atid=543653">SF
|
1729 |
-
BUG-1438296</a>] The "ForceSimpleAmpersand" setting is now being honored in all
|
1730 |
-
tags.</li>
|
1731 |
-
<li>If a popup blocker blocks context menu operations, the correct alert message is
|
1732 |
-
displayed now, instead of a ugly JavaScript error.</li>
|
1733 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1454116&group_id=75348&atid=543653">SF
|
1734 |
-
BUG-1454116</a>] The GetXHTML() function will not change the IsDirty() value of
|
1735 |
-
the editor.</li>
|
1736 |
-
<li>The spell check may not work correctly when using SpellerPages with ColdFusion.
|
1737 |
-
Fixed.</li>
|
1738 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1481861&group_id=75348&atid=543653">SF
|
1739 |
-
BUG-1481861</a>] HTML comments are now removed by the Word Cleanup System.</li>
|
1740 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489390&group_id=75348&atid=543653">SF
|
1741 |
-
BUG-1489390</a>] A few missing hard coded combo options used in some dialogs are
|
1742 |
-
now localizable.</li>
|
1743 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505448&group_id=75348&atid=543653">SF
|
1744 |
-
BUG-1505448</a>] The Form dialog now retrieves the value of the "action" attribute
|
1745 |
-
exactly as defined in the source.</li>
|
1746 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF
|
1747 |
-
Patch-1517322</a>] Solved an issue when the toolbar has buttons with simple icons
|
1748 |
-
(usually used by plugins) mixed with icons coming from a strip (the default toolbar
|
1749 |
-
buttons).</li>
|
1750 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1575261&group_id=75348&atid=543655">SF
|
1751 |
-
Patch-1575261</a>] Some fields in the Table and Cell Properties dialogs were being
|
1752 |
-
cut. Fixed.</li>
|
1753 |
-
<li>Fixed a startup compatibility issue with Firefox 1.0.4.</li>
|
1754 |
-
</ul>
|
1755 |
-
<h3>
|
1756 |
-
Version 2.3.1</h3>
|
1757 |
-
<p>
|
1758 |
-
Fixed Bugs:</p>
|
1759 |
-
<ul>
|
1760 |
-
<li>[<a target="_blank" href="https://sourceforge.net/support/tracker.php?aid=1506126">SF
|
1761 |
-
BUG-1506126</a>] Fixed the Catalan language file, which had been published with
|
1762 |
-
problems in accented letters. </li>
|
1763 |
-
<li>More performance improvements in the default File Browser.</li>
|
1764 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1506701&group_id=75348&atid=543653">SF
|
1765 |
-
BUG-1506701</a>] Fixed compatibility issues with IE 5.5.</li>
|
1766 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509073&group_id=75348&atid=543653">SF
|
1767 |
-
BUG-1509073</a>] Fixed the "Image Properties" dialog window, which was making invalid
|
1768 |
-
calls to the "editor/dialog/" directory, generating error 400 entries in the web
|
1769 |
-
server log.</li>
|
1770 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507294&group_id=75348&atid=543653">SF
|
1771 |
-
BUG-1507294</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507953&group_id=75348&atid=543653">SF
|
1772 |
-
BUG-1507953</a>] The editing area was getting a fixed size when using the "SetHTML"
|
1773 |
-
API command or even when switching back from the source view. Fixed.</li>
|
1774 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1507755&group_id=75348">SF
|
1775 |
-
BUG-1507755</a>] Fixed a conflict between the "DisableObjectResizing" and "ShowBorders"
|
1776 |
-
configuration options over IE.</li>
|
1777 |
-
<li>Opera 9 tries to "mimic" Gecko in the browser detection system of FCKeditor. As
|
1778 |
-
this browser is not "yet" supported, the editor was broken on it. It has been fixed,
|
1779 |
-
and now a textarea is displayed, as in any other unsupported browser. Support for
|
1780 |
-
Opera is still experimental and can be activated by setting the property "EnableOpera"
|
1781 |
-
to true when creating an instance of the editor with the JavaScript integration
|
1782 |
-
files.</li>
|
1783 |
-
<li>With Opera 9, the toolbar was jumping on buttons rollover. </li>
|
1784 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509479&group_id=75348&atid=543656">SF
|
1785 |
-
BUG-1509479</a>] The iframes used in Firefox for all editor panels (dropdown combos,
|
1786 |
-
context menu, etc...) are now being placed right before the main iframe that holds
|
1787 |
-
the editor. In this way, if the editor container element is removed from the DOM
|
1788 |
-
(by DHTML) they are removed together with it.</li>
|
1789 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271070&group_id=75348&atid=543653">SF
|
1790 |
-
BUG-1271070</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1411430&group_id=75348&atid=543653">SF
|
1791 |
-
BUG-1411430</a>] The editor API now works well on DHTML pages that create and
|
1792 |
-
remove instances of FCKeditor dynamically. </li>
|
1793 |
-
<li>A second call to a page with the editor was not working correctly with Firefox 1.0.x.
|
1794 |
-
Fixed.</li>
|
1795 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511460&group_id=75348&atid=543653">SF
|
1796 |
-
BUG-1511460</a>] Small correction to the <script> protected source regex.
|
1797 |
-
Thanks to Randall Severy.</li>
|
1798 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1521754&group_id=75348">SF
|
1799 |
-
BUG-1521754</a>] Small fix to the paths of the internal CSS files used by FCKeditor.
|
1800 |
-
Thanks to johnw_ceb.</li>
|
1801 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511442&group_id=75348&atid=543653">SF
|
1802 |
-
BUG-1511442</a>] The <base> tag is now correctly handled in IE, no matter
|
1803 |
-
its position in the source code.</li>
|
1804 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507773&group_id=75348&atid=543653">SF
|
1805 |
-
BUG-1507773</a>] The "Lock" and "Reset" buttons in the Image Properties dialog window
|
1806 |
-
are not anymore jumping with Firefox 1.5.</li>
|
1807 |
-
</ul>
|
1808 |
-
<h3>
|
1809 |
-
Version 2.3</h3>
|
1810 |
-
<p>
|
1811 |
-
New Features and Improvements:</p>
|
1812 |
-
<ul>
|
1813 |
-
<li>The <strong>Toolbar Sharing</strong> system has been completed. See sample10.html
|
1814 |
-
and sample11.html.*</li>
|
1815 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1407500&group_id=75348&atid=543655">SF
|
1816 |
-
Patch-1407500</a>] Small enhancement to the Find and Replace dialog windows.</li>
|
1817 |
-
</ul>
|
1818 |
-
<p>
|
1819 |
-
Fixed Bugs:</p>
|
1820 |
-
<ul>
|
1821 |
-
<li>Small security fixes.</li>
|
1822 |
-
<li>The context menu system has been optimized. Nested menus now open "onmouseover".
|
1823 |
-
</li>
|
1824 |
-
<li>An error in the image preloader system was making the toolbar strip being downloaded
|
1825 |
-
once for each button on slow connections. Some enhancements have also been made
|
1826 |
-
so now the smaple05.html is loading fast for all skins.</li>
|
1827 |
-
<li>Fixed many memory leak issues with IE.</li>
|
1828 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1489768&group_id=75348&atid=543653">SF
|
1829 |
-
BUG-1489768</a>] The panels (context menus, toolbar combos and color selectors),
|
1830 |
-
where being displayed in the wrong position if the contents of the editor, or its
|
1831 |
-
containing window were scrolled down. </li>
|
1832 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1493176&group_id=75348">SF
|
1833 |
-
BUG-1493176</a>] Using ASP, the connector was not working on servers with buffer
|
1834 |
-
disable by default.</li>
|
1835 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1491784&group_id=75348&atid=543653">SF
|
1836 |
-
BUG-1491784</a>] Language files have been updated to not include html entities.</li>
|
1837 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490259&group_id=75348&atid=543653">SF
|
1838 |
-
BUG-1490259</a>] No more security warning on IE over HTTPS.</li>
|
1839 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493173&group_id=75348&atid=543653">SF
|
1840 |
-
BUG-1493173</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499708&group_id=75348">SF
|
1841 |
-
BUG-1499708</a>] We now assume that, if a user is in source editing, he/she
|
1842 |
-
wants to control the HTML, so the editor doesn't make changes to it when posting
|
1843 |
-
the form being in source view or when calling the GetXHTML function in the API.
|
1844 |
-
</li>
|
1845 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490610&group_id=75348&atid=543653">SF
|
1846 |
-
BUG-1490610</a>] The FitWindow is now working on elements set with relative position.</li>
|
1847 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493438&group_id=75348&atid=543653">SF
|
1848 |
-
BUG-1493438</a>] The "Word Wrap" combo in the cell properties dialog now accepts
|
1849 |
-
only Yes/No (no more <Not Set> value).</li>
|
1850 |
-
<li>The context menu is now being hidden when a nested menu option is selected.</li>
|
1851 |
-
<li>Table cell context menu operations are now working correctly.</li>
|
1852 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1494549&group_id=75348&atid=543653">SF
|
1853 |
-
BUG-1494549</a>] The code formatter was having problems with dollar signs inside
|
1854 |
-
<pre> tags.</li>
|
1855 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459740&group_id=75348&atid=543655">SF
|
1856 |
-
Patch-1459740</a>] The "src" element of images can now be set by styles definitions.
|
1857 |
-
Thanks to joelwreed.</li>
|
1858 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1437052&group_id=75348&atid=543655">SF
|
1859 |
-
Patch-1437052</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1436166&group_id=75348&atid=543655">SF
|
1860 |
-
Patch-1436166</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352385&group_id=75348&atid=543655">SF
|
1861 |
-
Patch-1352385</a>] Small fix to the FCK.InsertHtml, FCKTools.AppendStyleSheet
|
1862 |
-
and FCKSelection.SelectNode functions over IE. Thanks to Alfonso Martinez.</li>
|
1863 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349765&group_id=75348&atid=543655">SF
|
1864 |
-
Patch-1349765</a>] Small fix to the FCKSelection.GetType over Firefox. Thanks to
|
1865 |
-
Alfonso Martinez.</li>
|
1866 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1495422&group_id=75348">SF
|
1867 |
-
Patch-1495422</a>] The editor now creates link based on the URL when no selection
|
1868 |
-
is available. Thanks to Dominik Pesch.</li>
|
1869 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1478859&group_id=75348">SF
|
1870 |
-
Patch-1478859</a>] On some circumstances, the Yahoo popup blocker was blocking the
|
1871 |
-
File Browser window, giving no feedback to the user. Now an alert message is displayed.</li>
|
1872 |
-
<li>When using the editor in a RTL localized interface, like Arabic, the toolbar combos
|
1873 |
-
were not showing completely in the first click. Fixed.</li>
|
1874 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500212&group_id=75348">SF
|
1875 |
-
BUG-1500212</a>] All "_samples/html" samples are now working when loading directly
|
1876 |
-
from the Windows Explorer. Thanks to Alfonso Martinez.</li>
|
1877 |
-
<li>The "FitWindow" feature was breaking the editor under Firefox 1.0.x.</li>
|
1878 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1500032&group_id=75348&atid=543655">SF
|
1879 |
-
Patch-1500032</a>] In Firefox, the caret position now follows the user clicks when
|
1880 |
-
clicking in the white area bellow the editor contents. Thanks to Alfonso Martinez.</li>
|
1881 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499522&group_id=75348">SF
|
1882 |
-
BUG-1499522</a>] In Firefox, the link dialog window was loosing the focus (and quickly
|
1883 |
-
reacquiring it) when opening. This behavior was blocking the dialog in some Linux
|
1884 |
-
installations. </li>
|
1885 |
-
<li>Drastically improved the loading performance of the file list in the default File
|
1886 |
-
Browser.</li>
|
1887 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1503059&group_id=75348">SF
|
1888 |
-
BUG-1503059</a>] The default "BasePath" for FCKeditor in all integration files has
|
1889 |
-
been now unified to "/fckeditor/" (lower-case). This is the usual casing system
|
1890 |
-
in case sensitive OSs like Linux.</li>
|
1891 |
-
<li>The "DisableFFTableHandles" setting is now honored when switching the full screen
|
1892 |
-
mode with FitWindow.</li>
|
1893 |
-
<li>Some fixes has been applied to the cell merging in Firefox.</li>
|
1894 |
-
</ul>
|
1895 |
-
<p>
|
1896 |
-
* This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a>
|
1897 |
-
and <a href="http://www.kentico.com/">Kentico</a>.</p>
|
1898 |
-
<h3>
|
1899 |
-
Version 2.3 Beta</h3>
|
1900 |
-
<p>
|
1901 |
-
New Features and Improvements:</p>
|
1902 |
-
<ul>
|
1903 |
-
<li><span><strong>Extremely Fast Loading!</strong> The editor now loads more than 3
|
1904 |
-
times faster than before, with no impact on its advanced features.</span> </li>
|
1905 |
-
<li><span><strong>New toolbar system</strong>:</span>
|
1906 |
-
<ul>
|
1907 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1454850&group_id=75348&atid=543656">SF
|
1908 |
-
Feature-1454850</a>] The toolbar will now <strong>load much faster</strong>. All
|
1909 |
-
images have being merged in a single image file using a unique system available
|
1910 |
-
only with FCKeditor. </li>
|
1911 |
-
<li>The "Text Color" and "Background Color" commands buttons have
|
1912 |
-
enhancements on the interface.</li>
|
1913 |
-
<li><strong><span style="color: #ff0000">Attention</span></strong>: As a completely
|
1914 |
-
new system has being developed. Skins created for versions prior this one will not
|
1915 |
-
work. Skin styles definitions have being merged, added and removed. All skins have
|
1916 |
-
been a little bit reviewed. </li>
|
1917 |
-
<li>It is possible to <strong>detach the toolbar</strong> from an editor instance and
|
1918 |
-
share it with other instances. In this way you may have only one toolbar (in the
|
1919 |
-
top of the window, for example, that can be used by many editors (see <a href="_samples/html/sample10.html">
|
1920 |
-
sample10.html</a>). This feature is still under development (issues with IE
|
1921 |
-
focus still to be solved).* </li>
|
1922 |
-
</ul>
|
1923 |
-
</li>
|
1924 |
-
<li><strong><span>New context menu system</span></strong>:
|
1925 |
-
<ul>
|
1926 |
-
<li>It uses the same (fast) loading system as the toolbar. </li>
|
1927 |
-
<li>Sub-Menus are now available to group features (try the context menu over a table
|
1928 |
-
cell). </li>
|
1929 |
-
<li>It is now possible to create your own context menu entries by creating plugins.
|
1930 |
-
</li>
|
1931 |
-
</ul>
|
1932 |
-
</li>
|
1933 |
-
<li><strong>New "FitWindow" toolbar button</strong>, based on the <a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1431638&group_id=75348&atid=737639">
|
1934 |
-
plugin</a> published by Paul Moers. Thanks Paul!</li>
|
1935 |
-
<li><strong>"Auto Grow" Plugin</strong>: automatically resizes the editor
|
1936 |
-
until a maximum height, based on its contents size.** </li>
|
1937 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1444943&group_id=75348&atid=543656">SF
|
1938 |
-
Feature-1444943</a>] <strong>Multiple CSS files</strong> can now be used in the
|
1939 |
-
editing area. Just define FCKConfig.EditorAreaCSS as an array of strings (each one
|
1940 |
-
is a path to a different css file). It works also as a simple string, as on prior
|
1941 |
-
versions. </li>
|
1942 |
-
<li>New language files:<ul>
|
1943 |
-
<li><strong>Bengali / Bangla</strong> (by Richard Walledge).</li>
|
1944 |
-
<li><strong>English (Canadian)</strong> (by Kevin Bennett). </li>
|
1945 |
-
<li><strong>Khmer</strong> (by Sengtha Chay).</li>
|
1946 |
-
</ul>
|
1947 |
-
</li>
|
1948 |
-
<li>The source view is now available in the editing area on Gecko browsers. Previously
|
1949 |
-
a popup was used for it (due to a Firefox bug). </li>
|
1950 |
-
<li><span>As some people may prefer the popup way for source editing, a new configuration
|
1951 |
-
option (SourcePopup) has being introduced.</span> </li>
|
1952 |
-
<li>The IEForceVScroll configuration option has been removed. The editor now automatically
|
1953 |
-
shows the vertical scrollbar when needed (for XHTML doctypes). </li>
|
1954 |
-
<li>The configuration file doesn't define a default DOCTYPE to be used now. </li>
|
1955 |
-
<li>It is now possible to easily change the toolbar using the JavaScript API by just
|
1956 |
-
calling <EditorInstance>.ToolbarSet.Load( '<ToolbarName>' ). See _testcases/010.html
|
1957 |
-
for a sample. </li>
|
1958 |
-
<li>The "OnBlur" and "OnFocus" JavaScript API events are now compatible
|
1959 |
-
with all supported browsers. </li>
|
1960 |
-
<li>Some few updates in the Lasso connector and uploader. </li>
|
1961 |
-
<li>The GeckoUseSPAN setting is now set to "false" by default. In this way, the code
|
1962 |
-
produced by the bold, italic and underline commands are the same on all browsers.</li>
|
1963 |
-
</ul>
|
1964 |
-
<p>
|
1965 |
-
Fixed Bugs:</p>
|
1966 |
-
<ul>
|
1967 |
-
<li><strong>Important security fixes have been applied to the File Manager, Uploader
|
1968 |
-
and Connectors. Upgrade is highly recommended.</strong> Thanks to Alberto Moro,
|
1969 |
-
Baudouin Lamourere and James Bercegay.</li>
|
1970 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1399966&group_id=75348&atid=543653">SF
|
1971 |
-
BUG-1399966</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1249853&group_id=75348&atid=543653">SF
|
1972 |
-
BUG-1249853</a>] The "BaseHref" configuration is now working with
|
1973 |
-
Firefox in both normal and full page modes.</li>
|
1974 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1405263&group_id=75348&atid=543653">SF
|
1975 |
-
BUG-1405263</a>] A typo in the configuration file was impacting the Quick Upload
|
1976 |
-
feature. </li>
|
1977 |
-
<li>Nested <ul> and <ol> tags are now generating valid html.</li>
|
1978 |
-
<li>The "wmode" and "quality" attributes are now preserved for Flash
|
1979 |
-
embed tags, in case they are entered manually in the source view. Also, empty attributes
|
1980 |
-
are removed from that tag. </li>
|
1981 |
-
<li>Tables where not being created correctly on Opera. </li>
|
1982 |
-
<li>The XHTML processor will ignore invalid tags with names ending with ":",
|
1983 |
-
like http:. </li>
|
1984 |
-
<li><span>On Firefox, the scrollbar is not anymore displayed on toolbar dropdown commands
|
1985 |
-
when not needed.</span> </li>
|
1986 |
-
<li><span>Some small fixes have being done to the dropdown commands rendering for FF</span>.
|
1987 |
-
</li>
|
1988 |
-
<li>The table dialog window has been a little bit enlarged to avoid contents being cropped
|
1989 |
-
on some languages, like Russian. </li>
|
1990 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1465203&group_id=75348&atid=543653">SF
|
1991 |
-
BUG-1465203</a>] The ieSpell download URL has been updated. The problem is that
|
1992 |
-
they don't have a fixed URL for it, so let's hope the mirror will be up for it.
|
1993 |
-
</li>
|
1994 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1456332&group_id=75348&atid=543653">SF
|
1995 |
-
BUG-1456332</a>] Small fix in the Spanish language file. </li>
|
1996 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1457078&group_id=75348&atid=543653">SF
|
1997 |
-
BUG-1457078</a>] The File Manager was generating 404 calls in the server. </li>
|
1998 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459846&group_id=75348&atid=543653">SF
|
1999 |
-
BUG-1459846</a>] Fixed a problem with the config file if PHP is set to parse .js
|
2000 |
-
files. </li>
|
2001 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF
|
2002 |
-
BUG-1432120</a>] The "UserFilesAbsolutePath" setting is not correctly
|
2003 |
-
used in the PHP uploader. </li>
|
2004 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF
|
2005 |
-
BUG-1408869</a>] The collapse handler is now rendering correctly in Firefox 1.5.
|
2006 |
-
</li>
|
2007 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1410082&group_id=75348&atid=543653">SF
|
2008 |
-
BUG-1410082</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1424240&group_id=75348&atid=543653">SF
|
2009 |
-
BUG-1424240</a>] The "moz-bindings.xml" file is now well formed. </li>
|
2010 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1413980&group_id=75348&atid=543653">SF
|
2011 |
-
BUG-1413980</a>] All frameborder "yes/no" values have been changes to
|
2012 |
-
"1/0". </li>
|
2013 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414101&group_id=75348&atid=543653">SF
|
2014 |
-
BUG-1414101</a>] The fake table borders are now showing correctly when running under
|
2015 |
-
the "file://" protocol. </li>
|
2016 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414155&group_id=75348&atid=543653">SF
|
2017 |
-
BUG-1414155</a>] Small typo in the cell properties dialog window.</li>
|
2018 |
-
<li>Fixed a problem in the File Manager. It was not working well with folder or file
|
2019 |
-
names with apostrophes ('). Thanks to René de Jong.</li>
|
2020 |
-
<li>Small "lenght" type corrected in the select dialog window. Thanks to Bernd Nussbaumer.</li>
|
2021 |
-
<li>The about box is now showing correctly in Firefox 1.5.</li>
|
2022 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1464020&group_id=75348&atid=543655">SF
|
2023 |
-
Patch-1464020</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155793&group_id=75348&atid=543653">SF
|
2024 |
-
BUG-1155793</a>] The "Unlink" command is now working correctly under Firefox
|
2025 |
-
if you don't have a complete link selection. Thanks to Johnny Egeland.</li>
|
2026 |
-
<li>In the File Manager, it was not possible to upload files to folders with ampersands
|
2027 |
-
in the name. Thanks to Mike Pone.</li>
|
2028 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1178359&group_id=75348&atid=543653">SF
|
2029 |
-
BUG-1178359</a>] Elements from the toolbar are not anymore draggable in the editing
|
2030 |
-
area.</li>
|
2031 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1487544&group_id=75348&atid=543653">SF
|
2032 |
-
BUG-1487544</a>] Fixed a small issue in the code formatter for <br /> and
|
2033 |
-
<hr /> tags.</li>
|
2034 |
-
<li>The "Background Color" command now works correctly when the GeckoUseSPAN setting
|
2035 |
-
is disabled (default).</li>
|
2036 |
-
<li>Links are now rendered in blue with Firefox (they were black before). Actually,
|
2037 |
-
an entry for it has been added to the editing area CSS, so you can customize with
|
2038 |
-
the color you prefer. </li>
|
2039 |
-
</ul>
|
2040 |
-
<p>
|
2041 |
-
* This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a>
|
2042 |
-
and <a href="http://www.kentico.com/">Kentico</a>.
|
2043 |
-
<br />
|
2044 |
-
** This version has been partially sponsored by <a href="http://www.nextide.ca/">Nextide</a>.</p>
|
2045 |
-
<h3>
|
2046 |
-
Version 2.2</h3>
|
2047 |
-
<p>
|
2048 |
-
New Features and Improvements:</p>
|
2049 |
-
<ul>
|
2050 |
-
<li>Let's welcome Wim Lemmens (didgiman). He's our new responsible for the ColdFusion
|
2051 |
-
integration. In this version we are introducing his new files with the following
|
2052 |
-
changes:
|
2053 |
-
<ul>
|
2054 |
-
<li>The "<strong>Uploader</strong>", used for quick uploads, is now available
|
2055 |
-
<strong>natively for ColdFusion</strong>. </li>
|
2056 |
-
<li>Small bugs have been corrected in the <strong>File Browser connector</strong>. </li>
|
2057 |
-
<li>The samples now work as is, even if you don't install the editor in the "/FCKeditor"
|
2058 |
-
directory.</li>
|
2059 |
-
</ul>
|
2060 |
-
</li>
|
2061 |
-
<li>And a big welcome also to "Andrew Liu", our responsible for the <strong>
|
2062 |
-
Python</strong> integration. This version is bringing <strong>native support for Python</strong>
|
2063 |
-
, including the File Browser connector and Quick Upload. </li>
|
2064 |
-
<li>The "<strong>IsDirty()</strong>" and "<strong>ResetIsDirty()</strong>"
|
2065 |
-
functions have been added to the JavaScript API to check if the editor
|
2066 |
-
content has been changed.* </li>
|
2067 |
-
<li>New language files:
|
2068 |
-
<ul>
|
2069 |
-
<li><strong>Hindi</strong> (by Utkarshraj Atmaram) </li>
|
2070 |
-
<li><strong>Latvian </strong>(by Janis Klavinš)</li>
|
2071 |
-
</ul>
|
2072 |
-
</li>
|
2073 |
-
<li>For the interface, now we have complete <strong>RTL support</strong> also for
|
2074 |
-
the drop-down toolbar commands, color selectors and context menu. </li>
|
2075 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1325113&group_id=75348&atid=543653">SF
|
2076 |
-
BUG-1325113</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1277661&group_id=75348&atid=543653">SF
|
2077 |
-
BUG-1277661</a>] The new "Delete Table" command is available in the
|
2078 |
-
Context Menu when right-clicking inside a table. </li>
|
2079 |
-
<li>The "FCKConfig.DisableTableHandles" configuration option is now working
|
2080 |
-
on Firefox 1.5. </li>
|
2081 |
-
<li>The new "<strong>OnBlur</strong>" and "<strong>OnFocus</strong>"
|
2082 |
-
events have been added to the JavaScript API (IE only). See "_samples/html/sample09.html" *
|
2083 |
-
</li>
|
2084 |
-
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>GetHTML</strong>"
|
2085 |
-
function has been deprecated. It now returns the same value as "<strong>GetXHTML</strong>".
|
2086 |
-
The same is valid for the "EnableXHTML" and "EnableSourceXHTML"
|
2087 |
-
that have no effects now. The editor now works with XHTML output only. </li>
|
2088 |
-
<li><strong><font color="#ff0000">Attention</font></strong>: A new "<strong>PreserveSessionOnFileBrowser</strong>"
|
2089 |
-
configuration option has been introduced. It makes it possible to set whenever is
|
2090 |
-
needed to maintain the user session in the File Browser. It is disabled by default,
|
2091 |
-
as it has very specific usage and may cause the File Browser to be blocked by popup
|
2092 |
-
blockers. If you have custom File Browsers that depends on session information,
|
2093 |
-
remember to activate it. </li>
|
2094 |
-
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>fun</strong>"
|
2095 |
-
smileys set has been removed from the package. If you are using it, you must manually
|
2096 |
-
copy it to newer installations and upgrades. </li>
|
2097 |
-
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>mcpuk</strong>"
|
2098 |
-
file browser has been removed from the package. We have no ways to support it. There
|
2099 |
-
were also some licensing issues with it. Its web site can still be found at <a href="http://mcpuk.net/fbxp/">
|
2100 |
-
http://mcpuk.net/fbxp/</a>. </li>
|
2101 |
-
<li>It is now possible to set different CSS styles for the chars in the Special Chars
|
2102 |
-
dialog window by adding the "SpecialCharsOut" and "SpecialCharsOver"
|
2103 |
-
in the "fck_dialog.css" skin file.* </li>
|
2104 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1268726&group_id=75348&atid=543655">SF
|
2105 |
-
Patch-1268726</a>] Added table "summary" support in the table dialog.
|
2106 |
-
Thanks to Sebastien-Mahe. </li>
|
2107 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1284380&group_id=75348&atid=543655">SF
|
2108 |
-
Patch-1284380</a>] It is now possible to define the icon of a FCKToolbarPanelButton
|
2109 |
-
object without being tied to the skin path (just like FCKToolbarButton). Thanks
|
2110 |
-
to Ian Sullivan. </li>
|
2111 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1338610&group_id=75348&atid=543655">SF
|
2112 |
-
Patch-1338610</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263009&group_id=75348&atid=543656">SF
|
2113 |
-
Patch-1263009</a>] New characters have been added to the "Special Characters"
|
2114 |
-
dialog window. Thanks to Deian. </li>
|
2115 |
-
<li>You can set the QueryString value "fckdebug=true" to activate "debug
|
2116 |
-
mode" in the editor (showing the debug window), overriding the configurations.
|
2117 |
-
The "AllowQueryStringDebug" configuration option is also available so
|
2118 |
-
you can disable this feature.</li>
|
2119 |
-
</ul>
|
2120 |
-
<p>
|
2121 |
-
Fixed Bugs:</p>
|
2122 |
-
<ul>
|
2123 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1363548&group_id=75348&atid=543653">SF
|
2124 |
-
BUG-1363548</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1364425&group_id=75348&atid=543653">SF
|
2125 |
-
BUG-1364425</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1335045&group_id=75348&atid=543653">SF
|
2126 |
-
BUG-1335045</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289661&group_id=75348&atid=543653">SF
|
2127 |
-
BUG-1289661</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225370&group_id=75348&atid=543653">SF
|
2128 |
-
BUG-1225370</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1156291&group_id=75348&atid=543653">SF
|
2129 |
-
BUG-1156291</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1165914&group_id=75348&atid=543653">SF
|
2130 |
-
BUG-1165914</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1111877&group_id=75348&atid=543653">SF
|
2131 |
-
BUG-1111877</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1092373&group_id=75348&atid=543653">SF
|
2132 |
-
BUG-1092373</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1101596&group_id=75348&atid=543653">SF
|
2133 |
-
BUG-1101596</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246952&group_id=75348&atid=543653">SF
|
2134 |
-
BUG-1246952</a>] The URLs for links and
|
2135 |
-
images are now correctly preserved as entered, no matter if you are using relative
|
2136 |
-
or absolute paths. </li>
|
2137 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1162809&group_id=75348&atid=543653">SF
|
2138 |
-
BUG-1162809</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1205638&group_id=75348&atid=543653">SF
|
2139 |
-
BUG-1205638</a>] The "Image" and "Flash" dialog windows
|
2140 |
-
now loads the preview correctly if the "BaseHref" configuration option
|
2141 |
-
is set. </li>
|
2142 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329807&group_id=75348&atid=543653">SF
|
2143 |
-
BUG-1329807</a>] The alert boxes are now showing correctly when doing cut/copy/paste
|
2144 |
-
operations on Firefox installations when it is not possible to execute that operations
|
2145 |
-
due to security settings. </li>
|
2146 |
-
<li>A new "Panel" system (used in the drop-dowm toolbar commands, color selectors
|
2147 |
-
and context menu) has been developed. The following bugs have been fixed with it:
|
2148 |
-
<ul>
|
2149 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186927&group_id=75348&atid=543653">SF
|
2150 |
-
BUG-1186927</a>] On IE, sometimes the context menu was being partially hidden.*
|
2151 |
-
</li>
|
2152 |
-
<li>On Firefox, the context menu was flashing in the wrong position before showing.
|
2153 |
-
</li>
|
2154 |
-
<li>On Firefox 1.5, the Color Selector was not working. </li>
|
2155 |
-
<li>On Firefox 1.5, the fonts in the panels were too big. </li>
|
2156 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1076435&group_id=75348&atid=543653">SF
|
2157 |
-
BUG-1076435</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200631&group_id=75348&atid=543653">SF
|
2158 |
-
BUG-1200631</a>] On Firefox, sometimes the context menu was being shown in the
|
2159 |
-
wrong position.</li>
|
2160 |
-
</ul>
|
2161 |
-
</li>
|
2162 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF
|
2163 |
-
BUG-1364094</a>] Font families were <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=317572">
|
2164 |
-
not being rendered correctly on Firefox</a> . </li>
|
2165 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1315954&group_id=75348">SF
|
2166 |
-
BUG-1315954</a>] No error is thrown when pasting some case specific code from editor
|
2167 |
-
to editor. </li>
|
2168 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1341553&group_id=75348&atid=543653">SF
|
2169 |
-
BUG-1341553</a>] A small fix for a security alert in the File Browser has been
|
2170 |
-
applied. </li>
|
2171 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370953&group_id=75348&atid=543653">SF
|
2172 |
-
BUG-1370953</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339898&group_id=75348&atid=543653">SF
|
2173 |
-
BUG-1339898</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323319&group_id=75348&atid=543653">SF
|
2174 |
-
BUG-1323319</a>] A message will be shown to the user (instead of a JS error) if
|
2175 |
-
a "popup blocker" blocks the "Browser Server" button. Thanks
|
2176 |
-
to Erwin Verdonk. </li>
|
2177 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370355&group_id=75348&atid=543653">SF
|
2178 |
-
BUG-1370355</a>] Anchor links that points to a single character anchor, like "#A",
|
2179 |
-
are now correctly detected in the Link dialog window. Thanks to Ricky Casey. </li>
|
2180 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368998&group_id=75348&atid=543653">SF
|
2181 |
-
BUG-1368998</a>] Custom error processing has been added to the file upload on the
|
2182 |
-
File Browser. </li>
|
2183 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1367802&group_id=75348&atid=543653">SF
|
2184 |
-
BUG-1367802</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1207740&group_id=75348&atid=543653">SF
|
2185 |
-
BUG-1207740</a>] A message is shown to the user if a dialog box is blocked by
|
2186 |
-
a popup blocker in Firefox. </li>
|
2187 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1358891&group_id=75348&atid=543653">SF
|
2188 |
-
BUG-1358891</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1340960&group_id=75348&atid=543653">SF
|
2189 |
-
BUG-1340960</a>] The editor not works locally (without a web server) on directories
|
2190 |
-
where the path contains spaces. </li>
|
2191 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357247&group_id=75348&atid=543653">SF
|
2192 |
-
BUG-1357247</a>] The editor now intercepts SHIFT + INS keystrokes when needed. </li>
|
2193 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1328488&group_id=75348&atid=543653">SF
|
2194 |
-
BUG-1328488</a>] <strong><font color="#ff0000">Attention</font></strong>: The Page
|
2195 |
-
Break command now produces different tags to avoid XHTML compatibility
|
2196 |
-
issues. Any Page Break previously applied to content produced with previous versions
|
2197 |
-
of FCKeditor will not me rendered now, even if they will still be working correctly.
|
2198 |
-
</li>
|
2199 |
-
<li>It is now possible to allow cut/copy/past operations on Firefox using the <a
|
2200 |
-
href="http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard"
|
2201 |
-
target="_blank">user.js</a> file. </li>
|
2202 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1336792&group_id=75348&atid=543653">SF
|
2203 |
-
BUG-1336792</a>] A fix has been applied to the XHTML processor to allow tag names
|
2204 |
-
with the "minus" char (-). </li>
|
2205 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339560&group_id=75348&atid=543653">SF
|
2206 |
-
BUG-1339560</a>] The editor now correctly removes the "selected" option
|
2207 |
-
for checkboxes and radio buttons. </li>
|
2208 |
-
<li>The Table dialog box now selects the table correctly when right-clicking on objects
|
2209 |
-
(like images) placed inside the table. </li>
|
2210 |
-
<li><strong><font color="#ff0000">Attention</font></strong>: A few changes have been
|
2211 |
-
made in the skins. If you have a custom skin, it is recommended you to make a diff
|
2212 |
-
of the fck_contextmenu.css file of the default skin with your implementation. </li>
|
2213 |
-
<li>Mouse select (marking things in blue, like selecting text) has been disabled
|
2214 |
-
on panels (drop-down menu commands, color selector and context menu) and toolbar,
|
2215 |
-
for both IE and Firefox. </li>
|
2216 |
-
<li>On Gecko, fake borders will not be applied to tables with the border attribute set
|
2217 |
-
to more than 0, but placed inside tables with border set to 0. </li>
|
2218 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360717&group_id=75348&atid=543653">SF
|
2219 |
-
BUG-1360717</a>] A wrapping issue in the "Silver" skin has been corrected.
|
2220 |
-
Thanks to Ricky Casey. </li>
|
2221 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251145&group_id=75348&atid=543653">SF
|
2222 |
-
BUG-1251145</a>] In IE, the focus is now maintained in the text when clicking in
|
2223 |
-
the empty area following it. </li>
|
2224 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1181386&group_id=75348&atid=543653">SF
|
2225 |
-
BUG-1181386</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1237791&group_id=75348&atid=543653">SF
|
2226 |
-
BUG-1237791</a>] The "Stylesheet Classes" field in the Link dialog
|
2227 |
-
window in now applied correctly on IE. Thanks to Andrew Crowe. </li>
|
2228 |
-
<li>The "Past from Word" dialog windows is now showing correctly on Firefox
|
2229 |
-
on some languages. </li>
|
2230 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315008&group_id=75348&atid=543653">SF
|
2231 |
-
BUG-1315008</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1241992&group_id=75348&atid=543653">SF
|
2232 |
-
BUG-1241992</a>] IE, when selecting objects (like images) and hitting the "Backspace"
|
2233 |
-
button, the browser's "back" will not get executed anymore and the object
|
2234 |
-
will be correctly deleted. </li>
|
2235 |
-
<li>The "AutoDetectPasteFromWord" is now working correctly in IE. Thanks to
|
2236 |
-
Juan Ant. Gómez. </li>
|
2237 |
-
<li>A small enhancement has been made in the Word pasting detection. Thanks to Juan
|
2238 |
-
Ant. Gómez. </li>
|
2239 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1090686&group_id=75348&atid=543653">SF
|
2240 |
-
BUG-1090686</a>] No more conflict with Firefox "Type-Ahead Find" feature.
|
2241 |
-
</li>
|
2242 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942653&group_id=75348&atid=543653">SF
|
2243 |
-
BUG-942653</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1155856&group_id=75348&atid=543653">SF
|
2244 |
-
BUG-1155856</a>] The "width" and "height" of images sized
|
2245 |
-
using the inline handlers are now correctly loaded in the image dialog box. </li>
|
2246 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1209093&group_id=75348&atid=543653">SF
|
2247 |
-
BUG-1209093</a>] When "Full Page Editing" is active, in the "Document
|
2248 |
-
Properties" dialog, the "Browse Server" button for the page background
|
2249 |
-
is now correctly hidden if "ImageBrowser" is set to "false"
|
2250 |
-
in the configurations file. Thanks to Richard. </li>
|
2251 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1120266&group_id=75348&atid=543653">SF
|
2252 |
-
BUG-1120266</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186196&group_id=75348&atid=543653">SF
|
2253 |
-
BUG-1186196</a>] The editor now retains the focus when selecting commands in
|
2254 |
-
the toolbar. </li>
|
2255 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1244480&group_id=75348&atid=543653">SF
|
2256 |
-
BUG-1244480</a>] The editor now will look first to linked fields "ids"
|
2257 |
-
and second to "names". </li>
|
2258 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1252905&group_id=75348&atid=543653">SF
|
2259 |
-
BUG-1252905</a>] The "InsertHtml" function now preserves URLs as entered.
|
2260 |
-
</li>
|
2261 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1266317&group_id=75348&atid=543653">SF
|
2262 |
-
BUG-1266317</a>] Toolbar commands are not anymore executed outside the editor. </li>
|
2263 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1365664&group_id=75348&atid=543653">SF
|
2264 |
-
BUG-1365664</a>] The "wrap=virtual" attribute has been removed from the
|
2265 |
-
integration files for validation purposes. No big impact. </li>
|
2266 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=972193&group_id=75348&atid=543653">SF
|
2267 |
-
BUG-972193</a>] Now just one click is needed to active the cursor inside the editor.
|
2268 |
-
</li>
|
2269 |
-
<li>The hidden fields used by the editor are now protected from changes using the "Web
|
2270 |
-
Developer Add-On > Forms > Display Forms Details" extension. Thanks to
|
2271 |
-
Jean-Marie Griess. </li>
|
2272 |
-
<li>On IE, the "Format" toolbar dropdown now reflects the current paragraph
|
2273 |
-
type on IE. Because of a bug in the browser, it is quite dependent on the browser
|
2274 |
-
language and the editor interface language (both must be the same). Also, as the
|
2275 |
-
"Normal (DIV)" type is seen by IE as "Normal", to avoid confusion,
|
2276 |
-
both types are ignored by this fix. </li>
|
2277 |
-
<li>On some very rare cases, IE was loosing the "align" attribute for DIV
|
2278 |
-
tags. Fixed. </li>
|
2279 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1388799&group_id=75348">SF
|
2280 |
-
BUG-1388799</a>] The code formatter was removing spaces on the beginning of lines
|
2281 |
-
inside PRE tags. Fixed. </li>
|
2282 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1387135&group_id=75348&atid=543653">SF
|
2283 |
-
BUG-1387135</a>] No more "NaN" values in the image dialog, when changing
|
2284 |
-
the sizes in some situations. </li>
|
2285 |
-
<li>Corrected a small type in the table handler. </li>
|
2286 |
-
<li>You can now set the "z-index" for floating panels (toolbar dropdowns,
|
2287 |
-
color selectors, context menu) in Firefox, avoiding having them hidden under another
|
2288 |
-
objects. By default it is set to 10,000. Use the FloatingPanelsZIndex configuration
|
2289 |
-
option to change this value.</li>
|
2290 |
-
</ul>
|
2291 |
-
<p>
|
2292 |
-
<strong>Special thanks</strong> to <a target="_blank" href="https://sourceforge.net/users/alfonsoml/">
|
2293 |
-
Alfonso Martinez</a>, who have provided many patches and suggestions for the
|
2294 |
-
following features / fixes present in this version. I encourage all you to <a href="https://sourceforge.net/donate/index.php?user_id=1356422">
|
2295 |
-
donate</a> to Alfonso, as a way to say thanks for his nice open source approach.
|
2296 |
-
Thanks Alfonso!. Check out his contributions:</p>
|
2297 |
-
<ul>
|
2298 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF
|
2299 |
-
BUG-1352539</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1208348&group_id=75348&atid=543653">SF
|
2300 |
-
BUG-1208348</a>] With Firefox, no more "fake" selections are appearing
|
2301 |
-
when inserting images, tables, special chars or when using the "insertHtml"
|
2302 |
-
function. </li>
|
2303 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1382588&group_id=75348">SF
|
2304 |
-
Patch-1382588</a>] The "FCKConfig.DisableImageHandles" configuration option
|
2305 |
-
is not working on Firefox 1.5. </li>
|
2306 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368586&group_id=75348&atid=543655">SF
|
2307 |
-
Patch-1368586</a>] Some fixes have been applied to the Flash dialog box and the
|
2308 |
-
Flash pre-processor. </li>
|
2309 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360253&group_id=75348&atid=543655">SF
|
2310 |
-
Patch-1360253</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1378782&group_id=75348&atid=543653">SF
|
2311 |
-
BUG-1378782</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305899&group_id=75348&atid=543653">SF
|
2312 |
-
BUG-1305899</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1344738&group_id=75348&atid=543653">SF
|
2313 |
-
BUG-1344738</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1347808&group_id=75348&atid=543653">SF
|
2314 |
-
BUG-1347808</a>] On dialogs, some fields became impossible
|
2315 |
-
to select or change when using Firefox. It has been fixed. </li>
|
2316 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357445&group_id=75348&atid=543655">SF
|
2317 |
-
Patch-1357445</a>] Add support for DIV in the Format drop-down combo for Firefox.
|
2318 |
-
</li>
|
2319 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350465&group_id=75348&atid=543653">SF
|
2320 |
-
BUG-1350465</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1376175&group_id=75348&atid=543653">SF
|
2321 |
-
BUG-1376175</a>] The "Cell Properties" dialog now works correctly
|
2322 |
-
when right-clicking in an object (image, for example) placed inside the cell itself.
|
2323 |
-
</li>
|
2324 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349166&group_id=75348&atid=543655">SF
|
2325 |
-
Patch-1349166</a>] On IE, there is now support for namespaces on tags names. </li>
|
2326 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350552&group_id=75348&atid=543655">SF
|
2327 |
-
Patch-1350552</a>] Fix the display issue when applying styles on tables. </li>
|
2328 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352320&group_id=75348&atid=543655">SF
|
2329 |
-
Patch-1352320</a> ] Fixed a wrong usage of the "parentElement"
|
2330 |
-
property on Gecko. </li>
|
2331 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1355007&group_id=75348&atid=543655">SF
|
2332 |
-
Patch-1355007</a>] The new "FCKDebug.OutputObject" function is available
|
2333 |
-
to dump all object information in the debug window. </li>
|
2334 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329500&group_id=75348&atid=543655">SF
|
2335 |
-
Patch-1329500</a>] It is now possible to delete table columns when clicking on a
|
2336 |
-
TH cell of the column. </li>
|
2337 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315351&group_id=75348&atid=543655">SF
|
2338 |
-
Patch-1315351</a>] It is now possible to pass the image width and height to the
|
2339 |
-
"SetUrl" function of the Flash dialog box. </li>
|
2340 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327384&group_id=75348&atid=543655">SF
|
2341 |
-
Patch-1327384</a>] TH tags are now correctly handled by the source code formatter
|
2342 |
-
and the "FillEmptyBlocks" configuration option. </li>
|
2343 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327406&group_id=75348&atid=543655">SF
|
2344 |
-
Patch-1327406</a>] Fake borders are now displayed for TH elements on tables with
|
2345 |
-
border set to 0. Also, on Firefox, it will now work even if the border attribute
|
2346 |
-
is not defined and the borders are not dotted. </li>
|
2347 |
-
<li>Hidden fields now get rendered on Firefox. </li>
|
2348 |
-
<li>The BasePath is now included in the debugger URL to avoid problems when calling
|
2349 |
-
it from plugins.</li>
|
2350 |
-
</ul>
|
2351 |
-
<p>
|
2352 |
-
* This version has been partially sponsored by <a target="_blank" href="http://www.alkacon.com">
|
2353 |
-
Alkacon Software</a>.</p>
|
2354 |
-
<h3>
|
2355 |
-
Version 2.1.1</h3>
|
2356 |
-
<p>
|
2357 |
-
New Features and Improvements:</p>
|
2358 |
-
<ul>
|
2359 |
-
<li>The new "<strong>Insert Page Break</strong>" command (for printing) has
|
2360 |
-
been introduced.* </li>
|
2361 |
-
<li>The editor package now has a root directory called "FCKeditor".</li>
|
2362 |
-
</ul>
|
2363 |
-
<p>
|
2364 |
-
Fixed Bugs:</p>
|
2365 |
-
<ul>
|
2366 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326285&group_id=75348&atid=543653">SF
|
2367 |
-
BUG-1326285</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1316430&group_id=75348&atid=543653">SF
|
2368 |
-
BUG-1316430</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323662&group_id=75348&atid=543653">SF
|
2369 |
-
BUG-1323662</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326223&group_id=75348&atid=543653">SF
|
2370 |
-
BUG-1326223</a>] We are doing a little step back with this version.
|
2371 |
-
The ENTER and BACKSPACE behavior changes for Firefox have been remove. It is a nice
|
2372 |
-
feature, but we need much more testing on it. It introduced some bugs and so
|
2373 |
-
its preferable to not have that feature, avoiding problems (even if that feature
|
2374 |
-
was intended to solve some issues). </li>
|
2375 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF
|
2376 |
-
BUG-1275714</a>] Comments in the beginning of the source are now preserved when
|
2377 |
-
using the "undo" and "redo" commands. </li>
|
2378 |
-
<li>The "undo" and "redo" commands now work for the Style command.
|
2379 |
-
</li>
|
2380 |
-
<li>An error in the execution of the pasting commands on Firefox has been fixed. </li>
|
2381 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1326184&group_id=75348">SF
|
2382 |
-
BUG-1326184</a>] No strange (invalid) entities are created when using Firefox. Also,
|
2383 |
-
the &nbsp; used by the FillEmptyBlocks setting is maintained even if you disable
|
2384 |
-
the ProcessHTMLEntities setting.</li>
|
2385 |
-
</ul>
|
2386 |
-
<p>
|
2387 |
-
* This version has been partially sponsored by <a target="_blank" href="http://www.acttive.com.br/">
|
2388 |
-
Acctive Software S.A.</a>.</p>
|
2389 |
-
<h3>
|
2390 |
-
Version 2.1</h3>
|
2391 |
-
<p>
|
2392 |
-
New Features and Improvements:</p>
|
2393 |
-
<ul>
|
2394 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200328&group_id=75348&atid=543653">SF
|
2395 |
-
BUG-1200328</a>] The editor now offers a way to "protect" part of the
|
2396 |
-
source to remain untouched while editing or changing views. Just use the "FCKConfig.ProtectedSource"
|
2397 |
-
object to configure it and customize to your needs. It is based on regular expressions.
|
2398 |
-
See fckconfig.js for some samples. </li>
|
2399 |
-
<li>The editor now offers native support for <strong>Lasso</strong>. Thanks and welcome to
|
2400 |
-
our new developer Jason Huck. </li>
|
2401 |
-
<li>New language files are available:
|
2402 |
-
<ul>
|
2403 |
-
<li><strong>Faraose</strong> (by Símin Lassaberg and Helgi Arnthorsson)
|
2404 |
-
</li>
|
2405 |
-
<li><strong>Malay</strong> (by Fairul Izham Mohd Mokhlas) </li>
|
2406 |
-
<li><strong>Mongolian</strong> (by Lkamtseren Odonbaatar) </li>
|
2407 |
-
<li><strong>Vietnamese</strong> (by Phan Binh Giang)</li>
|
2408 |
-
</ul>
|
2409 |
-
</li>
|
2410 |
-
<li>A new configurable ColdFusion connector is available. Thanks to Mark Woods.
|
2411 |
-
Many enhancements has been introduced with it. </li>
|
2412 |
-
<li>The PHP connector for the default File Browser now sorts the folders and files names.
|
2413 |
-
</li>
|
2414 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF
|
2415 |
-
BUG-1289372</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1282758&group_id=75348&atid=543653">SF
|
2416 |
-
BUG-1282758</a>] In the PHP connector it is now possible to set the absolute
|
2417 |
-
(server) path to the User Files directory, avoiding problems with Virtual Directories,
|
2418 |
-
Symbolic Links or Aliases. Take a look at the config.php file. </li>
|
2419 |
-
<li>The ASP.Net uploader (for Quick Uploads) has been added to the package. </li>
|
2420 |
-
<li>A new way to define <strong>simple "combo" toolbar items</strong> , like
|
2421 |
-
Style and Font, has been introduced. Thanks to Steve Lineberry. See
|
2422 |
-
sample06.html and the "simplecommands" plugin to fully understand
|
2423 |
-
it. </li>
|
2424 |
-
<li>A new test case has been added that shows how to set the editor background dynamically
|
2425 |
-
without using a CSS. </li>
|
2426 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155906&group_id=75348&atid=543653">SF
|
2427 |
-
BUG-1155906</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1110116&group_id=75348&atid=543653">SF
|
2428 |
-
BUG-1110116</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1216332&group_id=75348&atid=543653">SF
|
2429 |
-
BUG-1216332</a>] The "AutoDetectPasteFromWord" configuration option
|
2430 |
-
is back (IE only feature). </li>
|
2431 |
-
<li>The new "OnAfterLinkedFieldUpdate" event has been introduced. If
|
2432 |
-
is fired when the editor updates its hidden associated field. </li>
|
2433 |
-
<li>Attention: The color of the right border of the toolbar (left on RTL interfaces)
|
2434 |
-
has been moved from code to the CSS (TB_SideBorder class). Update your custom skins.
|
2435 |
-
</li>
|
2436 |
-
<li>A sample "htaccess.txt" file has been added to the editor's package
|
2437 |
-
to show how to configure some Linux sites that could present problems on Firefox
|
2438 |
-
with "Illegal characters" errors. Respectively the ""
|
2439 |
-
chars. </li>
|
2440 |
-
<li>With the JavaScript, ASP and PHP integration files, you can set the QueryString
|
2441 |
-
value "fcksource=true" to load the editor using the source files (located
|
2442 |
-
in the _source directory) instead of the compressed ones. Thanks to Kae Verens for
|
2443 |
-
the suggestion. </li>
|
2444 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246623&group_id=75348&atid=543656">SF
|
2445 |
-
Feature-1246623</a>] The new configuration option "ForceStrongEm" has
|
2446 |
-
been introduced so you can force the editor to convert all <B> and <I>
|
2447 |
-
tags to <STRONG> and <EM> respectively. </li>
|
2448 |
-
<li>A nice contribution has been done by Goss Interactive Ltd:
|
2449 |
-
<ul>
|
2450 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246949&group_id=75348&atid=543653">SF
|
2451 |
-
BUG-1246949</a>] Implemented ENTER key and BACKSPACE key handlers for Gecko so that
|
2452 |
-
P tags (or an appropriate block element) get inserted instead of BR tags when not
|
2453 |
-
in the UseBROnCarriageReturn config mode.
|
2454 |
-
<br />
|
2455 |
-
The ENTER key handling has been written to function much the same as the ENTER key
|
2456 |
-
handling on IE : as soon as the ENTER key is pressed, existing content will be wrapped
|
2457 |
-
with a suitable block element (P tag) as appropriate and a new block element (P
|
2458 |
-
tag) will be started.
|
2459 |
-
<br />
|
2460 |
-
The ENTER key handler also caters for pressing ENTER within empty list items - ENTER
|
2461 |
-
in an empty item at the top of a list will remove that list item and start a new
|
2462 |
-
P tag above the list; ENTER in an empty item at the bottom of a list will remove
|
2463 |
-
that list item and start a new P tag below the list; ENTER in an empty item in the
|
2464 |
-
middle of a list will remove that list item, split the list into two, and start
|
2465 |
-
a new P tag between the two lists. </li>
|
2466 |
-
<li>Any tables that are found to be incorrectly nested within a block element (P tag)
|
2467 |
-
will be moved out of the block element when loaded into the editor. This is required
|
2468 |
-
for the new ENTER/BACKSPACE key handlers and it also avoids non-compliant HTML.
|
2469 |
-
</li>
|
2470 |
-
<li>The InsertOrderedList and InsertUnorderedList commands have been overridden on Gecko
|
2471 |
-
to ensure that block elements (P tags) are placed around a list item's content when
|
2472 |
-
it is moved out of the list due to clicking on the editor's list toolbar buttons
|
2473 |
-
(when not in the UseBROnCarriageReturn config mode). </li>
|
2474 |
-
</ul>
|
2475 |
-
</li>
|
2476 |
-
</ul>
|
2477 |
-
<p>
|
2478 |
-
Fixed Bugs:</p>
|
2479 |
-
<ul>
|
2480 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF
|
2481 |
-
BUG-1253255</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF
|
2482 |
-
BUG-1265520</a>] Due to changes on version 2.0, the anchor list was not anymore
|
2483 |
-
visible in the link dialog window. It has been fixed. </li>
|
2484 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1242979&group_id=75348">SF
|
2485 |
-
BUG-1242979</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1251354&group_id=75348&atid=543653">SF
|
2486 |
-
BUG-1251354</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1256178&group_id=75348&atid=543653">SF
|
2487 |
-
BUG-1256178</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274841&group_id=75348&atid=543653">SF
|
2488 |
-
BUG-1274841</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1303949&group_id=75348&atid=543653">SF
|
2489 |
-
BUG-1303949</a>] Due to a bug on Firefox, some keys stopped working
|
2490 |
-
on startup over Firefox. It has been fixed. </li>
|
2491 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251373&group_id=75348&atid=543653">SF
|
2492 |
-
BUG-1251373</a> ] The above fix also has corrected some strange behaviors on
|
2493 |
-
Firefox. </li>
|
2494 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1144258">SF
|
2495 |
-
BUG-1144258</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1092081">SF
|
2496 |
-
BUG-1092081</a>] The File Browsers now run on the same server session used
|
2497 |
-
in the page where the editor is placed in (IE issue). Thanks to Simone Chiaretta.
|
2498 |
-
</li>
|
2499 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305619&group_id=75348&atid=543653">SF
|
2500 |
-
BUG-1305619</a> ] No more repeated login dialogs when running the editor with Windows
|
2501 |
-
Integrated Security with IIS. </li>
|
2502 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1245304&group_id=75348&atid=543655">SF
|
2503 |
-
Patch-1245304</a>] The Test Case 004 is now working correctly. It has been changed
|
2504 |
-
to set the editor hidden at startup. </li>
|
2505 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1290610&group_id=75348&atid=543653">SF
|
2506 |
-
BUG-1290610</a> ] Over HTTPS, there were some warnings when loading the Images,
|
2507 |
-
Flash and Link dialogs. Fixed. </li>
|
2508 |
-
<li>Due to Gecko bugs, two errors were thrown when loading the editor in a hidden div.
|
2509 |
-
Workarounds have been introduced. In any case, the testcase 004 hack is needed when
|
2510 |
-
showing the editor (as in a tabbed interface). </li>
|
2511 |
-
<li>An invalid path in the dialogs CSS file has been corrected. </li>
|
2512 |
-
<li>On IE, the Undo/Redo can now be controlled using the Ctrl+Z and Ctrl+Y shortcut
|
2513 |
-
keys. </li>
|
2514 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295538&group_id=75348&atid=543653">SF
|
2515 |
-
BUG-1295538</a> ] A few Undo/Redo fixes for IE have been done. </li>
|
2516 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1247070&group_id=75348&atid=543653">SF
|
2517 |
-
BUG-1247070</a>] On Gecko, it is now possible to use the shortcut keys for Bold
|
2518 |
-
(CTRL+B), Italic (CTRL+I) and Underline (CTRL+U), like in IE. </li>
|
2519 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274303&group_id=75348&atid=543653">SF
|
2520 |
-
BUG-1274303</a>] The "Insert Column" command is now working correctly
|
2521 |
-
on TH cells. It also copies any attribute applied to the source cells. </li>
|
2522 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1287070&group_id=75348&atid=543655">SF
|
2523 |
-
Patch-1287070</a> ] In the Universal Keyboard, the Arabic keystrokes translator
|
2524 |
-
is now working with Firefox. Thanks again to Abdul-Aziz Al-Oraij. </li>
|
2525 |
-
<li>The editor now handles AJAX requests with HTTP status 304. </li>
|
2526 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157780&group_id=75348&atid=543653">SF
|
2527 |
-
BUG-1157780</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229077&group_id=75348&atid=543653">SF
|
2528 |
-
BUG-1229077</a>] Weird comments are now handled correctly (ignored on some cases).
|
2529 |
-
</li>
|
2530 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155774&group_id=75348&atid=543653">SF
|
2531 |
-
BUG-1155774</a>] A spelling error in the Bulleted List Properties dialog has been
|
2532 |
-
corrected. </li>
|
2533 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1272018&group_id=75348&atid=543653">SF
|
2534 |
-
BUG-1272018</a>] The ampersand character can now be added from the Special Chars
|
2535 |
-
dialog. </li>
|
2536 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263161&group_id=75348&atid=543653">SF
|
2537 |
-
BUG-1263161</a>] A small fix has been applied to the sampleposteddata.php file.
|
2538 |
-
Thanks to Mike Wallace. </li>
|
2539 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1241504&group_id=75348&atid=543653">SF
|
2540 |
-
BUG-1241504</a>] The editor now looks also for the ID of the hidden linked field.
|
2541 |
-
</li>
|
2542 |
-
<li>The caption property on tables is now working on Gecko. Thanks to Helen Somers (Goss
|
2543 |
-
Interactive Ltd). </li>
|
2544 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1297431&group_id=75348&atid=543653">SF
|
2545 |
-
BUG-1297431</a>] With IE, the editor now works locally when its files are placed
|
2546 |
-
in a directory path that contains spaces. </li>
|
2547 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1279551&group_id=75348&atid=543653">SF
|
2548 |
-
BUG-1279551</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1242105&group_id=75348&atid=543653">SF
|
2549 |
-
BUG-1242105</a>] On IE, some features are dependant of ActiveX components (secure...
|
2550 |
-
distributed with IE itself). Some security setting could avoid the usage of
|
2551 |
-
those components and the editor would stop working. Now a message is shown, indicating
|
2552 |
-
the use the minimum necessary settings need by the editor to run. </li>
|
2553 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1298880&group_id=75348&atid=543653">SF
|
2554 |
-
BUG-1298880</a>] Firefox can't handle the STRONG and EM tags. Those tags are now
|
2555 |
-
converted to B and I so it works accordingly. </li>
|
2556 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271723&group_id=75348&atid=543653">SF
|
2557 |
-
BUG-1271723</a>] On IE, it is now possible to select the text and work correctly
|
2558 |
-
in the contents of absolute positioned/dimensioned divs. </li>
|
2559 |
-
<li>On IE, there is no need to click twice in the editor to activate the cursor
|
2560 |
-
in the editing area. </li>
|
2561 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1221621&group_id=75348">SF
|
2562 |
-
BUG-1221621</a>] Many "warnings" in the Firefox console are not thrown
|
2563 |
-
anymore. </li>
|
2564 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295526&group_id=75348&atid=543653">SF
|
2565 |
-
BUG-1295526</a>] While editing on "FullPage" mode the basehref is
|
2566 |
-
now active for CSS "link" tags. </li>
|
2567 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1222584&group_id=75348&atid=543655">SF
|
2568 |
-
Patch-1222584</a>] A small fix to the PHP connector has been applied. </li>
|
2569 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1281313&group_id=75348&atid=543655">SF
|
2570 |
-
Patch-1281313</a>] A few small changes to avoid problems with Plone. Thanks to Jean-mat.
|
2571 |
-
</li>
|
2572 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1275911&group_id=75348&atid=543653">SF
|
2573 |
-
BUG-1275911</a>] A check for double dots sequences on directory names on creation
|
2574 |
-
has been introduced to the PHP and ASP connectors.</li>
|
2575 |
-
</ul>
|
2576 |
-
<h3>
|
2577 |
-
Version 2.0</h3>
|
2578 |
-
<p>
|
2579 |
-
New Features and Improvements:</p>
|
2580 |
-
<ul>
|
2581 |
-
<li>The new "<strong>Flash</strong>" command is available. Now you can
|
2582 |
-
easily handle Flash content, over IE and Gecko, including server browser integration
|
2583 |
-
and context menu support. Due to limitations of the browsers, it is not possible
|
2584 |
-
to see the preview of the movie while editing, so a nice "placeholder"
|
2585 |
-
is used instead. * </li>
|
2586 |
-
<li>A "<strong>Quick Upload</strong> " option is now available in the
|
2587 |
-
link, image and flash dialog windows, so the user don't need to go (or have) the
|
2588 |
-
File Browser for this operations. The ASP and PHP uploader are included. Take
|
2589 |
-
a look at the configuration file.*** </li>
|
2590 |
-
<li>Added support for <strong>Active FoxPro Pages</strong> . Thanks to our new developer,
|
2591 |
-
Sönke Freitag. </li>
|
2592 |
-
<li>It is now possible to <strong>disable the size handles</strong> for images and tables
|
2593 |
-
(IE only feature). Take a look at the DisableImageHandles and DisableTableHandles
|
2594 |
-
configuration options. </li>
|
2595 |
-
<li>The handles on form fields (small squares around them) and the inline editing
|
2596 |
-
of its contents have been disabled. This makes it easier to users to use
|
2597 |
-
the controls. </li>
|
2598 |
-
<li>A much better support for Word pasting operations has been introduced. Now it uses
|
2599 |
-
a dialog box, in this way we have better results and more control.** </li>
|
2600 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1225372&group_id=75348&atid=543655">SF
|
2601 |
-
Patch-1225372</a>] A small change has been done to the PHP integration file. The
|
2602 |
-
generic __construct constructor has been added for better PHP 5 sub-classing compatibility
|
2603 |
-
(backward compatible). Thanks to Marcus Bointon.</li>
|
2604 |
-
</ul>
|
2605 |
-
<p>
|
2606 |
-
Fixed Bugs:</p>
|
2607 |
-
<ul>
|
2608 |
-
<li>ATTENTION: Some security changes have been made to the connectors. Now you must
|
2609 |
-
explicitly enable the connector you want to use. Please test your application before
|
2610 |
-
deploying this update. </li>
|
2611 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1211591">SF
|
2612 |
-
BUG-1211591</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1204273&group_id=75348&atid=543653">SF
|
2613 |
-
BUG-1204273</a>] The connectors have been changed so it is not possible to use
|
2614 |
-
".." on directory names. </li>
|
2615 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219734&group_id=75348&atid=543655">SF
|
2616 |
-
Patch-1219734</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219728&group_id=75348&atid=543653">SF
|
2617 |
-
BUG-1219728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1208654&group_id=75348&atid=543653">SF
|
2618 |
-
BUG-1208654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205442&group_id=75348&atid=543653">SF
|
2619 |
-
BUG-1205442</a>] There was an error in the page unload on some cases
|
2620 |
-
that has been fixed. </li>
|
2621 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1209708">SF
|
2622 |
-
BUG-1209708</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1214125">SF
|
2623 |
-
BUG-1214125</a>] The undo on IE is now working correctly when the user starts
|
2624 |
-
typing. </li>
|
2625 |
-
<li>The preview now loads "Full Page" editing correctly. It also uses the
|
2626 |
-
same XHTML code produced by the final output. </li>
|
2627 |
-
<li>The "Templates" dialog was not working on some very specific (and strange)
|
2628 |
-
occasions over IE. </li>
|
2629 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1199631&group_id=75348">SF
|
2630 |
-
BUG-1199631</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171944&group_id=75348&atid=543653">SF
|
2631 |
-
BUG-1171944</a>] A new option is available to avoid a bad IE behavior that shows
|
2632 |
-
the horizontal scrollbar even when not needed. You can now force the vertical scrollbar
|
2633 |
-
to be always visible. Just set the "IEForceVScroll" configuration option
|
2634 |
-
to "true". Thanks to Grant Bartlett. </li>
|
2635 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212026&group_id=75348&atid=543655">SF
|
2636 |
-
Patch-1212026</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1228860&group_id=75348&atid=543653">SF
|
2637 |
-
BUG-1228860</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1211775&group_id=75348&atid=543653">SF
|
2638 |
-
BUG-1211775</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1199824">SF
|
2639 |
-
BUG-1199824</a>] An error in the Packager has been corrected. </li>
|
2640 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1163669">SF
|
2641 |
-
BUG-1163669</a>] The XHTML processor now adds a space before the closing slash of
|
2642 |
-
tags that don't have a closing tag, like <br />. </li>
|
2643 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1213733&group_id=75348&atid=543653">SF
|
2644 |
-
BUG-1213733</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1216866&group_id=75348&atid=543653">SF
|
2645 |
-
BUG-1216866</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1209673&group_id=75348&atid=543653">SF
|
2646 |
-
BUG-1209673</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155454&group_id=75348&atid=543653">SF
|
2647 |
-
BUG-1155454</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1187936&group_id=75348&atid=543653">SF
|
2648 |
-
BUG-1187936</a> ] Now, on Gecko, the source is opened in a
|
2649 |
-
dialog window to avoid fatal errors (Gecko bugs). </li>
|
2650 |
-
<li>Some pages have been changed to avoid importing errors on Plone. Thanks to Arthur
|
2651 |
-
Kalmenson. </li>
|
2652 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171606&group_id=75348&atid=543653">SF
|
2653 |
-
BUG-1171606</a>] There is a bug on IE that makes the editor to not work if
|
2654 |
-
the instance name matches a meta tag name. Fixed. </li>
|
2655 |
-
<li>On Firefox, the source code is now opened in a dialog box, to avoid error on pages
|
2656 |
-
with more than one editor. </li>
|
2657 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225703&group_id=75348&atid=543655">SF
|
2658 |
-
Patch-1225703</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1214941&group_id=75348&atid=543653">SF
|
2659 |
-
BUG-1214941</a>] The "ForcePasteAsPlainText" configuration option
|
2660 |
-
is now working correctly on Gecko browsers. Thanks to Manuel Polo. </li>
|
2661 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228836&group_id=75348&atid=543653">SF
|
2662 |
-
BUG-1228836</a>] The "Show Table Borders" feature is now working on Gecko
|
2663 |
-
browsers. </li>
|
2664 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212529&group_id=75348&atid=543655">SF
|
2665 |
-
Patch-1212529</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212517&group_id=75348&atid=543653">SF
|
2666 |
-
BUG-1212517</a>] The default File Browser now accepts connectors with querystring
|
2667 |
-
parameters (with "?"). Thanks to Tomas Jucius. </li>
|
2668 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1233318&group_id=75348&atid=543653">SF
|
2669 |
-
BUG-1233318</a>] A JavaScript error thrown when using the Print command has been
|
2670 |
-
fixed. </li>
|
2671 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229696&group_id=75348&atid=543653">SF
|
2672 |
-
BUG-1229696</a>] A regular expression has been escaped to avoid problems when opening
|
2673 |
-
the code in some editors. It has been moved to a dialog window. </li>
|
2674 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1231978&group_id=75348&atid=543653">SF
|
2675 |
-
BUG-1231978</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228939&group_id=75348&atid=543653">SF
|
2676 |
-
BUG-1228939</a>] The Preview window is now using the Content Type and Base href.
|
2677 |
-
</li>
|
2678 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF
|
2679 |
-
BUG-1232056</a>] The anchor icon is now working correctly on IE. </li>
|
2680 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF
|
2681 |
-
BUG-1202468</a>] The anchor icon is now available on Gecko too. </li>
|
2682 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236279&group_id=75348&atid=543653">SF
|
2683 |
-
BUG-1236279</a>] A security warning has been corrected when using the File Browser
|
2684 |
-
over HTTPS. </li>
|
2685 |
-
<li>The ASP implementation now avoid errors when setting the editor value to null values.
|
2686 |
-
</li>
|
2687 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237359&group_id=75348&atid=543653">SF
|
2688 |
-
BUG-1237359</a>] The trailing <BR> added by Gecko at the end of the source
|
2689 |
-
is now removed. </li>
|
2690 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1170828">SF
|
2691 |
-
BUG-1170828</a>] No more &nbsp; is added to the source when using the "New
|
2692 |
-
Page" button. </li>
|
2693 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1165264&group_id=75348&atid=543653">SF
|
2694 |
-
BUG-1165264</a>] A new configuration option has been included to force the
|
2695 |
-
editor to ignore empty paragraph values (<p>&nbsp;</p>), returning
|
2696 |
-
empty (""). </li>
|
2697 |
-
<li>No more &nbsp; is added when creating a table or adding columns, rows or cells.
|
2698 |
-
</li>
|
2699 |
-
<li>The <TD> tags are now included in the FillEmptyBlocks configuration handling.
|
2700 |
-
</li>
|
2701 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1224829&group_id=75348&atid=543653">SF
|
2702 |
-
BUG-1224829</a>] A small bug in the "Find" dialog has been fixed. </li>
|
2703 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221307&group_id=75348&atid=543653">SF
|
2704 |
-
BUG-1221307</a>] A small bug in the "Image" dialog has been fixed. </li>
|
2705 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219981&group_id=75348&atid=543653">SF
|
2706 |
-
BUG-1219981</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155726&group_id=75348&atid=543653">SF
|
2707 |
-
BUG-1155726</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1178473&group_id=75348&atid=543653">SF
|
2708 |
-
BUG-1178473</a>] It is handling the <FORM>, <TEXTAREA> and <SELECT>
|
2709 |
-
tags "name" attribute correctly. Thanks to thc33. </li>
|
2710 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205403&group_id=75348&atid=543653">SF
|
2711 |
-
BUG-1205403</a>] The checkbox and radio button values are now handled correctly
|
2712 |
-
in their dialog windows. Thanks to thc33. </li>
|
2713 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236626&group_id=75348&atid=543653">SF
|
2714 |
-
BUG-1236626</a>] The toolbar now doesn't need to collapse when unloading the page
|
2715 |
-
(IE only). </li>
|
2716 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212559&group_id=75348&atid=543653">SF
|
2717 |
-
BUG-1212559</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1017231&group_id=75348&atid=543653">SF
|
2718 |
-
BUG-1017231</a>] The "Save" button now calls the "onsubmit"
|
2719 |
-
event before posting the form. The submit can be cancelled if the onsubmit returns
|
2720 |
-
"false". </li>
|
2721 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1215823&group_id=75348&atid=543653">SF
|
2722 |
-
BUG-1215823</a>] The editor now works correctly on Firefox if it values is set to
|
2723 |
-
"<p></p>". </li>
|
2724 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1217546&group_id=75348&atid=543653">SF
|
2725 |
-
BUG-1217546</a>] No error is thrown when "pasting as plain text" and no
|
2726 |
-
text is available for pasting (as an image for example). </li>
|
2727 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1207031&group_id=75348&atid=543653">SF
|
2728 |
-
BUG-1207031</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1223978">SF
|
2729 |
-
BUG-1223978</a>] The context menu is now available in the source view. </li>
|
2730 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1213871">SF
|
2731 |
-
BUG-1213871</a>] Undo has been added to table creation and table operation commands.
|
2732 |
-
</li>
|
2733 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205211&group_id=75348&atid=543653">SF
|
2734 |
-
BUG-1205211</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229941&group_id=75348&atid=543653">SF
|
2735 |
-
BUG-1229941</a>] Small bug in the mcpuk file browser have been corrected.</li>
|
2736 |
-
</ul>
|
2737 |
-
<p>
|
2738 |
-
* This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/">
|
2739 |
-
Infineon Technologies AG</a>.<br />
|
2740 |
-
** This version has been partially sponsored by <a href="http://www.visualsoft.co.uk">
|
2741 |
-
Visualsoft</a> <a href="http://www.visualsoft.co.uk/websolutions.html">Web Solutions</a>.<br />
|
2742 |
-
*** This version has been partially sponsored by <a target="_blank" href="http://www.webcrossing.com">
|
2743 |
-
Web Crossing, Inc</a>.</p>
|
2744 |
-
<h3>
|
2745 |
-
Version 2.0 FC (Final Candidate)</h3>
|
2746 |
-
<p>
|
2747 |
-
New Features and Improvements:</p>
|
2748 |
-
<ul>
|
2749 |
-
<li>A new tab called "<strong>Link</strong>" is available in the<strong> Image
|
2750 |
-
Dialog</strong> window. In this way you can insert or modify the image link directly
|
2751 |
-
from that dialog.* </li>
|
2752 |
-
<li>The new "<strong>Templates</strong>" command is now available. Now the
|
2753 |
-
user can select from a list of pre-build HTML and fill the editor with it. Take
|
2754 |
-
a look at the "_docs" for more info.** </li>
|
2755 |
-
<li>The <a target="_blank" href="http://mcpuk.net/fbxp/">mcpuk's</a> File Browser for
|
2756 |
-
PHP has been included in the package. He became the official developer of the File
|
2757 |
-
Manager for FCKeditor, so we can expect good news in the future. </li>
|
2758 |
-
<li>New configuration options are available to <strong>hide tabs</strong> from the <strong>
|
2759 |
-
Image</strong> Dialog and <strong>Link</strong> Dialog windows: LinkDlgHideTarget,
|
2760 |
-
LinkDlgHideAdvanced, ImageDlgHideLink and ImageDlgHideAdvanced. </li>
|
2761 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1189442&group_id=75348&atid=543653">SF
|
2762 |
-
BUG-1189442</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1187164&group_id=75348&atid=543653">SF
|
2763 |
-
BUG-1187164</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185905&group_id=75348&atid=543653">SF
|
2764 |
-
BUG-1185905</a>] It is now possible to configure the editor to <strong>not convert Greek</strong>
|
2765 |
-
or special <strong>Latin </strong>letters to ther specific HTML entities. You
|
2766 |
-
can also configure it to not convert any character at all. Take a look at the "ProcessHTMLEntities",
|
2767 |
-
"IncludeLatinEntities" and "IncludeGreekEntities" configuration
|
2768 |
-
options. </li>
|
2769 |
-
<li>New language files are available:
|
2770 |
-
<ul>
|
2771 |
-
<li><strong>Basque</strong> (by Ibon Igartua) </li>
|
2772 |
-
<li><strong>English (Australia / United Kingdom)</strong> (by Christopher Dawes) </li>
|
2773 |
-
<li><strong>Ukrainian</strong> (by Alexander Pervak)</li>
|
2774 |
-
</ul>
|
2775 |
-
</li>
|
2776 |
-
<li>The version and date information have been removed from the files headers to avoid
|
2777 |
-
unecessary diffs in source control systems when new versions are released (from
|
2778 |
-
now on). </li>
|
2779 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1159854&group_id=75348&atid=543655">SF
|
2780 |
-
Patch-1159854</a>] Ther HTML output rendered by the server side integration files
|
2781 |
-
are now XHTML compatible. </li>
|
2782 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181823&group_id=75348&atid=543653">SF
|
2783 |
-
BUG-1181823</a>] It is now possible to set the desired DOCTYPE to use when edit
|
2784 |
-
HTML fragments (not in Full Page mode). </li>
|
2785 |
-
<li>There is now an optional way to implement different "mouse over" effects
|
2786 |
-
to the buttons when they are "on" of "off".</li>
|
2787 |
-
</ul>
|
2788 |
-
<p>
|
2789 |
-
Fixed Bugs:</p>
|
2790 |
-
<ul>
|
2791 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162200&group_id=75348&atid=543653">SF
|
2792 |
-
BUG-1162200</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161633&group_id=75348&atid=543653">SF
|
2793 |
-
BUG-1161633</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050293&group_id=75348&atid=543653">SF
|
2794 |
-
BUG-1050293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1058948&group_id=75348&atid=543653">SF
|
2795 |
-
BUG-1058948</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1109120&group_id=75348&atid=543653">SF
|
2796 |
-
BUG-1109120</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155408&group_id=75348&atid=543653">SF
|
2797 |
-
BUG-1155408</a>] The IE memory leak bug has been solved. The
|
2798 |
-
code has been completely reviewed and many memory usage improvements have been done.
|
2799 |
-
</li>
|
2800 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1179645&group_id=75348&atid=543653">SF
|
2801 |
-
BUG-1179645</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1183252&group_id=75348&atid=543653">SF
|
2802 |
-
BUG-1183252</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF
|
2803 |
-
BUG-1181647</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155627&group_id=75348&atid=543653">SF
|
2804 |
-
BUG-1155627</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155782&group_id=75348&atid=543653">SF
|
2805 |
-
BUG-1155782</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155750&group_id=75348&atid=543653">SF
|
2806 |
-
BUG-1155750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157166&group_id=75348&atid=543653">SF
|
2807 |
-
BUG-1157166</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157857&group_id=75348&atid=543653">SF
|
2808 |
-
BUG-1157857</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158121&group_id=75348&atid=543653">SF
|
2809 |
-
BUG-1158121</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1177153&group_id=75348&atid=543653">SF
|
2810 |
-
BUG-1177153</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1175847&group_id=75348&atid=543653">SF
|
2811 |
-
BUG-1175847</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155747&group_id=75348&atid=543653">SF
|
2812 |
-
BUG-1155747</a>] There was a loading
|
2813 |
-
problem in Gecko browsers in some cases. It has been solved. </li>
|
2814 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161147&group_id=75348&atid=543653">SF
|
2815 |
-
BUG-1161147</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157635&group_id=75348&atid=543653">SF
|
2816 |
-
BUG-1157635</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149805&group_id=75348&atid=543653">SF
|
2817 |
-
BUG-1149805</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124600&group_id=75348&atid=543653">SF
|
2818 |
-
BUG-1124600</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1117535&group_id=75348&atid=543653">SF
|
2819 |
-
BUG-1117535</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118145&group_id=75348&atid=543653">SF
|
2820 |
-
BUG-1118145</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098113&group_id=75348&atid=543653">SF
|
2821 |
-
BUG-1098113</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092272&group_id=75348&atid=543653">SF
|
2822 |
-
BUG-1092272</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086416&group_id=75348&atid=543653">SF
|
2823 |
-
BUG-1086416</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027952&group_id=75348&atid=543653">SF
|
2824 |
-
BUG-1027952</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=978441&group_id=75348&atid=543653">SF
|
2825 |
-
BUG-978441</a> ] A custom Undo/Redo system
|
2826 |
-
has been implemented for IE. </li>
|
2827 |
-
<li>The editor startup execution is now made in the right order (so configurations override
|
2828 |
-
works correctly). </li>
|
2829 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF
|
2830 |
-
BUG-1166779</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166651&group_id=75348&atid=543653">SF
|
2831 |
-
BUG-1166651</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066198&group_id=75348&atid=543653">SF
|
2832 |
-
BUG-1066198</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090388&group_id=75348&atid=543653">SF
|
2833 |
-
BUG-1090388</a> ] No more "illegible" characters in the
|
2834 |
-
toolbar when "ClearType" is active. </li>
|
2835 |
-
<li>It is now possible to set the "width" style of the BODY tag in the EditorAreaCSS
|
2836 |
-
to limit the editing area size. </li>
|
2837 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1113620&group_id=75348&atid=543653">SF
|
2838 |
-
BUG-1113620</a>] In IE, the editor doesn't generate new entries in the browser history
|
2839 |
-
anymore. </li>
|
2840 |
-
<li>The editor now uses the same method used on version RC2 to load its contents on
|
2841 |
-
Gecko. It is now possible to have more than one editor in the page. This change
|
2842 |
-
has a negative impact: the BaseHref property is not working. </li>
|
2843 |
-
<li>Changes have been made to make the editor work with PHP versions older than 2.1.0.
|
2844 |
-
</li>
|
2845 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1190835&group_id=75348&atid=543653">SF
|
2846 |
-
BUG-1190835</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1196547&group_id=75348">SF
|
2847 |
-
BUG-1196547</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156863&group_id=75348&atid=543653">SF
|
2848 |
-
BUG-1156863</a>] The "Insert Horizontal Line" command is now working
|
2849 |
-
correctly. Thanks to Hector Raul Colonia Coral. </li>
|
2850 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101861&group_id=75348&atid=543653">SF
|
2851 |
-
BUG-1101861</a>] The editor now shows a normal textarea correctly (as expected)
|
2852 |
-
on Safari browsers (and all "like Gecko" browsers). Thanks to Bob Paul.
|
2853 |
-
</li>
|
2854 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1182224&group_id=75348&atid=543653">SF
|
2855 |
-
BUG-1182224</a>] The PHP connector can now handle file extensions in upper case, like
|
2856 |
-
JPG or Gif, correctly. Thanks to Georg Ivancsic. </li>
|
2857 |
-
<li>The "sample06.html" is now working correctly with Gecko browsers. </li>
|
2858 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156660&group_id=75348&atid=543653">SF
|
2859 |
-
BUG-1156660</a>] Some fixes have been applied to the Universal Keyboard. Thanks
|
2860 |
-
to Abdul-Aziz Al-Oraij. </li>
|
2861 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1192881&group_id=75348&atid=543653">SF
|
2862 |
-
BUG-1192881</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185006&group_id=75348&atid=543653">SF
|
2863 |
-
BUG-1185006</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156068&group_id=75348&atid=543653">SF
|
2864 |
-
BUG-1156068</a>] The "Browse Server" button is now working correctly
|
2865 |
-
for the Background Image in the "Document Properties" dialog window (full
|
2866 |
-
page editing). The active "BaseHref" is also set to the preview window.
|
2867 |
-
</li>
|
2868 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1191704&group_id=75348&atid=543653">SF
|
2869 |
-
BUG-1191704</a>] Invalid HTML tags (according to the W3C naming standards for XHTML)
|
2870 |
-
are ignored with no errors. </li>
|
2871 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185911&group_id=75348&atid=543653">SF
|
2872 |
-
BUG-1185911</a>] The Greek language file name has been corrected to "el.js".
|
2873 |
-
</li>
|
2874 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF
|
2875 |
-
BUG-1181572</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158421&group_id=75348&atid=543653">SF
|
2876 |
-
BUG-1158421</a>] The "Print" button is now active on startup. </li>
|
2877 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF
|
2878 |
-
BUG-1165219</a>] No error occours when the user defines just one color to the FontColors
|
2879 |
-
on "in page" configurations. </li>
|
2880 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162957&group_id=75348&atid=543653">SF
|
2881 |
-
BUG-1162957</a>] The small problem with Zope (ZPT) has been solved. </li>
|
2882 |
-
<li>Some small RTL / LTR corrections has been done in the interface and the Farsi language
|
2883 |
-
has been added to the Universal Keyboard. Thanks to Silver Baghdasarian.</li>
|
2884 |
-
</ul>
|
2885 |
-
<p>
|
2886 |
-
* This version has been partially sponsored by the <a href="http://www.hamilton.edu">
|
2887 |
-
Hamilton College</a>.<br />
|
2888 |
-
** This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/">
|
2889 |
-
Infineon Technologies AG</a>.</p>
|
2890 |
-
<h3>
|
2891 |
-
Version 2.0 RC3 (Release Candidate 3)</h3>
|
2892 |
-
<p>
|
2893 |
-
New Features and Improvements:</p>
|
2894 |
-
<ul>
|
2895 |
-
<li>The editor now offers native <strong>Perl integration</strong>! Thanks and welcome
|
2896 |
-
to Takashi Yamaguchi, our official Perl developer. </li>
|
2897 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026584&group_id=75348&atid=543656">SF
|
2898 |
-
Feature-1026584</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1112692&group_id=75348&atid=543656">SF
|
2899 |
-
Feature-1112692</a>] <strong>Formatting </strong>has been introduced to the
|
2900 |
-
<strong>Source View</strong>. The output HTML can also be formatted. You can choose
|
2901 |
-
to use spaces or tab for indentation. See the configuration file. </li>
|
2902 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1031492&group_id=75348&atid=543656">SF
|
2903 |
-
Feature-1031492</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004293&group_id=75348&atid=543656">SF
|
2904 |
-
Feature-1004293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=784281&group_id=75348&atid=543656">SF
|
2905 |
-
Feature-784281</a>] It is now possible to edit <strong>full HTML pages</strong>
|
2906 |
-
with the editor. Use the "FullPage" configuration setting to activate
|
2907 |
-
it. </li>
|
2908 |
-
<li>The new toolbar command, "<strong>Document Properties</strong>" is
|
2909 |
-
available to edit document header info, title, colors, background, etc... Full page
|
2910 |
-
editing must be enabled. </li>
|
2911 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151448&group_id=75348&atid=543656">SF
|
2912 |
-
Feature-1151448</a>] <strong>Spell Check</strong> is now available. You can use
|
2913 |
-
<strong>ieSpell</strong> or <strong>Speller Pages</strong> right from FCKeditor.
|
2914 |
-
More info about configuration can be found in the _docs folder. </li>
|
2915 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041686&group_id=75348&atid=543656">SF
|
2916 |
-
Feature-1041686</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086386&group_id=75348&atid=543656">SF
|
2917 |
-
Feature-1086386</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124602&group_id=75348&atid=543656">SF
|
2918 |
-
Feature-1124602</a>] New "<strong>Insert Anchor</strong>" command
|
2919 |
-
has been introduced. (The anchor icon is visible only over IE for now). </li>
|
2920 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1123816&group_id=75348&atid=543656">SF
|
2921 |
-
Feature-1123816</a>] It is now possible to configure the editor to <strong>show "fake"
|
2922 |
-
table borders</strong> when the border size is set to zero. (It is working only
|
2923 |
-
on IE for now). </li>
|
2924 |
-
<li><strong>Numbered</strong> and <strong>Bulleted</strong> lists can now be <strong>
|
2925 |
-
configured</strong> . Just right click on then. </li>
|
2926 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088608&group_id=75348&atid=543656">SF
|
2927 |
-
Feature-1088608</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1144047&group_id=75348&atid=543656">SF
|
2928 |
-
Feature-1144047</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149808&group_id=75348&atid=543656">SF
|
2929 |
-
Feature-1149808</a>] A new configuration setting is available, "<strong>BaseHref</strong>
|
2930 |
-
", to set the URL used to resolve relative links. </li>
|
2931 |
-
<li>It is now possible to set the <strong>content language direction</strong> .
|
2932 |
-
See the "FCKConfig.ContentLangDirection" configurations setting. </li>
|
2933 |
-
<li>All <strong>Field Commands</strong> available on version 1.6 have been upgraded
|
2934 |
-
and included in this version: <strong>form</strong>, <strong>checkbox</strong>,
|
2935 |
-
<strong>radio button</strong>, <strong>text field</strong>, text <strong>area</strong>,
|
2936 |
-
<strong>select field</strong>, <strong>button</strong>, <strong>image button</strong>
|
2937 |
-
and <strong>hidden field</strong> . </li>
|
2938 |
-
<li><strong>Context menu</strong> options (right-click) has been added for: <strong>
|
2939 |
-
anchors</strong>, <strong>select field</strong>, <strong>textarea</strong>, <strong>
|
2940 |
-
checkbox</strong>, <strong>radio button</strong>, <strong>text field</strong>,
|
2941 |
-
<strong>hidden field</strong>, <strong>textarea</strong>, <strong>button</strong>,
|
2942 |
-
<strong>image button</strong>, <strong>form</strong>, <strong>bulleted list</strong>
|
2943 |
-
and <strong>numbered list</strong> . </li>
|
2944 |
-
<li>The "<strong>Universal Keyboard</strong>" has been converted from version
|
2945 |
-
1.6 to this one and it's now available. </li>
|
2946 |
-
<li>It is now possible to <strong>configure</strong> the items to be shown in the <strong>
|
2947 |
-
context menu</strong> . Just use the FCKConfig.ContextMenu option at fckconfig.js.
|
2948 |
-
</li>
|
2949 |
-
<li>A new configuration (FillEmptyBlocks) is available to force the editor to <strong>
|
2950 |
-
automatically insert a &nbsp;</strong> on empty block elements (p, div, pre,
|
2951 |
-
h1, etc...) to avoid differences from the editing and the final result. (Actually,
|
2952 |
-
the editor automatically "grows" empty elements to make the user able
|
2953 |
-
to enter text on it). Attention: the extra &nbsp; will be added when switching
|
2954 |
-
from WYSIWYG to Source View, so the user may see an additional space on empty blocks.
|
2955 |
-
(XHTML support must be enabled). </li>
|
2956 |
-
<li>It is now possible to configure the <strong>toolbar</strong> to "<strong>break</strong>
|
2957 |
-
" between two toolbar strips. Just insert a "/" between then. Take
|
2958 |
-
a look at fckconfig.js for a sample. </li>
|
2959 |
-
<li>New Language files are available:
|
2960 |
-
<ul>
|
2961 |
-
<li><strong>Brazilian Portuguese</strong> (by Carlos Alberto Tomatis Loth) </li>
|
2962 |
-
<li><strong>Bulgarian</strong> (by Miroslav Ivanov) </li>
|
2963 |
-
<li><strong>Esperanto</strong> (by Tim Morley) </li>
|
2964 |
-
<li><strong>Galician</strong> (by Fernando Riveiro Lopez) </li>
|
2965 |
-
<li><strong>Japanese</strong> ( by Takashi Yamaguchi) </li>
|
2966 |
-
<li><strong>Persian</strong> (by Hamed Taj-Abadi) </li>
|
2967 |
-
<li><strong>Romanian</strong> (by Adrian Nicoara) </li>
|
2968 |
-
<li><strong>Slovak</strong> (by Gabriel Kiss) </li>
|
2969 |
-
<li><strong>Thai </strong>(by Audy Charin Arsakit) </li>
|
2970 |
-
<li><strong>Turkish</strong> (by Reha Biçer) </li>
|
2971 |
-
<li>The Chinese Traditional has been set as the default (zn) instead of zn-tw.</li>
|
2972 |
-
</ul>
|
2973 |
-
</li>
|
2974 |
-
<li>Warning: All toolbar image images have been changed. The "button." prefix
|
2975 |
-
has been removed. If you have your custom skin, please rename your files. </li>
|
2976 |
-
<li>A new plugin is available in the package: "<strong>Placeholders</strong>".
|
2977 |
-
In this way you can insert non editable tags in your document to be processed on
|
2978 |
-
server side (very specific usage). </li>
|
2979 |
-
<li>The ASPX files are no longer available in this package. They have been moved to
|
2980 |
-
the FCKeditor.Net package. In this way the ASP.Net integration is much better organized.
|
2981 |
-
</li>
|
2982 |
-
<li>The FCKeditor.Packager program is now part of the main package. It is not anymore distributed
|
2983 |
-
separately. </li>
|
2984 |
-
<li>The PHP connector now sets the uploaded file permissions (chmod) to 0777. </li>
|
2985 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090215&group_id=75348&atid=543655">SF
|
2986 |
-
Patch-1090215</a>] It's now possible to give back more info from your custom image
|
2987 |
-
browser calling the SetUrl( url [, width] [, height] [, alt] ). Thanks to Ben Noblet.
|
2988 |
-
</li>
|
2989 |
-
<li>The package files now maintain their original "Last Modified" date, so
|
2990 |
-
incremental FTP uploads can be used to update to new versions of the editor
|
2991 |
-
(from now on). </li>
|
2992 |
-
<li>The "Source" view now forces its contents to be written in "Left
|
2993 |
-
to Right" direction even when the editor interface language is running a RTL
|
2994 |
-
language (like Arabic, Hebrew or Persian). </li>
|
2995 |
-
</ul>
|
2996 |
-
<p>
|
2997 |
-
Fixed Bugs:</p>
|
2998 |
-
<ul>
|
2999 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124220&group_id=75348&atid=543653">SF
|
3000 |
-
BUG-1124220</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1119894&group_id=75348&atid=543653">SF
|
3001 |
-
BUG-1119894</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090986&group_id=75348&atid=543653">SF
|
3002 |
-
BUG-1090986</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100408&group_id=75348&atid=543653">SF
|
3003 |
-
BUG-1100408</a>] The editor now works correctly when starting with an
|
3004 |
-
empty value and switching to the Source mode. </li>
|
3005 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1119380&group_id=75348&atid=543653">SF
|
3006 |
-
BUG-1119380</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1115750&group_id=75348&atid=543653">SF
|
3007 |
-
BUG-1115750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101808&group_id=75348&atid=543653">SF
|
3008 |
-
BUG-1101808</a>] The problem with the scrollbar and the toolbar combos (Style,
|
3009 |
-
Font, etc...) over Mac has been fixed. </li>
|
3010 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098460&group_id=75348&atid=543653">SF
|
3011 |
-
BUG-1098460</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076544&group_id=75348&atid=543653">SF
|
3012 |
-
BUG-1076544</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077845&group_id=75348&atid=543653">SF
|
3013 |
-
BUG-1077845</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092395&group_id=75348&atid=543653">SF
|
3014 |
-
BUG-1092395</a>] A new upload class has been included for the ASP File
|
3015 |
-
Manager Connector. It uses the "ADODB.Stream" object. Many thanks to "NetRube".
|
3016 |
-
</li>
|
3017 |
-
<li>I small correction has been made to the ColdFusion integration files. Thanks to
|
3018 |
-
Hendrik Kramer. </li>
|
3019 |
-
<li>There was a very specific problem when the editor was running over a FRAME executed
|
3020 |
-
on another domain. </li>
|
3021 |
-
<li>The performance problem on Gecko while typing quickly has been solved. </li>
|
3022 |
-
<li>The <br type= "_moz">is not anymore shown on XHTML source. </li>
|
3023 |
-
<li>It has been introduced a mechanism to avoid automatic contents duplication on very
|
3024 |
-
specific occasions (bad formatted HTML). </li>
|
3025 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146407&group_id=75348&atid=543653">SF
|
3026 |
-
BUG-1146407</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1145800&group_id=75348&atid=543653">SF
|
3027 |
-
BUG-1145800</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118803&group_id=75348&atid=543653">SF
|
3028 |
-
BUG-1118803</a> ] Other issues in the XHTML processor have been solved.
|
3029 |
-
</li>
|
3030 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1143969&group_id=75348&atid=543653">SF
|
3031 |
-
BUG-1143969</a>] The editor now accepts the "accept-charset" attribute
|
3032 |
-
in the FORM tag (IE specific bug). </li>
|
3033 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1122742&group_id=75348&atid=543653">SF
|
3034 |
-
BUG-1122742</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089548&group_id=75348&atid=543653">SF
|
3035 |
-
BUG-1089548</a> ] Now, the contents of the SCRIPT and STYLE tags remain untouched.
|
3036 |
-
</li>
|
3037 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1114748&group_id=75348&atid=543653">SF
|
3038 |
-
BUG-1114748</a>] The PHP File Manager Connector now sets the new folders permissions
|
3039 |
-
(chmod) to 0777 correctly. </li>
|
3040 |
-
<li>The PHP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/php/config.php)
|
3041 |
-
to set some security preferences. </li>
|
3042 |
-
<li>The ASP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/asp/config.asp)
|
3043 |
-
to set some security preferences. </li>
|
3044 |
-
<li>A small bug in the toolbar rendering (strips auto position) has been corrected.
|
3045 |
-
</li>
|
3046 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093732&group_id=75348&atid=543653">SF
|
3047 |
-
BUG-1093732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1091377&group_id=75348&atid=543653">SF
|
3048 |
-
BUG-1091377</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083044&group_id=75348&atid=543653">SF
|
3049 |
-
BUG-1083044</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1096307&group_id=75348&atid=543653">SF
|
3050 |
-
BUG-1096307</a>] The configurations are now encoded so a user can use
|
3051 |
-
values that has special chars (&=/). </li>
|
3052 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1103688&group_id=75348&atid=543653">SF
|
3053 |
-
BUG-1103688</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092331&group_id=75348&atid=543653">SF
|
3054 |
-
BUG-1092331</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088220&group_id=75348&atid=543653">SF
|
3055 |
-
BUG-1088220</a>] PHP samples now use PHP_SELF to automatically discover
|
3056 |
-
the editor's base path. </li>
|
3057 |
-
<li>Some small wrapping problems with some labels in the Image and Table dialog windows
|
3058 |
-
have been fixed. </li>
|
3059 |
-
<li>All .js files are now encoded in UTF-8 format with the BOM (byte order mask) to
|
3060 |
-
avoid some errors on specific Linux installations. </li>
|
3061 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114449&group_id=75348&atid=543653">SF
|
3062 |
-
BUG-1114449</a>] The editor packager program has been modified so now it is possible
|
3063 |
-
to use the source files to run the editor as described in the documentation. The
|
3064 |
-
new packager must be downloaded. </li>
|
3065 |
-
<li>A small problem with the editor focus while in source mode has been corrected.
|
3066 |
-
Thanks to Eric (ric1607). </li>
|
3067 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1108167&group_id=75348&atid=543653">SF
|
3068 |
-
BUG-1108167</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085149&group_id=75348&atid=543653">SF
|
3069 |
-
BUG-1085149</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151296&group_id=75348&atid=543653">SF
|
3070 |
-
BUG-1151296</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082433&group_id=75348&atid=543653">SF
|
3071 |
-
BUG-1082433</a>] No more IFRAMEs without src attribute. Now it points
|
3072 |
-
to a blank page located in the editor's package. In this way we avoid security warnings
|
3073 |
-
when using the editor over HTTPS. Thanks to Guillermo Bozovich. </li>
|
3074 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1117779&group_id=75348&atid=543653">SF
|
3075 |
-
BUG-1117779</a>] The editor now works well if you have more than one element named
|
3076 |
-
"submit" on its form (even if it is not correct to have this situation).
|
3077 |
-
</li>
|
3078 |
-
<li>The XHTML processor was duplicating the text on some specific situation. It has
|
3079 |
-
been fixed. </li>
|
3080 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090213&group_id=75348&atid=543655">SF
|
3081 |
-
Patch-1090213</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098929&group_id=75348&atid=543653">SF
|
3082 |
-
Patch-1098929</a>] With ASP, the editor now works correctly on pages using "Option
|
3083 |
-
Explicit". Thanks to Ben Noblet. </li>
|
3084 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100759&group_id=75348&atid=543653">SF
|
3085 |
-
BUG-1100759</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029125&group_id=75348&atid=543653">SF
|
3086 |
-
BUG-1029125</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=966130&group_id=75348&atid=543653">SF
|
3087 |
-
BUG-966130</a>] The editor was not working with old IE 5.5 browsers. There
|
3088 |
-
was a problem with the XML parser. It has been fixed. </li>
|
3089 |
-
<li>The localization engine is now working correctly over IE 5.5 browsers. </li>
|
3090 |
-
<li>Some commands where not working well over IE 5.5 (emoticons, image,...). It has
|
3091 |
-
been fixed. </li>
|
3092 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146441&group_id=75348&atid=543653">SF
|
3093 |
-
BUG-1146441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149777&group_id=75348&atid=543653">SF
|
3094 |
-
BUG-1149777</a>] The editor now uses the TEXTAREA id in the ReplaceTextarea
|
3095 |
-
function. If the id is now found, it uses the "name". The docs have been
|
3096 |
-
updated. </li>
|
3097 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1144297&group_id=75348&atid=543653">SF
|
3098 |
-
BUG-1144297</a>] Some corrections have been made to the Dutch language file. Thanks
|
3099 |
-
to Erwin Dondorp. </li>
|
3100 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1121365&group_id=75348&atid=543653">SF
|
3101 |
-
BUG-1121365</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090102&group_id=75348&atid=543653">SF
|
3102 |
-
BUG-1090102</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152171&group_id=75348&atid=543653">SF
|
3103 |
-
BUG-1152171</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102907&group_id=75348&atid=543653">SF
|
3104 |
-
BUG-1102907</a>] There is no problem now to start the editor with values
|
3105 |
-
like "<div></div>" or "<p></p>". </li>
|
3106 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114059&group_id=75348&atid=543653">SF
|
3107 |
-
BUG-1114059</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041861&group_id=75348&atid=543653">SF
|
3108 |
-
BUG-1041861</a>] The click on the disabled options in the Context Menu has no
|
3109 |
-
effects now. </li>
|
3110 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152617&group_id=75348&atid=543653">SF
|
3111 |
-
BUG-1152617</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102441&group_id=75348&atid=543653">SF
|
3112 |
-
BUG-1102441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1095312&group_id=75348&atid=543653">SF
|
3113 |
-
BUG-1095312</a>] Some problems when setting the editor source to very specific
|
3114 |
-
values has been fixed. </li>
|
3115 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093514&group_id=75348&atid=543653">SF
|
3116 |
-
BUG-1093514</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089204&group_id=75348&atid=543653">SF
|
3117 |
-
BUG-1089204</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077609&group_id=75348&atid=543653">SF
|
3118 |
-
BUG-1077609</a>] The editor now runs correctly if called directly (locally) without
|
3119 |
-
a server installation (just opening the HTML sample files). </li>
|
3120 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088248&group_id=75348&atid=543653">SF
|
3121 |
-
BUG-1088248</a>] The editor now uses a different method to load its contents. In
|
3122 |
-
this way the URLs remain untouched. </li>
|
3123 |
-
<li>The PHP integration file now detects Internet Explorer 5.5 correctly.</li>
|
3124 |
-
</ul>
|
3125 |
-
<h3>
|
3126 |
-
Version 2.0 RC2 (Release Candidate 2)</h3>
|
3127 |
-
<ul>
|
3128 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF
|
3129 |
-
Feature-1042034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075961&group_id=75348&atid=543656">SF
|
3130 |
-
Feature-1075961</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083200&group_id=75348&atid=543656">SF
|
3131 |
-
Feature-1083200</a>] A new dialog window for the <strong>table cell properties</strong>
|
3132 |
-
is now available (right-click). </li>
|
3133 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF
|
3134 |
-
Feature-1042034</a>] The new "<strong>Split Cell</strong> ", to split
|
3135 |
-
a table cell in two columns, has been introduced (right-click). </li>
|
3136 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF
|
3137 |
-
Feature-1042034</a>] The new "<strong>Merge Cells</strong>", to merge
|
3138 |
-
table cells (in the same row), has been introduced (right-click). </li>
|
3139 |
-
<li>The "fake" <strong>TAB key support</strong> (available by default over
|
3140 |
-
Gecko browsers is now available over IE too. You can set the number of spaces to
|
3141 |
-
add setting the FCKConfig.TabSpaces configuration setting. Set it to 0 (zero) to
|
3142 |
-
disable this feature (IE). </li>
|
3143 |
-
<li>It now possible to tell IE to send a <strong><BR></strong> when the user presses
|
3144 |
-
the <strong>Enter key</strong>. Take a look at the FCKConfig.UseBROnCarriageReturn
|
3145 |
-
configuration setting. </li>
|
3146 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085422&group_id=75348&atid=543656">SF
|
3147 |
-
Feature-1085422</a>] <strong>ColdFusion</strong>: The <strong>File Manager connector</strong>
|
3148 |
-
is now available! (Thanks to Hendrik Kramer). </li>
|
3149 |
-
<li>The editor is now available in <strong>29 languages!</strong> The new language files
|
3150 |
-
available are:
|
3151 |
-
<ul>
|
3152 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1067775&group_id=75348&atid=543656">SF
|
3153 |
-
Feature-1067775</a>] <strong>Chinese Simplified and Traditional</strong> (Taiwan
|
3154 |
-
and Hong Kong) (by NetRube). </li>
|
3155 |
-
<li><strong>Czech</strong> (by David Horák). </li>
|
3156 |
-
<li><strong>Danish</strong> (by Jesper Michelsen). </li>
|
3157 |
-
<li><strong>Dutch</strong> (by Bram Crins). </li>
|
3158 |
-
<li><strong>German</strong> (by Maik Unruh). </li>
|
3159 |
-
<li><strong>Portuguese</strong> (Portugal) (by Francisco Pereira). </li>
|
3160 |
-
<li><strong>Russian</strong> (by Andrey Grebnev). </li>
|
3161 |
-
<li><strong>Slovenian</strong> (by Boris Volaric).</li>
|
3162 |
-
</ul>
|
3163 |
-
</li>
|
3164 |
-
<li>Updates to the <strong>French</strong> language files (by Hubert Garrido). </li>
|
3165 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085816&group_id=75348&atid=543653">SF
|
3166 |
-
BUG-1085816</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083743&group_id=75348&atid=543653">SF
|
3167 |
-
BUG-1083743</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078783&group_id=75348&atid=543653">SF
|
3168 |
-
BUG-1078783</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF
|
3169 |
-
BUG-1077861</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF
|
3170 |
-
BUG-1037404</a>] Many small bugs in the XHTML processor
|
3171 |
-
has been corrected (workarounds to browser specific bugs). These are some things
|
3172 |
-
to consider regarding the changes:
|
3173 |
-
<ul>
|
3174 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083744&group_id=75348&atid=543653">SF
|
3175 |
-
BUG-1083744</a>] On Gecko browsers, any element attribute that the name starts with
|
3176 |
-
"_moz" will be ignored. </li>
|
3177 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1060073&group_id=75348&atid=543653">SF
|
3178 |
-
BUG-1060073</a>] The <STYLE> and <SCRIPT> elements contents will be
|
3179 |
-
handled as is, without CDATA tag surrounding. This may break XHTML validation. In
|
3180 |
-
any case the use of external files for scripts and styles is recommended (W3C recommendation).</li>
|
3181 |
-
</ul>
|
3182 |
-
</li>
|
3183 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088310&group_id=75348&atid=543653">SF
|
3184 |
-
BUG-1088310</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078837&group_id=75348&atid=543653">SF
|
3185 |
-
BUG-1078837</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF
|
3186 |
-
BUG-999792</a>] URLs now remain untouched when initializing the editor or
|
3187 |
-
switching from WYSYWYG to Source and vice versa. </li>
|
3188 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082323&group_id=75348&atid=543653">SF
|
3189 |
-
BUG-1082323</a>] The problem in the ASP and PHP connectors when handling non
|
3190 |
-
"strange" chars in file names has been corrected. </li>
|
3191 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085034&group_id=75348&atid=543653">SF
|
3192 |
-
BUG-1085034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076796&group_id=75348&atid=543653">SF
|
3193 |
-
BUG-1076796</a>] Some bugs in the PHP connector have been corrected. </li>
|
3194 |
-
<li>A problem with the "Format" command on IE browsers on languages different
|
3195 |
-
of English has been solved. The negative side of this correction is that due to
|
3196 |
-
a IE bad design it is not possible to update the "Format" combo while
|
3197 |
-
moving throw the text (context sensitive). </li>
|
3198 |
-
<li>On Gecko browsers, when selecting an image and executing the "New Page"
|
3199 |
-
command, the image handles still appear, even if the image is not available anymore
|
3200 |
-
(this is a Gecko bug). When clicking in a "phanton" randle, the browser
|
3201 |
-
crashes. It doesn't happen (the crash) anymore. </li>
|
3202 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082197&group_id=75348&atid=543653">SF
|
3203 |
-
BUG-1082197</a>] On ASP, the bug in the browser detection system for Gecko browsers
|
3204 |
-
has been corrected. Thanks to Alex Varga. </li>
|
3205 |
-
<li>Again on ASP, the browser detection for IE had some problems on servers that use
|
3206 |
-
comma for decimal separators on numbers. It has been corrected. Thanks to Agrotic.
|
3207 |
-
</li>
|
3208 |
-
<li>No error is thrown now when non existing language is configured in the
|
3209 |
-
editor. The English language file is loaded in that case. </li>
|
3210 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077747&group_id=75348&atid=543653">SF
|
3211 |
-
BUG-1077747</a>] The missing images on the Office2003 and Silver skins are now included
|
3212 |
-
in the package. </li>
|
3213 |
-
<li>On some Gecko browsers, the dialog window was not loading correctly. I couldn't
|
3214 |
-
reproduce the problem, but a fix has been applied based on users tests. </li>
|
3215 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004078&group_id=75348&atid=543653">SF
|
3216 |
-
BUG-1004078</a>] ColdFusion: The "config" structure/hash table with keys
|
3217 |
-
and values is in ColdFusion not(!) case sensitive. All keys returned by ColdFusion
|
3218 |
-
are in upper case format. Because the FCKeditor configuration keys must be case
|
3219 |
-
sensitive, we had to match all structure/hash keys with a list of the correct configuration
|
3220 |
-
names in mixed case. This has been added to the fckeditor.cfc and fckeditor.cfm.
|
3221 |
-
</li>
|
3222 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075166&group_id=75348&atid=543653">SF
|
3223 |
-
BUG-1075166</a>] ColdFusion: The "fallback" variant of the texteditor
|
3224 |
-
(<textarea>) has a bug in the fckeditor.cfm. This has been fixed. </li>
|
3225 |
-
<li>A typo in the Polish language file has been corrected. Thanks to Pawel Tomicki.
|
3226 |
-
</li>
|
3227 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086370&group_id=75348&atid=543653">SF
|
3228 |
-
BUG-1086370</a>] A small coding type in the Link dialog window has been corrected.
|
3229 |
-
</li>
|
3230 |
-
</ul>
|
3231 |
-
<h3>
|
3232 |
-
Version 2.0 RC1 (Release Candidate 1)</h3>
|
3233 |
-
<ul>
|
3234 |
-
<li><strong>ASP</strong> support is now available (including the File Manager connector).
|
3235 |
-
</li>
|
3236 |
-
<li><strong>PHP</strong> support is now available (including the File Manager connector).
|
3237 |
-
</li>
|
3238 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1063217&group_id=75348&atid=543656">SF
|
3239 |
-
Feature-1063217</a>] The new advanced <strong>Style</strong> command is available
|
3240 |
-
in the toolbar: full preview, context sensitive, style definitions are loaded from
|
3241 |
-
a XML file (see documentation for more instructions). </li>
|
3242 |
-
<li>The <strong>Font Format</strong>, <strong>Font Name</strong> and <strong>Font Size</strong>
|
3243 |
-
toolbar command now show a <strong>preview</strong> of the available options. </li>
|
3244 |
-
<li>The new <strong>Find</strong> and <strong>Replace</strong> features has been introduced.
|
3245 |
-
</li>
|
3246 |
-
<li>A new <strong>Plug-in</strong> system has been developed. Now it is quite easy to
|
3247 |
-
customize the editor to your needs. (Take a look at the html/sample06.html file).
|
3248 |
-
</li>
|
3249 |
-
<li>The editor now handles <strong>HTML entities</strong> in the right way (XHTML support
|
3250 |
-
must be set to "true"). It handles all entities defined in the W3C XHTML
|
3251 |
-
DTD file. </li>
|
3252 |
-
<li>A new "_docs" folder has been introduced for the <strong>documentation</strong>.
|
3253 |
-
It is not yet complete, but I hope the community will help us to fill it better.
|
3254 |
-
</li>
|
3255 |
-
<li>It is now possible (even if it is not recommended by the W3C) to force the use of
|
3256 |
-
simple ampersands (&) on attributes (like the links href) instead of its entity
|
3257 |
-
&amp;. Just set FCKConfig.ForceSimpleAmpersand = true in the configuration
|
3258 |
-
file. </li>
|
3259 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026866&group_id=75348&atid=543656">SF
|
3260 |
-
Feature-1026866</a>] The "<strong>EditorAreaCSS</strong>" configuration
|
3261 |
-
option has been introduced. In this way you can set the CSS to use in the editor
|
3262 |
-
(editable area). </li>
|
3263 |
-
<li>The editing area is not anymore clipped if the toolbar is too large and exceeds
|
3264 |
-
the window width. </li>
|
3265 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064902&group_id=75348&atid=543653">SF
|
3266 |
-
BUG-1064902</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033933&group_id=75348&atid=543653">SF
|
3267 |
-
BUG-1033933</a>] The editor <strong>interface</strong> is now completely <strong>localizable</strong>.
|
3268 |
-
The version ships with 19 languages including: <b>Arabic</b>, <b>Bosnian</b>, <b>Catalan</b>,
|
3269 |
-
<b>English</b>, <b>Spanish</b>, <b>Estonian</b>, <b>Finnish</b>, <b>French</b>,
|
3270 |
-
<b>Greek</b>, <b>Hebrew</b>, <b>Croatian</b>, <b>Italian</b>, <b>Korean</b>, <b>Lithuanian</b>,
|
3271 |
-
<b>Norwegian</b>, <strong>Polish</strong>, <strong>Serbian (Cyrillic)</strong>,
|
3272 |
-
<strong>Serbian (Latin)</strong> and <strong>Swedish</strong>.</li>
|
3273 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027858&group_id=75348&atid=543653">SF
|
3274 |
-
BUG-1027858</a>] Firefox 1.0 PR introduced a bug that made the editor
|
3275 |
-
stop working on it. A workaround has been developed to fix the problem. </li>
|
3276 |
-
<li>There was a positioning problem over IE with the color panel. It has been corrected.
|
3277 |
-
</li>
|
3278 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049842&group_id=75348&atid=543653">SF
|
3279 |
-
BUG-1049842</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033832&group_id=75348&atid=543653">SF
|
3280 |
-
BUG-1033832</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028623&group_id=75348&atid=543653">SF
|
3281 |
-
BUG-1028623</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026610&group_id=75348&atid=543653">SF
|
3282 |
-
BUG-1026610</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064498&group_id=75348&atid=543653">SF
|
3283 |
-
BUG-1064498</a>] The combo commands in the toolbar were not opening
|
3284 |
-
in the right way. It has been fixed. </li>
|
3285 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1053399&group_id=75348&atid=543653">SF
|
3286 |
-
BUG-1053399</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965318&group_id=75348&atid=543653">SF
|
3287 |
-
BUG-965318</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018296&group_id=75348&atid=543653">SF
|
3288 |
-
BUG-1018296</a>] The toolbar buttons icons were not showing on some IE and
|
3289 |
-
Firefox/Mac installations. It has been fixed. </li>
|
3290 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054621&group_id=75348&atid=543653">SF
|
3291 |
-
BUG-1054621</a>] Color pickers are now working with the "office2003" and
|
3292 |
-
"silver" skins. </li>
|
3293 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054108&group_id=75348&atid=543653">SF
|
3294 |
-
BUG-1054108</a>] IE doesn’t recognize the "&apos;" entity for
|
3295 |
-
apostrophes, so a workaround has been developed to replace it with "&#39;"
|
3296 |
-
(its numeric entity representation). </li>
|
3297 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983434&group_id=75348&atid=543653">SF
|
3298 |
-
BUG-983434</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983398&group_id=75348&atid=543653">SF
|
3299 |
-
BUG-983398</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028103&group_id=75348&atid=543653">SF
|
3300 |
-
BUG-1028103</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1072496&group_id=75348&atid=543653">SF
|
3301 |
-
BUG-1072496</a>] The problem with elements with name "submit"
|
3302 |
-
inside the editor's form has been solved. </li>
|
3303 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018743&group_id=75348&atid=543653">SF
|
3304 |
-
BUG-1018743</a>] The problem with Gecko when collapsing the toolbar while in source
|
3305 |
-
mode has been fixed. </li>
|
3306 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1065268&group_id=75348">SF
|
3307 |
-
BUG-1065268</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034354&group_id=75348&atid=543653">SF
|
3308 |
-
BUG-1034354</a>] The XHTML processor now doesn’t use the minimized tag
|
3309 |
-
syntax (like <br/>) for empty elements that are not marked as EMPTY in the
|
3310 |
-
W3C XHTML DTD specifications. </li>
|
3311 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029654&group_id=75348&atid=543653">SF
|
3312 |
-
BUG-1029654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046500&group_id=75348&atid=543653">SF
|
3313 |
-
BUG-1046500</a>] Due to a bug on Gecko there was a problem when creating links.
|
3314 |
-
It has been fixed. </li>
|
3315 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1065973&group_id=75348&atid=543653">SF
|
3316 |
-
BUG-1065973</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF
|
3317 |
-
BUG-999792</a>] The editor now handles relative URLs in IE. In effect IE transform
|
3318 |
-
all relative URLs to absolute links, pointing to the site the editor is running.
|
3319 |
-
So now the editor removes the protocol and host part of the link if it matches the
|
3320 |
-
running server. </li>
|
3321 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1071824&group_id=75348&atid=543653">SF
|
3322 |
-
BUG-1071824</a>] The color dialog box bug has been fixed. </li>
|
3323 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052856&group_id=75348&atid=543653">SF
|
3324 |
-
BUG-1052856</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046493&group_id=75348&atid=543653">SF
|
3325 |
-
BUG-1046493</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1023530&group_id=75348&atid=543653">SF
|
3326 |
-
BUG-1023530</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1025978&group_id=75348&atid=543653">SF
|
3327 |
-
BUG-1025978</a>] The editor now doesn’t throw an error if no selection
|
3328 |
-
was made and the create link command is used. </li>
|
3329 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036756&group_id=75348&atid=543653">SF
|
3330 |
-
BUG-1036756</a>] The XHTML processor has been reviewed. </li>
|
3331 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029101&group_id=75348&atid=543653">SF
|
3332 |
-
BUG-1029101</a>] The Paste from Word feature is working correctly. </li>
|
3333 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034623&group_id=75348&atid=543653">SF
|
3334 |
-
BUG-1034623</a>] There is an IE bug when setting the editor value to "<p><hr></p>".
|
3335 |
-
A workaround has been developed. </li>
|
3336 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052695&group_id=75348&atid=543653">SF
|
3337 |
-
BUG-1052695</a>] There are some rendering differences between Netscape and Mozilla.
|
3338 |
-
(Actually that is a bug on both browsers). A workaround has been developed to solve
|
3339 |
-
it. </li>
|
3340 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1073053&group_id=75348&atid=543653">SF
|
3341 |
-
BUG-1073053</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050394&group_id=75348&atid=543653">SF
|
3342 |
-
BUG-1050394</a>] The editor doesn’t throw errors when hidden. </li>
|
3343 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066321&group_id=75348&atid=543653">SF
|
3344 |
-
BUG-1066321</a>] Scrollbars should not appear on dialog boxes (at least for the
|
3345 |
-
Image and Link ones). </li>
|
3346 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046490&group_id=75348&atid=543653">SF
|
3347 |
-
BUG-1046490</a>] Dialogs now are forced to show on foreground over Mac. </li>
|
3348 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1073955&group_id=75348">SF
|
3349 |
-
BUG-1073955</a>] A small bug in the image dialog window has been corrected. </li>
|
3350 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049534&group_id=75348&atid=543653">SF
|
3351 |
-
BUG-1049534</a>] The Resources Browser window is now working well over Gecko browsers.
|
3352 |
-
</li>
|
3353 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036675&group_id=75348&atid=543653">SF
|
3354 |
-
BUG-1036675</a>] The Resources Browser window now displays the server error on bad
|
3355 |
-
installations.</li>
|
3356 |
-
</ul>
|
3357 |
-
<h3>
|
3358 |
-
Version 2.0 Beta 2</h3>
|
3359 |
-
<ul>
|
3360 |
-
<li>There is a new configuration - "<strong>GeckoUseSPAN</strong>" - that
|
3361 |
-
can be used to tell Gecko browsers to use <SPAN style...> or <B>, <I>
|
3362 |
-
and <U> for the bold, italic and underline commands. </li>
|
3363 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1002622&group_id=75348&atid=543656">SF
|
3364 |
-
Feature-1002622</a>] New <strong>Text Color</strong> and <strong>Background Color</strong>
|
3365 |
-
commands have been added to the editor. </li>
|
3366 |
-
<li>On Gecko browsers, a message is shown when, because of security settings, the
|
3367 |
-
user is not able to cut, copy or paste data from the clipboard using the
|
3368 |
-
toolbar buttons or the context menu. </li>
|
3369 |
-
<li>The new "<strong>Paste as Plain Text</strong> " command has been introduced.
|
3370 |
-
</li>
|
3371 |
-
<li>The new "<strong>Paste from Word</strong> " command has been introduced.
|
3372 |
-
</li>
|
3373 |
-
<li>A new configuration named "StartupFocus" can be used to tell the
|
3374 |
-
editor to get the focus when the page is loaded. </li>
|
3375 |
-
<li>All <strong>Java </strong>integration files has been moved to a new separated package.
|
3376 |
-
</li>
|
3377 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1016781&group_id=75348&atid=543653">SF
|
3378 |
-
BUG-1016781</a>] <strong>Table operations</strong> are now working when right click
|
3379 |
-
inside a table. The following commands has been introduced: <strong>Insert Row</strong>,
|
3380 |
-
<strong>Delete Row</strong>, <strong>Insert Column</strong>, <strong>Delete Column</strong>,
|
3381 |
-
<strong>Insert Cell</strong> and <strong>Delete Cells</strong> . </li>
|
3382 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965067&group_id=75348&atid=543653">SF
|
3383 |
-
BUG-965067</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1010379&group_id=75348&atid=543653">SF
|
3384 |
-
BUG-1010379</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=977713&group_id=75348&atid=543653">SF
|
3385 |
-
BUG-977713</a>] XHTML support was not working with FireFox, blocking the
|
3386 |
-
editor when submitting data. It has been fixed. </li>
|
3387 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1007547&group_id=75348&atid=543653">SF
|
3388 |
-
BUG-1007547</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=974595&group_id=75348&atid=543653">SF
|
3389 |
-
BUG-974595</a> ] The "FCKLang not defined" error when loading
|
3390 |
-
has been fixed. </li>
|
3391 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1021028&group_id=75348&atid=543653">SF
|
3392 |
-
BUG-1021028</a>] If the editor doesn't have the focus, some commands were been executed
|
3393 |
-
outside the editor in the place where the focus is. It has been fixed. </li>
|
3394 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=981191&group_id=75348&atid=543653">SF
|
3395 |
-
BUG-981191</a>] We are now using <!--- ---> for ColdFusion comments.</li>
|
3396 |
-
</ul>
|
3397 |
-
<h3>
|
3398 |
-
Version 2.0 Beta 1</h3>
|
3399 |
-
<p>
|
3400 |
-
This is the first beta of the 2.x series. It brings a lot of new and important things.
|
3401 |
-
Beta versions will be released until all features available on version 1.x will
|
3402 |
-
be introduced in the 2.0.<br />
|
3403 |
-
<br />
|
3404 |
-
<strong>Note:</strong> As it is a beta, it is not yet completely developed. Future
|
3405 |
-
versions can bring new features that can break backward compatibility with this
|
3406 |
-
version.
|
3407 |
-
</p>
|
3408 |
-
<ul>
|
3409 |
-
<li>Gecko browsers (<strong>Mozilla</strong> and <strong>Netscape</strong>) support.
|
3410 |
-
</li>
|
3411 |
-
<li><strong>Quick startup</strong> response times. </li>
|
3412 |
-
<li>Complete <strong>XHTML</strong> 1.0 support. </li>
|
3413 |
-
<li><strong>Advanced link</strong> dialog box:
|
3414 |
-
<ul>
|
3415 |
-
<li>Target selection. </li>
|
3416 |
-
<li>Popup configurator. </li>
|
3417 |
-
<li>E-Mail link. </li>
|
3418 |
-
<li>Anchor selector. </li>
|
3419 |
-
</ul>
|
3420 |
-
</li>
|
3421 |
-
<li>New <strong>File Manager</strong>. </li>
|
3422 |
-
<li>New dialog box system, with <strong>tabbed dialogs</strong> support. </li>
|
3423 |
-
<li>New <strong>context menus</strong> with icons. </li>
|
3424 |
-
<li>New toolbar with "expand/collapse" feature. </li>
|
3425 |
-
<li><strong>Skins</strong> support. </li>
|
3426 |
-
<li><strong>Right to left languages</strong> support. </li>
|
3427 |
-
</ul>
|
3428 |
-
<h3>
|
3429 |
-
Version 1.6.1</h3>
|
3430 |
-
<ul>
|
3431 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=862364&group_id=75348&atid=543653">SF
|
3432 |
-
BUG-862364</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=812733&group_id=75348&atid=543653">SF
|
3433 |
-
BUG-812733</a>] There was a problem when the user tried to delete the last row,
|
3434 |
-
collumn or cell in a table. It has been corrected.* </li>
|
3435 |
-
<li>New Estonian language file. Thanks to Kristjan Kivikangur </li>
|
3436 |
-
<li>New Croatian language file. Thanks to Alex Varga. </li>
|
3437 |
-
<li>Updated language file for Czech. Thanks to Plachow. </li>
|
3438 |
-
<li>Updated language file for Chineze (zh-cn). Thanks to Yanglin. </li>
|
3439 |
-
<li>Updated language file for Catalan. Thanks to Jordi Cerdan.</li>
|
3440 |
-
</ul>
|
3441 |
-
<p>
|
3442 |
-
* This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec,
|
3443 |
-
LLC</a>.</p>
|
3444 |
-
<h3>
|
3445 |
-
Version 1.6</h3>
|
3446 |
-
<ul>
|
3447 |
-
<li><strong>Context Menu</strong> support for <strong>form</strong> elements.* </li>
|
3448 |
-
<li>New <strong>"Selection Field" command</strong> with advanced dialog box
|
3449 |
-
for options definitions.* </li>
|
3450 |
-
<li>New <strong>"Image Button" command</strong> is available.* </li>
|
3451 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936196&group_id=75348&atid=543656">SF
|
3452 |
-
Feature-936196</a>] Many form elements <strong>bugs has been fixed</strong> and
|
3453 |
-
<strong>many improvements</strong> has been done.* </li>
|
3454 |
-
<li>New <strong>Java Integration Module</strong>. There is a complete Java API and Tag
|
3455 |
-
Library implementations. Take a look at the _jsp directory. Thanks to Simone Chiaretta
|
3456 |
-
and Hao Jiang. </li>
|
3457 |
-
<li>The <strong>Word Spell Checker</strong> can be used. To be able to run it, your
|
3458 |
-
browser security configuration "Initialize and script ActiveX controls not
|
3459 |
-
marked as safe" must be set to "Enable" or "Prompt". And
|
3460 |
-
easier and more secure way to do that is to add your site in the list of trusted
|
3461 |
-
sites. IeSpell can still be used. Take a look at the fck_config.js file for some
|
3462 |
-
configuration options. Thanks to EdwardRF. </li>
|
3463 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=748807&group_id=75348&atid=543656">SF
|
3464 |
-
Feature-748807</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=801030&group_id=75348&atid=543656">SF
|
3465 |
-
Feature-801030</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=880684&group_id=75348&atid=543656">SF
|
3466 |
-
Feature-880684</a>] New "<strong>Anchor" command</strong>, including
|
3467 |
-
context menu support. Thanks to G.Meijer. </li>
|
3468 |
-
<li>Special characters are replaced with their decimal HTML entities when the XHMTL
|
3469 |
-
support is enabled (only over IE5.5+). </li>
|
3470 |
-
<li>New <strong>Office 2003 Style</strong> toolbar icons are available. Just uncomment
|
3471 |
-
the config.ToolbarImagesPath key in the fck_config.js file. Thanks to Abdul-Aziz
|
3472 |
-
A. Al-Oraij. <strong>Attention</strong>: the default toolbar items have been moved
|
3473 |
-
to the "images/toolbar/default" directory. </li>
|
3474 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=934566&group_id=75348&atid=543655">SF
|
3475 |
-
Patch-934566</a>] <strong>Double click support</strong> for Images, Tables, Links,
|
3476 |
-
Anchors and all Form elements. Thanks to Top Man. </li>
|
3477 |
-
<li>New <strong>"New Page" command</strong> to start a typing from scratch.
|
3478 |
-
Thanks to Abdul-Aziz A. Al-Oraij. </li>
|
3479 |
-
<li>New <strong>"Replace" command</strong>. Thanks to Abdul-Aziz A. Al-Oraij.
|
3480 |
-
</li>
|
3481 |
-
<li>New <strong>"Advanced Font Style" command</strong>. Thanks to Abdul-Aziz
|
3482 |
-
A. Al-Oraij. </li>
|
3483 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=738193&group_id=75348&atid=543656">SF
|
3484 |
-
Feature-738193</a>] New <strong>"Save" command</strong>. It can be used
|
3485 |
-
to simulate a save action, but in fact it just submits the form where the editor
|
3486 |
-
is placed in. Thanks to Abdul-Aziz A. Al-Oraij. </li>
|
3487 |
-
<li>New <strong>"Universal Keyboard" command</strong>. This 22 charsets are
|
3488 |
-
available: Arabic, Belarusian, Bulgarian, Croatian, Czech, Danish, Finnish, French,
|
3489 |
-
Greek, Hebrew, Hungarian, Diacritical, Macedonian, Norwegian, Polish, Russian, Serbian
|
3490 |
-
(Cyrillic), Serbian (Latin), Slovak, Spanish, Ukrainian and Vietnamese. Includes
|
3491 |
-
a keystroke listener to type Arabic on none Arabic OS or machine. Thanks to Abdul-Aziz
|
3492 |
-
A. Al-Oraij. </li>
|
3493 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=935358&group_id=75348&atid=543655">SF
|
3494 |
-
Patch-935358</a>] New <strong>"Preview" command</strong>. Context menu
|
3495 |
-
option is included and can be deactivated throw the config.ShowPreviewContextMenu
|
3496 |
-
configuration. Thanks to Ben Ramsey. </li>
|
3497 |
-
<li>New "<strong>Table Auto Format</strong>" context menu command. Hack a
|
3498 |
-
little the fck_config.js and the fck_editorarea.css files. Thanks to Alexandros
|
3499 |
-
Lezos. </li>
|
3500 |
-
<li>New "<strong>Bulleted List Properties</strong> " context menu to define
|
3501 |
-
its type and class. Thanks to Alexandros Lezos. </li>
|
3502 |
-
<li>The <strong>image dialog</strong> box has been a <strong>redesigned</strong> . Thanks
|
3503 |
-
to Mark Fierling. </li>
|
3504 |
-
<li>Images now always have the <strong>"alt" attribute</strong> set, even
|
3505 |
-
when it's value is empty. Thanks to Andreas Barnet. </li>
|
3506 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942250&group_id=75348&atid=543655">SF
|
3507 |
-
Patch-942250</a>] You can set on fck_config.js to <strong>automatically clean Word</strong>
|
3508 |
-
pasting operations without a user confirmation. </li>
|
3509 |
-
<li>Forms element dialogs and other localization pending labels has been updated. </li>
|
3510 |
-
<li>A new <strong>Lithuanian</strong> language file is available. Thanks to Tauras Paliulis.
|
3511 |
-
</li>
|
3512 |
-
<li>A new <strong>Hebrew</strong> language file is available. Thanks to Ophir Radnitz.
|
3513 |
-
</li>
|
3514 |
-
<li>A new <strong>Serbian</strong> language file is available. Thanks to Zoran Subic.
|
3515 |
-
</li>
|
3516 |
-
<li><strong>Danish</strong> language file updates. Thanks to Flemming Jensen. </li>
|
3517 |
-
<li><strong>Catalan</strong> language file updates. Thanks to Jordi Cerdan. </li>
|
3518 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936514&group_id=75348&atid=543655">SF
|
3519 |
-
Patch-936514</a>] [<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=918716&group_id=75348">SF
|
3520 |
-
BUG-918716</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=931037&group_id=75348&atid=543653">SF
|
3521 |
-
BUG-931037</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=865864&group_id=75348&atid=543653">SF
|
3522 |
-
BUG-865864</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=915410&group_id=75348&atid=543653">SF
|
3523 |
-
BUG-915410</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918716&group_id=75348&atid=543653">SF
|
3524 |
-
BUG-918716</a>] Some <strong>languages files</strong> were not
|
3525 |
-
saved on <strong>UTF-8</strong> format causing some javascript errors on loading
|
3526 |
-
the editor or making "undefined" to show on editor labels. This problem
|
3527 |
-
was solved. </li>
|
3528 |
-
<li>Updates on the testsubmit.php file. Thanks to Geat and Gabriel Schillaci </li>
|
3529 |
-
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=924620&group_id=75348">SF
|
3530 |
-
BUG-924620</a>] There was a problem when setting a name to an editor instance when
|
3531 |
-
the name is used by another tag. For example when using "description"
|
3532 |
-
as the name in a page with the <META name="description"> tag. </li>
|
3533 |
-
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=935018&group_id=75348&atid=543653">SF
|
3534 |
-
BUG-935018</a>] The "buletted" typo has been corrected. </li>
|
3535 |
-
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=902122&group_id=75348&atid=543653">SF
|
3536 |
-
BUG-902122</a>] Wrong css and js file references have been corrected. </li>
|
3537 |
-
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918942&group_id=75348&atid=543653">SF
|
3538 |
-
BUG-918942</a>] All dialog boxes now accept Enter and Escape keys as Ok and Cancel
|
3539 |
-
buttons.</li>
|
3540 |
-
</ul>
|
3541 |
-
<p>
|
3542 |
-
* This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec,
|
3543 |
-
LLC</a>.</p>
|
3544 |
-
<h3>
|
3545 |
-
Version 1.5</h3>
|
3546 |
-
<ul>
|
3547 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF
|
3548 |
-
Feature-913777</a>] <strong>New Form Commands</strong> are now available! Special
|
3549 |
-
thanks to G.Meijer. </li>
|
3550 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=861149&group_id=75348&atid=543656">SF
|
3551 |
-
Feature-861149</a>] <strong>Print Command</strong> is now available! </li>
|
3552 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=743546&group_id=75348">SF
|
3553 |
-
BUG-743546</a>] The <strong>XHTML content duplication problem </strong>has been
|
3554 |
-
<strong>solved</strong> . Thanks to Paul Hutchison. </li>
|
3555 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=875853&group_id=75348">SF
|
3556 |
-
BUG-875853</a>] The <strong>image dialog box</strong> now gives precedence for width
|
3557 |
-
and height values set as styles. In this way a user can change the size of the image
|
3558 |
-
directly inside the editor and the changes will be reflected in the dialog box.
|
3559 |
-
</li>
|
3560 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF
|
3561 |
-
Feature-788368</a>] The sample <strong>file upload </strong>manager for ASPX now
|
3562 |
-
uses <strong>guids</strong> for the file name generation. In this way a support
|
3563 |
-
XML file is not needed anymore. </li>
|
3564 |
-
<li>It's possible now to <strong>programmatically change the Base Path</strong> of the
|
3565 |
-
editor if it's installed in a directory different of "/FCKeditor/". Something
|
3566 |
-
like this:<br />
|
3567 |
-
oFCKeditor.BasePath = '/FCKeditor/' ;<br />
|
3568 |
-
Take a look at the _test directory for samples. </li>
|
3569 |
-
<li>There was a little bug in the TAB feature that moved the insertion point if there
|
3570 |
-
were any object (images, tables) in the content. It has been fixed. </li>
|
3571 |
-
<li>The problem with <strong>accented and international characters</strong> on the PHP
|
3572 |
-
test page was solved. </li>
|
3573 |
-
<li>A new <strong>Chinese (Taiwan)</strong> language file is available. Thanks to Nil.
|
3574 |
-
</li>
|
3575 |
-
<li>A new <strong>Slovenian</strong> language file is available. Thanks to Pavel Rotar.
|
3576 |
-
</li>
|
3577 |
-
<li>A new <strong>Catalan</strong> language file is available. Thanks to Jordi Cerdan.
|
3578 |
-
</li>
|
3579 |
-
<li>A new <strong>Arabic</strong> language file is available. Thanks to Abdul-Aziz A.
|
3580 |
-
Al-Oraij. </li>
|
3581 |
-
<li>Small corrections on the <strong>Norwegian</strong> language file. </li>
|
3582 |
-
<li>A Java version for the test results (testsubmit.jsp) is now available. Thanks to
|
3583 |
-
Pritpal Dhaliwal. </li>
|
3584 |
-
<li>When using JavaScript to create a editor instance it's possible now to easily get
|
3585 |
-
the editor's value calling oFCKeditor.GetValue() (eg.). Better JavaScript API interfaces
|
3586 |
-
will be available on version 2.0. </li>
|
3587 |
-
<li>If <strong>XHTML</strong> is enabled the editor cleans the HTML before showing it
|
3588 |
-
on the Source View, so the exact result can be viewed by the user. This option can
|
3589 |
-
be activated setting config.EnableSourceXHTML = true in the fck_config.js file.
|
3590 |
-
</li>
|
3591 |
-
<li>The <strong>JS integration object</strong> now escapes all configuration settings,
|
3592 |
-
in this way a user can use <strong>reserved chars</strong> on it. For example:
|
3593 |
-
<br />
|
3594 |
-
oFCKeditor.Config["ImageBrowserURL"] = '/imgs/browse.asp?filter=abc*.jpg&userid=1';
|
3595 |
-
</li>
|
3596 |
-
<li>A minimal browse server sample is now available in ASP. Thanks to Andreas Barnet.
|
3597 |
-
</li>
|
3598 |
-
</ul>
|
3599 |
-
<h3>
|
3600 |
-
Version 1.4</h3>
|
3601 |
-
<ul>
|
3602 |
-
<li><strong>ATTENTION: For PHP users</strong>: The editor was changed and now uses <strong>
|
3603 |
-
htmlspecialchars</strong> instead of <strong>htmlentities</strong> when handling
|
3604 |
-
the initial value. It should works well, but please make some tests before upgrading
|
3605 |
-
definitively. If there is any problem just uncomment the line in the fckeditor.php
|
3606 |
-
file (and send me a message!). </li>
|
3607 |
-
<li>The editor is now integrated with <strong>ieSpell</strong> (<a href="http://www.iespell.com">http://www.iespell.com</a>)
|
3608 |
-
for <strong>Spell Checking</strong>. You can configure the download URL in then
|
3609 |
-
fck_config.js file. Thanks to Sanjay Sharma. (ieSpell is free for personal use but
|
3610 |
-
must be paid for commercial use) </li>
|
3611 |
-
<li><strong>Table</strong> and <strong>table cell</strong> dialogs has been changed.
|
3612 |
-
Now you can <strong>select the class</strong> you want to be applied. Thanks to
|
3613 |
-
Alexander Lezos. </li>
|
3614 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=865378&group_id=75348&atid=543656">SF
|
3615 |
-
Feature-865378</a>]A new <strong>upload support is available for ASP</strong>. It
|
3616 |
-
uses the /UserImages/ folder in the root of the web site as the files container
|
3617 |
-
and a counter controlled by the upload.cnt file. Both must have write permissions
|
3618 |
-
set to the IUSR_xxx user. Thanks to Trax and Juanjo. </li>
|
3619 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=798128&group_id=75348&atid=543655">SF
|
3620 |
-
Patch-798128</a>] The user (programmer) can now define a <strong>custom separator</strong>
|
3621 |
-
for the list items of a combo in the toolbar. Thanks to Wulff D. Heiss. </li>
|
3622 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=741963&group_id=75348&atid=543656">SF
|
3623 |
-
Feature-741963</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=878941&group_id=75348&atid=543656">SF
|
3624 |
-
Feature-878941</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=869389&group_id=75348&atid=543655">SF
|
3625 |
-
Patch-869389</a>] A minimal support for a “fake” <strong>TAB is now available</strong>,
|
3626 |
-
even if HTML has no support for TAB. Now when the user presses the TAB key a configurable
|
3627 |
-
number of spaces (&nbsp;) is added. Take a look at config.TabSpaces on the fck_config.js
|
3628 |
-
file. No action is performed if it is set to zero. The default value is 4. Thanks
|
3629 |
-
to Phil Hassey. </li>
|
3630 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF
|
3631 |
-
BUG-782779</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=790939&group_id=75348&atid=543653">SF
|
3632 |
-
BUG-790939</a>] The problem with big images has been corrected. Thanks to Raver.
|
3633 |
-
</li>
|
3634 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF
|
3635 |
-
BUG-862975</a>] Now the editor does nothing if no image is selected in the image
|
3636 |
-
dialog box and the OK button is hit. </li>
|
3637 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=851609&group_id=75348&atid=543653">SF
|
3638 |
-
BUG-851609</a>] The problem with ASP and null values has been solved. </li>
|
3639 |
-
<li><strong>Norwegean</strong> language pack. Thanks to Martin Kronstad. </li>
|
3640 |
-
<li><strong>Hungarian</strong> language pack. Thanks to Balázs Szabó.
|
3641 |
-
</li>
|
3642 |
-
<li><strong>Bosnian</strong> language pack. Thanks to Trax. </li>
|
3643 |
-
<li><strong>Japanese</strong> language pack. Thanks to Kato Yuichiro. </li>
|
3644 |
-
<li>Updates on the <strong>Polish</strong> language pack. Thanks to Norbert Neubauer.
|
3645 |
-
</li>
|
3646 |
-
<li>The <strong>Chinese (Taiwan)</strong> (zh-tw) has been removed from the package
|
3647 |
-
because it's corrupt. I'm sorry. I hope someone could send me a good version soon.
|
3648 |
-
</li>
|
3649 |
-
</ul>
|
3650 |
-
<h3>
|
3651 |
-
Version 1.3.1</h3>
|
3652 |
-
<ul>
|
3653 |
-
<li>It's now possible to configure the editor the insert a <strong><BR> tag instead
|
3654 |
-
of <P></strong> when the user presses the <strong><Enter></strong> key.
|
3655 |
-
Take a look at the fck_config.js configuration file for the "<strong>UseBROnCarriageReturn</strong>"
|
3656 |
-
key. This option is disabled by default. </li>
|
3657 |
-
<li><strong>Icelandic</strong> language pack. Thanks to Andri Óskarsson. </li>
|
3658 |
-
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF
|
3659 |
-
BUG-853374</a>] On IE 5.0 there was a little error introduced with version 1.3 on
|
3660 |
-
initialization. It was corrected. </li>
|
3661 |
-
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853372&group_id=75348">SF
|
3662 |
-
BUG-853372</a>] On IE 5.0 there was a little error introduced with version 1.3 when
|
3663 |
-
setting the focus in the editor. It was corrected. </li>
|
3664 |
-
<li>Minor errors on the language file for <strong>english</strong> has been corrected.
|
3665 |
-
Thanks to Anders Madsen. </li>
|
3666 |
-
<li>Minor errors on the language file for <strong>danish</strong> has been corrected.
|
3667 |
-
Thanks to Martin Johansen. </li>
|
3668 |
-
</ul>
|
3669 |
-
<h3>
|
3670 |
-
Version 1.3</h3>
|
3671 |
-
<ul>
|
3672 |
-
<li>Language support for <strong>Danish, Polish, Simple Chinese, Slovak, Swedish and
|
3673 |
-
Turkish</strong>. </li>
|
3674 |
-
<li>Language updates for <strong>Romanian</strong>. </li>
|
3675 |
-
<li>It's now possible to <strong>override</strong> any of the <strong>editor's configurations</strong>
|
3676 |
-
(for now it's implemented just for JavaScript, ASPX and HTC modules). See _test/test.html
|
3677 |
-
for a sample. I'm now waiting for the Community for the ASP, CFM and PHP versions.
|
3678 |
-
</li>
|
3679 |
-
<li>A new method is available for <strong>PHP</strong> users. It's called <strong>ReturnFCKeditor</strong>.
|
3680 |
-
It works exactly like CreateFCKeditor, but it <strong>returns a string with the HTML</strong>
|
3681 |
-
for the editor instead of output it (echo). This feature is useful for people who
|
3682 |
-
are working with Smarty Templates or something like that. Thanks to Timothy J. Finucane.
|
3683 |
-
</li>
|
3684 |
-
<li>Many people have had problems with <strong>international characters</strong> over
|
3685 |
-
<strong>PHP</strong>. I had also the same problem. PHP have strange problems with
|
3686 |
-
character encoding. The code hasn't been changed but just saved again with Western
|
3687 |
-
European encoding. <strong>Now it works well</strong> in my system.<br />
|
3688 |
-
Take a look also at the "default_charset" configuration option at the
|
3689 |
-
php.ini file. It doesn't seem to be an editor's problem but a PHP issue. </li>
|
3690 |
-
<li>The "<strong>testsubmit.php</strong>" file now strips the "<strong>Magic
|
3691 |
-
Quotes</strong> " that are automatically added by PHP on form posts. </li>
|
3692 |
-
<li>A <strong>new language</strong> integration module is available for <strong>ASP/Jscript</strong>.
|
3693 |
-
Thanks to Dimiter Naydenov. </li>
|
3694 |
-
<li><strong>New configuration</strong> options are available to <strong>customize the
|
3695 |
-
Target</strong> combo box in the <strong>Insert/Modify Link</strong> dialog box.
|
3696 |
-
Now you can hide it, or set which options are available in the combo box. Take a
|
3697 |
-
look at the fck_config.js file. </li>
|
3698 |
-
<li>The <strong>Text as Plain Text</strong> toolbar <strong>icon</strong> has been changed
|
3699 |
-
<strong>to avoid confusion</strong> with the Normal Paste or. Thanks to Kaupo Kalda.
|
3700 |
-
</li>
|
3701 |
-
<li>The file <strong>dhtmled.cab has been removed</strong> from the package. It's not
|
3702 |
-
needed to the editor to work and caused some confusion for a few users. </li>
|
3703 |
-
<li>The <strong>editor's content</strong> now <strong>doesn't loose the focus</strong>
|
3704 |
-
when the user clicks with the mouse in a toolbar button. </li>
|
3705 |
-
<li>On <strong>drag-and-drop</strong> operations the data to be inserted in the editor
|
3706 |
-
is now <strong>converted to plain text</strong> when the "<strong>ForcePasteAsPlainText</strong>"
|
3707 |
-
configuration is set to <strong>true</strong>. </li>
|
3708 |
-
<li>The <strong>image browser</strong> sample in PHP now <strong>sorts the files</strong>
|
3709 |
-
by name. Thanks to Sergey Lupashko. </li>
|
3710 |
-
<li>Two <strong>new configuration</strong> options are available to <strong>turn on/off
|
3711 |
-
by default</strong> the "<strong>Show Borders</strong>" and "<strong>Show
|
3712 |
-
Details</strong>" commands. </li>
|
3713 |
-
<li>Some <strong>characters have been removed</strong> from the "<strong>Insert
|
3714 |
-
Special Chars</strong>" dialog box because they were causing encoding problems
|
3715 |
-
in some languages. Thanks to Abomb Hua. </li>
|
3716 |
-
<li><strong>JSP</strong> versions of the <strong>image and file upload and browsing</strong>
|
3717 |
-
features. Thanks to Simone Chiaretta.</li>
|
3718 |
-
</ul>
|
3719 |
-
<h3>
|
3720 |
-
Version 1.2.4</h3>
|
3721 |
-
<ul>
|
3722 |
-
<li>Language support for <strong>Spanish, Finnish, Romanian and Korean</strong>. </li>
|
3723 |
-
<li>Language updates for <strong>German</strong>. </li>
|
3724 |
-
<li>New <strong>Zoom</strong> toolbar option. (<a href="https://sourceforge.net/forum/forum.php?thread_id=904116&forum_id=257180">Thanks
|
3725 |
-
to "mtn_roadie"</a>)</li>
|
3726 |
-
</ul>
|
3727 |
-
<h3>
|
3728 |
-
Version 1.2.2</h3>
|
3729 |
-
<ul>
|
3730 |
-
<li>Language support for <strong>French</strong>. </li>
|
3731 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF
|
3732 |
-
BUG-782779</a>] Version 1.2 introduced a bug on the image dialog window: when changing
|
3733 |
-
the image, no update was done. This bug is now fixed. </li>
|
3734 |
-
</ul>
|
3735 |
-
<h3>
|
3736 |
-
Version 1.2</h3>
|
3737 |
-
<ul>
|
3738 |
-
<li>Enhancements to the <strong>Word cleaning</strong> feature (Thanks to Karl von Randow).
|
3739 |
-
</li>
|
3740 |
-
<li>The <strong>Table dialog box</strong> now handles the Style width and height set
|
3741 |
-
in the table (Thanks to Roberto Arruda). There where many problems on prior version
|
3742 |
-
when people changed manually the table's size, dragging the size handles, and then
|
3743 |
-
it was not possible to set a new size using the table dialog box. </li>
|
3744 |
-
<li>For the <strong>Image dialog box:</strong>
|
3745 |
-
<ul>
|
3746 |
-
<li>No image is shown in the preview pane if no image has been set. </li>
|
3747 |
-
<li>If no HSpace is set in the image a "-1" value was shown in the dialog
|
3748 |
-
box. Now, nothing is shown if the value is negative. </li>
|
3749 |
-
</ul>
|
3750 |
-
</li>
|
3751 |
-
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=739630&group_id=75348&atid=543653">SF
|
3752 |
-
BUG-739630</a>] Image with link lost the link when changing its properties. The
|
3753 |
-
problem is solved. </li>
|
3754 |
-
<li>Due to some problems in the XHTML cleaning (content duplication when the source
|
3755 |
-
HTML is dirty and malformed), the <strong>XHTML support is turned off by default</strong>
|
3756 |
-
from this version. You can still change this behavior and turn it on in the configuration
|
3757 |
-
file. </li>
|
3758 |
-
<li>Some little updates on the <strong>English </strong>language file. </li>
|
3759 |
-
<li>A few addition of missing entries on all languages files (translations for these
|
3760 |
-
changes are pending). </li>
|
3761 |
-
<li>Language files has been added for the following languages:
|
3762 |
-
<ul>
|
3763 |
-
<li><strong>Brazilian Portuguese</strong> (pt-br) </li>
|
3764 |
-
<li><strong>Czech</strong> (cz) </li>
|
3765 |
-
<li><strong>Dutch</strong> (nl) </li>
|
3766 |
-
<li><strong>Russian</strong> (ru) </li>
|
3767 |
-
<li><strong>Chinese (Taiwan)</strong> (zh-tw) </li>
|
3768 |
-
<li><strong>Greek</strong> (gr) </li>
|
3769 |
-
<li><strong>German</strong> (de)</li>
|
3770 |
-
</ul>
|
3771 |
-
</li>
|
3772 |
-
</ul>
|
3773 |
-
<h3>
|
3774 |
-
Version 1.1</h3>
|
3775 |
-
<ul>
|
3776 |
-
<li>The "<strong>Multi Language</strong>" system is now available. This version
|
3777 |
-
ships with English and Italian versions completed. Other languages will be available
|
3778 |
-
soon. The editor automatically detects the client language and sets all labels,
|
3779 |
-
tooltips and dialog boxes to it, if available. The auto detection and the default
|
3780 |
-
language can be set in the <strong>fck_config.file</strong>. </li>
|
3781 |
-
<li>Two files can now be created to isolate customizations code from the original source
|
3782 |
-
code of the editor: <strong>fckeditor.config.js</strong> and <strong>fckeditor.custom.js</strong>.
|
3783 |
-
Create these files in the root folder of your web site, if needed. The first one
|
3784 |
-
can be used to add or override configurations set on fck_config.js. The second one
|
3785 |
-
is used for custom actions and behaviors. </li>
|
3786 |
-
<li>A problem with relative links and images like "/test/test.doc" has been
|
3787 |
-
solved. In prior versions, only with XHTML support enabled, the URL was changed
|
3788 |
-
to something like "http://www.mysite.xxx/test/test.doc" (The domain was
|
3789 |
-
automatically added). Now the XHTML cleaning procedure gets the URLs exactly how
|
3790 |
-
they are defined in the editor’s HTML. </li>
|
3791 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=742168&group_id=75348&atid=543653">SF
|
3792 |
-
BUG-742168</a>] Mouse drag and drop from toolbar buttons has been disabled. </li>
|
3793 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=768210&group_id=75348&atid=543653">SF
|
3794 |
-
BUG-768210</a>] HTML entities, like <strong>&lt;</strong>, were not load correctly.
|
3795 |
-
The problem is solved. </li>
|
3796 |
-
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=748812&group_id=75348&atid=543653">SF
|
3797 |
-
BUG-748812</a>] The link dialog window doesn't open when the link button is grayed.
|
3798 |
-
</li>
|
3799 |
-
</ul>
|
3800 |
-
<h3>
|
3801 |
-
Version 1.0</h3>
|
3802 |
-
<ul>
|
3803 |
-
<li>Three new options are available in the configuration file to set what file types
|
3804 |
-
are allowed / denied to be uploaded from the "Insert Link" and "Insert
|
3805 |
-
Image" dialog boxes. </li>
|
3806 |
-
<li>Upload options, for links and images, are automatically hidden on IE 5.0 browsers
|
3807 |
-
(it's not compatible). </li>
|
3808 |
-
<li>[SF BUG-734894] Fixed a problem on XHTML cleaning: the value on INPUT fields were
|
3809 |
-
lost. </li>
|
3810 |
-
<li>[SF BUG-713797] Fixed some image dialog errors when trying to set image properties
|
3811 |
-
when no image is available. </li>
|
3812 |
-
<li>[SF BUG-736414] Developed a workaround for a DHTML control bug when loading in the
|
3813 |
-
editor some HTML started with <p><hr></p>. </li>
|
3814 |
-
<li>[SF BUG-737143] Paste from Word cleaning changed to solve some IE 5.0 errors. This
|
3815 |
-
feature is still not available over IE 5.0. </li>
|
3816 |
-
<li>[SF BUG-737233] CSS mappings are now OK on the PHP image browser module. </li>
|
3817 |
-
<li>[SF BUG-737495] The image preview in the image dialog box is now working correctly.
|
3818 |
-
</li>
|
3819 |
-
<li>[SF BUG-737532] The editor automatically switches to WYSIWYG mode when the form
|
3820 |
-
is posted. </li>
|
3821 |
-
<li>[SF BUG-739571] The editor is now working well over Opera (as for Netscape, a TEXTAREA
|
3822 |
-
is shown). </li>
|
3823 |
-
</ul>
|
3824 |
-
<h3>
|
3825 |
-
Version 1.0 Final Candidate</h3>
|
3826 |
-
<ul>
|
3827 |
-
<li>A new dialog box for the "Link" command is available. Now you can upload
|
3828 |
-
and browse the server exactly like the image dialog box. It's also possible to define
|
3829 |
-
the link title and target window (_blank, _self, _parent and _top). As with the
|
3830 |
-
image dialog box, a sample (and simple) file server browser is available. </li>
|
3831 |
-
<li>A new configuration option is available to force every paste action to be handled
|
3832 |
-
as plain text. See "config.ForcePasteAsPlainText" in fck_config.js. </li>
|
3833 |
-
<li>A new Toolbar button is available: "Paste from Word". It automatically
|
3834 |
-
cleans the clipboard content before pasting (removesWord styles, classes, xml stuff,
|
3835 |
-
etc...). This command is available for IE 5.5 and more. For IE 5.0 users, a message
|
3836 |
-
is displayed advising that the text will not be cleaned before pasting. </li>
|
3837 |
-
<li>The editor automatically detects Word clipboard data on pasting operations and asks
|
3838 |
-
the user to clean it before pasting. This option is turned on by default but it
|
3839 |
-
can be configured. See "config.AutoDetectPasteFromWord" in fck_config.js.
|
3840 |
-
</li>
|
3841 |
-
<li>Table properties are now available in cells' right click context menu. </li>
|
3842 |
-
<li>It's now possible to edit cells advanced properties from it's right click context
|
3843 |
-
menu. </li>
|
3844 |
-
</ul>
|
3845 |
-
<h3>
|
3846 |
-
Version 1.0 Release Candidate 1 (RC1)</h3>
|
3847 |
-
<ul>
|
3848 |
-
<li>Some performance improvements. </li>
|
3849 |
-
<li>The file dhtmled.cab has been added to the package for clients ho needs to install
|
3850 |
-
the Microsoft DHTML Editor component. </li>
|
3851 |
-
<li>[SF BUG-713952] The format command options are localized, so it depends on the IE
|
3852 |
-
language to work. Until version 0.9.5 it was working only over English IE browsers.
|
3853 |
-
Now the options are load dynamically on the client using the client's language.
|
3854 |
-
</li>
|
3855 |
-
<li>[SF BUG-712103] The style command is localized, so it depends on the IE language
|
3856 |
-
to work. Until version 0.9.5 it was working only over English IE browsers. Now it
|
3857 |
-
configures itself using the client's language. </li>
|
3858 |
-
<li>[SF BUG-726137] On version 0.9.5, some commands (special chars, image, emoticons,
|
3859 |
-
...) remove the next available character before inserting the required content even
|
3860 |
-
if no selection was made in the editor. Now the editor replaces only the selected
|
3861 |
-
content (if available). </li>
|
3862 |
-
</ul>
|
3863 |
-
<h3>
|
3864 |
-
Version 0.9.5 beta</h3>
|
3865 |
-
<ul>
|
3866 |
-
<li>XHTML support is now available! It can be enabled/disabled in the fck_config.js
|
3867 |
-
file. </li>
|
3868 |
-
<li>"Show Table Borders" option: show borders for tables with borders size
|
3869 |
-
set to zero. </li>
|
3870 |
-
<li>"Show Details" option: show hidden elements (comments, scripts, paragraphs,
|
3871 |
-
line breaks) </li>
|
3872 |
-
<li>IE behavior integration module. Thanks to Daniel Shryock. </li>
|
3873 |
-
<li>"Find" option: to find text in the document. </li>
|
3874 |
-
<li>More performance enhancements. </li>
|
3875 |
-
<li>New testsubmit.php file. Thansk to Jim Michaels. </li>
|
3876 |
-
<li>Two initial PHP upload manager implementations (not working yet). Thanks to Frederic
|
3877 |
-
Tyndiuk and Christian Liljedahl. </li>
|
3878 |
-
<li>Initial PHP image browser implementation (not working yet). Thanks to Frederic Tyndiuk.
|
3879 |
-
</li>
|
3880 |
-
<li>Initial CFM upload manager implementation. Thanks to John Watson. </li>
|
3881 |
-
</ul>
|
3882 |
-
<h3>
|
3883 |
-
Version 0.9.4 beta</h3>
|
3884 |
-
<ul>
|
3885 |
-
<li>ColdFusion module integration is now available! Thanks to John Watson. </li>
|
3886 |
-
<li>"Insert Smiley" toolbar option! Thanks to Fredox. Take a look at fck_config.js
|
3887 |
-
for configuration options. </li>
|
3888 |
-
<li>"Paste as plain text" toolbar option! </li>
|
3889 |
-
<li>Right click support for links (edit / remove). </li>
|
3890 |
-
<li>Buttons now are shown in gray when disabled. </li>
|
3891 |
-
<li>Buttons are shown just when the image is downloaded (no more "red x" while
|
3892 |
-
waiting for it). </li>
|
3893 |
-
<li>The toolbar background color can be set with a CSS style (see fck_editor.css). </li>
|
3894 |
-
<li>Toolbar images have been reviewed:
|
3895 |
-
<ul>
|
3896 |
-
<li>Now they are transparent. </li>
|
3897 |
-
<li>No more over...gif for every button (so the editor loads quicker). </li>
|
3898 |
-
<li>Buttons states are controlled with CSS styles. (see fck_editor.css).</li>
|
3899 |
-
</ul>
|
3900 |
-
</li>
|
3901 |
-
<li>Internet Explorer 5.0 compatibility, except for the image uploading popup. </li>
|
3902 |
-
<li>Optimizations when loading the editor. </li>
|
3903 |
-
<li>[SF BUG-709544] - Toolbar buttons wait for the images to be downloaded to start
|
3904 |
-
watching and responding the user actions (turn buttons on/off when the user changes
|
3905 |
-
position inside the editor). </li>
|
3906 |
-
<li>JavaScript integration is now Object Oriented. CreateFCKeditor function is not available
|
3907 |
-
anymore. Take a look in test.html. </li>
|
3908 |
-
<li>Two new configuration options, ImageBrowser and ImageUpload, are available to turn
|
3909 |
-
on and off the image upload and image browsing options in the Image dialog box.
|
3910 |
-
This options can be hidden for a specific editor instance throw specific URL parameter
|
3911 |
-
in the editor’s IFRAME (upload=true/false&browse=true/false). All specific
|
3912 |
-
language integration modules handle this option. For sample see the _test directory.
|
3913 |
-
</li>
|
3914 |
-
</ul>
|
3915 |
-
</body>
|
3916 |
-
</html>
|
1 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
+
<!--
|
3 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
4 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
5 |
+
*
|
6 |
+
* == BEGIN LICENSE ==
|
7 |
+
*
|
8 |
+
* Licensed under the terms of any of the following licenses at your
|
9 |
+
* choice:
|
10 |
+
*
|
11 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
12 |
+
* http://www.gnu.org/licenses/gpl.html
|
13 |
+
*
|
14 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
15 |
+
* http://www.gnu.org/licenses/lgpl.html
|
16 |
+
*
|
17 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
18 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
19 |
+
*
|
20 |
+
* == END LICENSE ==
|
21 |
+
-->
|
22 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
23 |
+
<head>
|
24 |
+
<title>FCKeditor ChangeLog - What's New?</title>
|
25 |
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
26 |
+
<style type="text/css">
|
27 |
+
body { font-family: arial, verdana, sans-serif }
|
28 |
+
p { margin-left: 20px }
|
29 |
+
h1 { border-bottom: solid 1px gray; padding-bottom: 20px }
|
30 |
+
</style>
|
31 |
+
</head>
|
32 |
+
<body>
|
33 |
+
<h1>
|
34 |
+
FCKeditor ChangeLog - What's New?</h1>
|
35 |
+
<h3>
|
36 |
+
Version 2.6.3</h3>
|
37 |
+
<p>
|
38 |
+
Fixed Bugs:</p>
|
39 |
+
<ul>
|
40 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2412">#2412</a>] FCK.InsertHtml()
|
41 |
+
is now properly removing selected contents after content insertion in Firefox.</li>
|
42 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2420">#2420</a>] Spelling
|
43 |
+
mistake corrections made by the spell checking dialog are now undoable. </li>
|
44 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2411">#2411</a>] Insert
|
45 |
+
anchor was not working for non-empty selections.</li>
|
46 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2426">#2426</a>] It was
|
47 |
+
impossible to switch between editor areas with a single click.</li>
|
48 |
+
<li>Language file updates for the following languages:
|
49 |
+
<ul>
|
50 |
+
<li>Canadian French</li>
|
51 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2402">#2402</a>] Catalan
|
52 |
+
</li>
|
53 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2400">#2400</a>] Chinese
|
54 |
+
(Simplified and Traditional)</li>
|
55 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2401">#2401</a>] Croatian</li>
|
56 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2422">#2422</a>] Czech</li>
|
57 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2417">#2417</a>] Dutch</li>
|
58 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2428">#2428</a>] French</li>
|
59 |
+
<li>German</li>
|
60 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2427">#2427</a>] Hebrew</li>
|
61 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2410">#2410</a>] Hindi</li>
|
62 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2405">#2405</a>] Japanese</li>
|
63 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2409">#2409</a>] Norwegian
|
64 |
+
and Norwegian Bokmål</li>
|
65 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2429">#2429</a>] Spanish</li>
|
66 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2406">#2406</a>] Vietnamese</li>
|
67 |
+
</ul>
|
68 |
+
</li>
|
69 |
+
</ul>
|
70 |
+
<p>
|
71 |
+
This version has been sponsored by <a href="http://www.dataillusion.com/fs/">Data Illusion
|
72 |
+
survey software solutions</a>.</p>
|
73 |
+
<h3>
|
74 |
+
Version 2.6.3 Beta</h3>
|
75 |
+
<p>
|
76 |
+
New Features and Improvements:</p>
|
77 |
+
<ul>
|
78 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/439">#439</a>] Added a
|
79 |
+
new <strong>context menu option for opening links</strong> in the editor.</li>
|
80 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2220">#2220</a>] <strong>
|
81 |
+
Email links</strong> from the Link dialog <strong>are now encoded</strong> by default
|
82 |
+
to prevent being harvested by spammers. (Kudos to asuter for proposing the patch)
|
83 |
+
</li>
|
84 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2234">#2234</a>] Added
|
85 |
+
the ability to create, modify and remove <strong>DIV containers</strong>. </li>
|
86 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2247">#2247</a>] The <strong>
|
87 |
+
SHIFT+SPACE</strong> keystroke will now <strong>produce a &nbsp;</strong> character.
|
88 |
+
</li>
|
89 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2252">#2252</a>] It's
|
90 |
+
now possible to enable the browsers default menu using the configuration file (FCKConfig.BrowserContextMenu
|
91 |
+
option). </li>
|
92 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2032">#2032</a>] Added
|
93 |
+
HTML samples for legacy HTML and Flash HTML. </li>
|
94 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/234">#234</a>] Introduced
|
95 |
+
the "PreventSubmitHandler" setting, which makes it possible to instruct the editor
|
96 |
+
to not handle the hidden field update on form submit events.</li>
|
97 |
+
</ul>
|
98 |
+
<p>
|
99 |
+
Fixed Bugs:</p>
|
100 |
+
<ul>
|
101 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2319">#2319</a>] On Opera
|
102 |
+
and Firefox 3, the entire page was scrolling on SHIFT+ENTER, or when EnterMode='br'.</li>
|
103 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2321">#2321</a>] On Firefox
|
104 |
+
3, the entire page was scrolling when inserting block elements with the FCK.InsertElement
|
105 |
+
function, used by the Table and Horizontal Rule buttons.. </li>
|
106 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/692">#692</a>] Added some
|
107 |
+
hints in editor/css/fck_editorarea.css on how to handle style items that would break
|
108 |
+
the style combo. </li>
|
109 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2263">#2263</a>] Fixed
|
110 |
+
a JavaScript error in IE which occurs when there are placeholder elements in the
|
111 |
+
document and the user has pressed the Source button.</li>
|
112 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2314">#2314</a>] Corrected
|
113 |
+
mixed up Chinese translations for the blockquote command.</li>
|
114 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2323">#2323</a>] Fixed
|
115 |
+
the issue where the show blocks command loses the current selection from the view
|
116 |
+
area when editing a long document.</li>
|
117 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2322">#2322</a>] Fixed
|
118 |
+
the issue where the fit window command loses the current selection and scroll position
|
119 |
+
in the editing area.</li>
|
120 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1917">#1917</a>] Fixed
|
121 |
+
the issue where the merge down command for tables cells does not work in IE for
|
122 |
+
more than two cells.</li>
|
123 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2320">#2320</a>] Fixed
|
124 |
+
the issue where the Find/Replace dialog scrolls the entire page.</li>
|
125 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1645">#1645</a>] Added
|
126 |
+
warning message about Firefox 3's strict origin policy.</li>
|
127 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2272">#2272</a>] Improved
|
128 |
+
the garbage filter in Paste from Word dialog.</li>
|
129 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2327">#2327</a>] Fixed
|
130 |
+
invalid HTML in the Paste dialog.</li>
|
131 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1907">#1907</a>] Fixed
|
132 |
+
sporadic "FCKeditorAPI is not defined" errors in Firefox 3.</li>
|
133 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2356">#2356</a>] Fixed
|
134 |
+
access denied error in IE7 when FCKeditor is launched from local filesystem.</li>
|
135 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1150">#1150</a>] Fixed
|
136 |
+
the type="_moz" attribute that sometimes appear in <br> tags in non-IE browsers.</li>
|
137 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting
|
138 |
+
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE>
|
139 |
+
block.</li>
|
140 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2363">#2363</a>] There
|
141 |
+
were some sporadic "Permission Denied" errors with IE on some situations.</li>
|
142 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2135">#2135</a>] Fixed
|
143 |
+
a data loss bug in IE when there are @import statements in the editor's CSS files,
|
144 |
+
and IE's cache is set to "Check for newer versions on every visit".</li>
|
145 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2376">#2376</a>] FCK.InsertHtml()
|
146 |
+
will now insert to the last selected position after the user has selected things
|
147 |
+
outside of FCKeditor, in IE.</li>
|
148 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2368">#2368</a>] Fixed
|
149 |
+
broken protect source logic for comments in IE.</li>
|
150 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2387">#2387</a>] Fixed
|
151 |
+
JavaScript error with list commands when the editable document is selected with
|
152 |
+
Ctrl-A.</li>
|
153 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2390">#2390</a>] Fixed
|
154 |
+
the issue where indent styles in JavaScript-generated <p> blocks are erased
|
155 |
+
in IE.</li>
|
156 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2394">#2394</a>] Fixed
|
157 |
+
JavaScript error with the "split vertically" command in IE when attempting to split
|
158 |
+
cells in the last row of a table.</li>
|
159 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2316">#2316</a>] The sample
|
160 |
+
posted data page has now the table fixed at 100% width. </li>
|
161 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2396">#2396</a>] SpellerPages
|
162 |
+
was causing a "Permission Denied" error in some situations. </li>
|
163 |
+
</ul>
|
164 |
+
<h3>
|
165 |
+
Version 2.6.2</h3>
|
166 |
+
<p>
|
167 |
+
New Features and Improvements:</p>
|
168 |
+
<ul>
|
169 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2043">#2043</a>] The debug
|
170 |
+
script is not any more part of the compressed files. If FCKeditor native debugging
|
171 |
+
features (FCKDebug) are required, the _source folder must be present in your installation.</li>
|
172 |
+
</ul>
|
173 |
+
<p>
|
174 |
+
Fixed Bugs:</p>
|
175 |
+
<ul>
|
176 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2248">#2248</a>] Calling
|
177 |
+
FCK.InsertHtml( 'nbsp;') was inserting a plain space instead of a non breaking space
|
178 |
+
character.</li>
|
179 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2273">#2273</a>] The dragresizetable
|
180 |
+
plugin now works in Firefox 3 as well.</li>
|
181 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2254">#2254</a>] Minor
|
182 |
+
fix in FCKSelection for nodeTagName object.</li>
|
183 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1614">#1614</a>] Unified
|
184 |
+
FCKConfig.FullBasePath with FCKConfig.BasePath.</li>
|
185 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2127">#2127</a>] Changed
|
186 |
+
floating dialogs to use fixed positioning so that they are no longer affected by
|
187 |
+
scrolling.</li>
|
188 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2018">#2018</a>] Reversed
|
189 |
+
the fix for <a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>
|
190 |
+
which broke FCKeditorAPI's cleanup logic. A new configuration directive <strong>MsWebBrowserControlCompat</strong>
|
191 |
+
has been added for those who wish to force the #183 fix to be enabled.</li>
|
192 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2276">#2276</a>] [<a
|
193 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/2279">#2279</a>] On Opera
|
194 |
+
and Firefox 3, the entire page was scrolling on ENTER.</li>
|
195 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2149</a>] CSS urls
|
196 |
+
with querystring parameters were not being accepted for CSS values in the configuration
|
197 |
+
file (like EditorAreaCSS).</li>
|
198 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] On some
|
199 |
+
specific cases, with Firefox 2, some extra spacing was appearing in the final HTML
|
200 |
+
on posting, if inserting two successive tables.</li>
|
201 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2287">#2287</a>] Block
|
202 |
+
elements (like tables or horizontal rules) will be inserted correctly now when the
|
203 |
+
cursor is at the start or the end of blocks. No extra paragraphs will be included
|
204 |
+
in this operation.</li>
|
205 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2149">#2197</a>] The TAB
|
206 |
+
key will now have the default browser behavior if TabSpaces=0. It will move the
|
207 |
+
focus out of the editor (expect on Safari).</li>
|
208 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2296">#2296</a>] Fixed
|
209 |
+
permission denied error on clicking on files in the file browser.</li>
|
210 |
+
</ul>
|
211 |
+
<h3>
|
212 |
+
Version 2.6.1</h3>
|
213 |
+
<p>
|
214 |
+
New Features and Improvements:</p>
|
215 |
+
<ul>
|
216 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2150">#2150</a>] The searching
|
217 |
+
speed of the Find/Replace dialog has been vastly improved.</li>
|
218 |
+
<li>New language file for <strong>Gujarati</strong> (by Nilam Doctor).</li>
|
219 |
+
<li>A new TabIndex property has been added to the JavaScript integration files.</li>
|
220 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2215">#2215</a>] Following
|
221 |
+
the above new feature, the ReplaceTextarea method will now copy the textarea.tabIndex
|
222 |
+
value if available.</li>
|
223 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2163">#2163</a>] If the
|
224 |
+
FCKConfig.DocType setting points to a HTML DocType then the output won't generate
|
225 |
+
self-closing tags (it will output <img > instead of <img />).</li>
|
226 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2173">#2173</a>] A throbber
|
227 |
+
will be shown in the Quick Uploads.</li>
|
228 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2142">#2142</a>] HTML
|
229 |
+
samples will now use sampleposteddata.php in action parameter inside a form.</li>
|
230 |
+
</ul>
|
231 |
+
<p>
|
232 |
+
Fixed Bugs:</p>
|
233 |
+
<ul>
|
234 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/768">#768</a>] It is no
|
235 |
+
longer possible for an image to have its width and height defined with both HTML
|
236 |
+
attributes and inline CSS styles in IE.</li>
|
237 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1426">#1426</a>] Fixed
|
238 |
+
the error loading fckstyles.xml in servers which cannot return the correct content
|
239 |
+
type header for .xml files.</li>
|
240 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2102">#2102</a>] Fixed
|
241 |
+
FCKConfig.DocType which stopped working in FCKeditor 2.6.</li>
|
242 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2039">#2039</a>] Fixed
|
243 |
+
the locking up issue in the Find/Replace dialog.</li>
|
244 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2124">#2124</a>] PHP File
|
245 |
+
Browser: fixed issue with resolving paths on Windows servers with PHP 5.2.4/5.2.5.</li>
|
246 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2059">#2059</a>] Fixed
|
247 |
+
the error in the toolbar name in fckeditor.py.</li>
|
248 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2065">#2065</a>] Floating
|
249 |
+
dialogs will now block the user from re-selecting the editing area by pressing Tab.</li>
|
250 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2114">#2114</a>] Added
|
251 |
+
a workaround for an IE6 bug which causes floating dialogs to appear blank after
|
252 |
+
opening it for the first time.</li>
|
253 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2136">#2136</a>] Fixed
|
254 |
+
JavaScript error in IE when opening the bullet list properties dialog.</li>
|
255 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1633">#1633</a>] External
|
256 |
+
styles should no longer interfere with the appearance of the editor and floating
|
257 |
+
panels now.</li>
|
258 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2113">#2113</a>] Fixed
|
259 |
+
unneeded <span class="Apple-style-span"> created after inserting
|
260 |
+
special characters.</li>
|
261 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2170">#2170</a>] Fixed
|
262 |
+
Ctrl-Insert hotkey for copying.</li>
|
263 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2125">#2125</a>] Fixed
|
264 |
+
the issue that FCK.InsertHtml() doesn't insert contents at the caret position when
|
265 |
+
dialogs are opened in IE. </li>
|
266 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1764">#1764</a>] FCKeditor
|
267 |
+
will no longer catch focus in IE on load when StartupFocus is false and the initial
|
268 |
+
content is empty.</li>
|
269 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2126">#2126</a>] Opening
|
270 |
+
and closing floating dialogs will no longer cause toolbar button states to become
|
271 |
+
frozen.</li>
|
272 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2159">#2159</a>] Selection
|
273 |
+
are now correctly restored when undoing changes made by the Replace dialog.</li>
|
274 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2160">#2160</a>] "Match
|
275 |
+
whole word" in the Find and Replace dialog will now find words next to punctuation
|
276 |
+
marks as well.</li>
|
277 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2162">#2162</a>] If the
|
278 |
+
configuration is set to work including the <head> (FullPage), references to
|
279 |
+
stylesheets added by Firefox extensions won't be added to the output.</li>
|
280 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2168">#2168</a>] Comments
|
281 |
+
won't generate new paragraphs in the output.</li>
|
282 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2184">#2184</a>] Fixed
|
283 |
+
several validation errors in the File Browser.</li>
|
284 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1383">#1383</a>] Fixed
|
285 |
+
an IE issue where pressing backspace may merge a hyperlink on the previous line
|
286 |
+
with the text on the current line.</li>
|
287 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1691">#1691</a>] Creation
|
288 |
+
of links in Safari failed if there was no selection.</li>
|
289 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2188">#2188</a>] PreserveSessionOnFileBrowser
|
290 |
+
is now removed as it was made obsolete with 2.6.</li>
|
291 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/898">#898</a>] The styles
|
292 |
+
for the editing area are applied in the image preview dialog.</li>
|
293 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2056">#2056</a>] Fixed
|
294 |
+
several validation errors in the dialogs.</li>
|
295 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2063">#2063</a>] Fixed
|
296 |
+
some problems in asp related to the use of network paths for the location of the
|
297 |
+
uploaded files.</li>
|
298 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1593">#1593</a>] The "Sample
|
299 |
+
Posted Data" page will now properly wrap the text.</li>
|
300 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2239">#2239</a>] The PHP
|
301 |
+
code in sampleposteddata.php has been changed from "<?=" to "<? echo".</li>
|
302 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2241">#2241</a>] Fixed
|
303 |
+
404 error in floating panels when FCKeditor is installed to a different domain.</li>
|
304 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2066">#2066</a>] Added
|
305 |
+
a workaround for a Mac Safari 3.1 browser bug which caused the Fit Window button
|
306 |
+
to give a blank screen.</li>
|
307 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2218">#2218</a>] Improved
|
308 |
+
Gecko based browser detection to accept Epiphany/Gecko as well.</li>
|
309 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2193">#2193</a>] Fixed
|
310 |
+
the issue where the caret cannot reach the last character of a paragraph in Opera
|
311 |
+
9.50.</li>
|
312 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2264">#2264</a>] Fixed
|
313 |
+
empty spaces that appear at the top of the editor in Opera 9.50.</li>
|
314 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2238">#2238</a>] The <object>
|
315 |
+
placeholder was not being properly displayed in the compressed distribution version
|
316 |
+
and nightly builds.</li>
|
317 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2115">#2115</a>] Fixed
|
318 |
+
JavaScript (permission denied) error in Firefox when file has been uploaded.</li>
|
319 |
+
</ul>
|
320 |
+
<h3>
|
321 |
+
Version 2.6</h3>
|
322 |
+
<p>
|
323 |
+
No changes. The stabilization of the 2.6 RC was completed successfully, as expected.</p>
|
324 |
+
<h3>
|
325 |
+
Version 2.6 RC</h3>
|
326 |
+
<p>
|
327 |
+
New Features and Improvements:</p>
|
328 |
+
<ul>
|
329 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2017">#2017</a>] The FCKeditorAPI.Instances
|
330 |
+
object can now be used to access all FCKeditor instances available in the page.</li>
|
331 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1980">#1980</a>] <span
|
332 |
+
style="color: #ff0000">Attention:</span> By default, the editor now produces <strong>
|
333 |
+
and <em> instead of <b> and <i>.</li>
|
334 |
+
</ul>
|
335 |
+
<p>
|
336 |
+
Fixed Bugs:</p>
|
337 |
+
<ul>
|
338 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1924">#1924</a>] The dialog
|
339 |
+
close button is now correctly positioned in IE in RTL languages.</li>
|
340 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1933">#1933</a>] Placeholder
|
341 |
+
dialog will now display the placeholder value correctly in IE.</li>
|
342 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/957">#957</a>] Pressing
|
343 |
+
Enter or typing after a placeholder with the placeholder plugin will no longer generate
|
344 |
+
colored text.</li>
|
345 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1952">#1952</a>] Fixed
|
346 |
+
an issue in FCKTools.FixCssUrls that, other than wrong, was breaking Opera.</li>
|
347 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1695">#1695</a>] Removed
|
348 |
+
Ctrl-Tab hotkey for Source mode and allowed Ctrl-T to work in Firefox.</li>
|
349 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1666">#1666</a>] Fixed
|
350 |
+
permission denied errors during opening popup menus in IE6 under domain relaxation
|
351 |
+
mode.</li>
|
352 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1934">#1934</a>] Fixed
|
353 |
+
JavaScript errors when calling Selection.EnsureSelection() in dialogs.</li>
|
354 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1920">#1920</a>] Fixed
|
355 |
+
SSL warning message when opening image and flash dialogs under HTTPS in IE6.</li>
|
356 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1955">#1955</a>] [<a
|
357 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/1981">#1981</a>] [<a target="_blank"
|
358 |
+
href="http://dev.fckeditor.net/ticket/1985">#1985</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1989">#1989</a>]
|
359 |
+
Fixed XHTML source formatting errors in non-IE browsers.</li>
|
360 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2000">#2000</a>] The #
|
361 |
+
character is now properly encoded in file names returned by the File Browser.</li>
|
362 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1945">#1945</a>] New folders
|
363 |
+
and file names are now properly sanitized against control characters. </li>
|
364 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1944">#1944</a>] Backslash
|
365 |
+
character is now disallowed in current folder path.</li>
|
366 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1055">#1055</a>] Added
|
367 |
+
logic to override JavaScript errors occurring inside the editing frame due to user
|
368 |
+
added JavaScript code.</li>
|
369 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1647">#1647</a>] Hitting
|
370 |
+
ENTER on list items containing block elements will now create new list item elements,
|
371 |
+
instead of adding further blocks to the same list item.</li>
|
372 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1411">#1411</a>] Label
|
373 |
+
only combos now get properly grayed out when moving to source view.</li>
|
374 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2009">#2009</a>] Fixed
|
375 |
+
an important bug regarding styles removal on styled text boundaries, introduced
|
376 |
+
with the 2.6 Beta 1. </li>
|
377 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2011">#2011</a>] Internal
|
378 |
+
CSS <style> tags where being outputted when FullPage=true.</li>
|
379 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2016">#2016</a>] The Link
|
380 |
+
dialog now properly selects the first field when opening it to modify mailto or
|
381 |
+
anchor links. This problem was also throwing an error in IE.</li>
|
382 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2021">#2021</a>] The caret
|
383 |
+
will no longer remain behind in the editing area when the placeholder dialog is
|
384 |
+
opened.</li>
|
385 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2024">#2024</a>] Fixed
|
386 |
+
JavaScript error in IE when the user tries to open dialogs in Source mode.</li>
|
387 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1853">#1853</a>] Setting
|
388 |
+
ShiftEnterMode to p or div now works correctly when EnterMode is br.</li>
|
389 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1838">#1838</a>] Fixed
|
390 |
+
the issue where context menus sometimes don't disappear after selecting an option.
|
391 |
+
</li>
|
392 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2028">#2028</a>] Fixed
|
393 |
+
JavaScript error when EnterMode=br and user tries to insert a page break.</li>
|
394 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2002">#2002</a>] Fixed
|
395 |
+
the issue where the maximize editor button does not vertically expand the editing
|
396 |
+
area in Firefox.</li>
|
397 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1842">#1842</a>] PHP integration:
|
398 |
+
fixed filename encoding problems in file browser.</li>
|
399 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1832">#1832</a>] Calling
|
400 |
+
FCK.InsertHtml() in non-IE browsers would now activate the document processor as
|
401 |
+
expected.</li>
|
402 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1998">#1998</a>] The native
|
403 |
+
XMLHttpRequest class is now used in IE, whenever it is available.</li>
|
404 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1792">#1792</a>] In IE,
|
405 |
+
the browser was able to enter in an infinite loop when working with multiple editors
|
406 |
+
in the same page. </li>
|
407 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1948">#1948</a>] Some
|
408 |
+
CSS rules are reset to dialog elements to avoid conflict with the page CSS.</li>
|
409 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1965">#1965</a>] IE was
|
410 |
+
having problems with SpellerPages, causing some errors to be thrown when completing
|
411 |
+
the spell checking in some situations.</li>
|
412 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2042">#2042</a>] The FitWindow
|
413 |
+
command was throwing an error if executed in an editor where its relative button
|
414 |
+
is not present in the toolbar.</li>
|
415 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/922">#922</a>] Implemented
|
416 |
+
a generic document processor for <OBJECT> and <EMBED> tags.</li>
|
417 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1831">#1831</a>] Fixed
|
418 |
+
the issue where the placeholder icon for <EMBED> tags does not always show
|
419 |
+
up in IE7.</li>
|
420 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2049">#2049</a>] Fixed
|
421 |
+
a deleted cursor CSS attribute in the minified CSS inside fck_dialog_common.js.</li>
|
422 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1806">#1806</a>] In IE,
|
423 |
+
the caret will not any more move to the previous line when selecting a Format style
|
424 |
+
inside an empty paragraph.</li>
|
425 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1990">#1990</a>] In IE,
|
426 |
+
dialogs using API calls which deals with the selection, like InsertHtml now can
|
427 |
+
be sure the selection will be placed in the correct position.</li>
|
428 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1997">#1997</a>] With
|
429 |
+
IE, the first character of table captions where being lost on table creation.</li>
|
430 |
+
<li>The selection and cursor position was not being properly handled when creating some
|
431 |
+
elements like forms and tables.</li>
|
432 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/662">#662</a>] In the
|
433 |
+
Perl sample files, the GetServerPath function will now calculate the path properly.</li>
|
434 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2208">#2208</a>] Added
|
435 |
+
missing translations in Italian language file.</li>
|
436 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/2096">#2096</a>] Added
|
437 |
+
the codepage to basexml file. Filenames with special chars should now display properly.</li>
|
438 |
+
</ul>
|
439 |
+
<h3>
|
440 |
+
Version 2.6 Beta 1</h3>
|
441 |
+
<p>
|
442 |
+
New Features and Improvements:</p>
|
443 |
+
<ul>
|
444 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/35">#35</a>] <strong>New
|
445 |
+
(and cool!) floating dialog system</strong>, avoiding problems with popup blockers
|
446 |
+
and enhancing the editor usability.</li>
|
447 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1886">#1886</a>] <strong>
|
448 |
+
Adobe AIR</strong> compatibility.</li>
|
449 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/123">#123</a>] Full support
|
450 |
+
for <strong>document.domain</strong> with automatic domain detection.</li>
|
451 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1622">#1622</a>] New <strong>
|
452 |
+
inline CSS cache</strong> feature, making it possible to avoid downloading the CSS
|
453 |
+
files for the editing area and skins. For that, it is enough to set the EditorAreaCSS,
|
454 |
+
SkinEditorCSS and SkinDialogCSS to string values in the format "/absolute/path/for/urls/|<minified
|
455 |
+
CSS styles". All internal CSS links are already using this feature. </li>
|
456 |
+
<li>New language file for <strong>Canadian French</strong>.</li>
|
457 |
+
</ul>
|
458 |
+
<p>
|
459 |
+
Fixed Bugs:</p>
|
460 |
+
<ul>
|
461 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1643">#1643</a>] Resolved
|
462 |
+
several "strict warning" messages in Firefox when running FCKeditor.</li>
|
463 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1522">#1522</a>] The ENTER
|
464 |
+
key will now work properly in IE with the cursor at the start of a formatted block.</li>
|
465 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1503">#1503</a>] It's
|
466 |
+
possible to define in the Styles that a Style (with an empty class) must be shown
|
467 |
+
selected only when no class is present in the current element, and selecting that
|
468 |
+
item will clear the current class (it does apply to any attribute, not only classes).</li>
|
469 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/191">#191</a>] The scrollbars
|
470 |
+
are now being properly shown in Firefox Mac when placing FCKeditor inside a hidden
|
471 |
+
div.</li>
|
472 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/503">#503</a>] Orphaned
|
473 |
+
<li> elements now get properly enclosed in a <ul> on output.</li>
|
474 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/309">#309</a>] The ENTER
|
475 |
+
key will not any more break <button> elements at the beginning of paragraphs.</li>
|
476 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1654">#1654</a>] The editor
|
477 |
+
was not loading on a specific unknown situation. The breaking point has been removed.</li>
|
478 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1707">#1707</a>] The editor
|
479 |
+
no longer hangs when operating on documents imported from Microsoft Word.</li>
|
480 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Floating
|
481 |
+
panels attached to a shared toolbar among multiple FCKeditor instances are no longer
|
482 |
+
misplaced when the editing areas are absolutely or relatively positioned.</li>
|
483 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1715">#1715</a>] The ShowDropDialog
|
484 |
+
is now enforced only when ForcePasteAsPlainText = true.</li>
|
485 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1336">#1336</a>] Sometimes
|
486 |
+
the autogrow plugin didn't work properly in Firefox.</li>
|
487 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1728">#1728</a>] External
|
488 |
+
toolbars are now properly sized in Opera.</li>
|
489 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1782">#1782</a>] Clicking
|
490 |
+
on radio buttons or checkboxes in the editor in IE will no longer cause lockups
|
491 |
+
in IE.</li>
|
492 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/805">#805</a>] The FCKConfig.Keystrokes
|
493 |
+
commands where executed even if the command itself was disabled.</li>
|
494 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/982">#982</a>] The button
|
495 |
+
to empty the box in the "Paste from Word" has been removed as it leads to confusion
|
496 |
+
for some users.</li>
|
497 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1682">#1682</a>] Editing
|
498 |
+
control elements in Firefox, Opera and Safari now works properly.</li>
|
499 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1613">#1613</a>] The editor
|
500 |
+
was surrounded by a <div> element that wasn't really needed.</li>
|
501 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/676">#676</a>] If a form
|
502 |
+
control was moved in IE after creating it, then it did lose its name.</li>
|
503 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/738">#738</a>] It wasn't
|
504 |
+
possible to change the type of an existing button.</li>
|
505 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1854">#1854</a>] Indentation
|
506 |
+
now works inside table cells.</li>
|
507 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1717">#1717</a>] The editor
|
508 |
+
was entering on looping on some specific cases when dealing with invalid source
|
509 |
+
markup.</li>
|
510 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1530">#1530</a>] Pasting
|
511 |
+
text into the "Find what" fields in the Find and Replace dialog would now activate
|
512 |
+
the find and replace buttons.</li>
|
513 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1828">#1828</a>] The Find/Replace
|
514 |
+
dialog will no longer display wrong starting positions for the match when there
|
515 |
+
are multiple and identical characters preceding the character at the real starting
|
516 |
+
point of the match.</li>
|
517 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1878">#1878</a>] Fixed
|
518 |
+
a JavaScript error which occurs in the Find/Replace dialog when the user presses
|
519 |
+
"Find" or "Replace" after the "No match found" message has appeared.</li>
|
520 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1355">#1355</a>] Line
|
521 |
+
breaks and spaces are now conserved when converting to and from the "Formatted"
|
522 |
+
format.</li>
|
523 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1670">#1670</a>] Improved
|
524 |
+
the background color behind smiley icons and special characters in their corresponding
|
525 |
+
dialogs.</li>
|
526 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1693">#1693</a>] Custom
|
527 |
+
error messages are now properly displayed in the file browser.</li>
|
528 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/970">#970</a>] The text
|
529 |
+
and value fields in the selection box dialog will no longer extend beyond the dialog
|
530 |
+
limits when the user inputs a very long text or value for one of the selection options.</li>
|
531 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/479">#479</a>] Fixed the
|
532 |
+
issue where pressing Enter in an <o:p> tag in IE does not generate line breaks.</li>
|
533 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/481">#481</a>] Fixed the
|
534 |
+
issue where the image preview in image dialog sometimes doesn't display after selecting
|
535 |
+
the image from server browser.</li>
|
536 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1488">#1488</a>] PHP integration:
|
537 |
+
the FCKeditor class is now more PHP5/6 friendly ("public" keyword is used instead
|
538 |
+
of depreciated "var").</li>
|
539 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1815">#1815</a>] PHP integration:
|
540 |
+
removed closing tag: "?>", so no additional whitespace added when files are included.</li>
|
541 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1906">#1906</a>] PHP file
|
542 |
+
browser: fixed problems with DetectHtml() function when open_basedir was set.</li>
|
543 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1871">#1871</a>] PHP file
|
544 |
+
browser: permissions applied with the chmod command are now configurable.</li>
|
545 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1872">#1872</a>] Perl
|
546 |
+
file browser: permissions applied with the chmod command are now configurable.</li>
|
547 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1873">#1873</a>] Python
|
548 |
+
file browser: permissions applied with the chmod command are now configurable.</li>
|
549 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1572">#1572</a>] ColdFusion
|
550 |
+
integration: fixed issues with setting the editor height.</li>
|
551 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1692">#1692</a>] ColdFusion
|
552 |
+
file browser: it is possible now to define TempDirectory to avoid issues with GetTempdirectory()
|
553 |
+
returning an empty string.</li>
|
554 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1379">#1379</a>] ColdFusion
|
555 |
+
file browser: resolved issues with OnRequestEnd.cfm breaking the file browser.</li>
|
556 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1509">#1509</a>] InsertHtml()
|
557 |
+
in IE will no longer turn the preceding normal whitespace into &nbsp;.</li>
|
558 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/958">#958</a>] The AddItem
|
559 |
+
method now has an additional fifth parameter "customData" that will be sent to the
|
560 |
+
Execute method of the command for that menu item, allowing a single command to be
|
561 |
+
used for different menu items..</li>
|
562 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1502">#1502</a>] The RemoveFormat
|
563 |
+
command now also removes the attributes from the cleaned text. The list of attributes
|
564 |
+
is configurable with FCKConfig.RemoveAttributes.</li>
|
565 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1596">#1596</a>] On Safari,
|
566 |
+
dialogs have now right-to-left layout when it runs a RTL language, like Arabic.</li>
|
567 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1344">#1344</a>] Added
|
568 |
+
warning message on Copy and Cut operation failure on IE due to paste permission
|
569 |
+
settings.</li>
|
570 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1868">#1868</a>] Links
|
571 |
+
to file browser has been changed to avoid requests containing double dots.</li>
|
572 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1229">#1229</a>] Converting
|
573 |
+
multiple contiguous paragraphs to Formatted will now be merged into a single <PRE>
|
574 |
+
block.</li>
|
575 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1627">#1627</a>] Samples
|
576 |
+
failed to load from local filesystem in IE7.</li>
|
577 |
+
</ul>
|
578 |
+
<h3>
|
579 |
+
Version 2.5.1</h3>
|
580 |
+
<p>
|
581 |
+
New Features and Improvements:</p>
|
582 |
+
<ul>
|
583 |
+
<li><strong>FCKeditor.Net 2.5</strong> compatibility.</li>
|
584 |
+
<li>JavaScript integration file:
|
585 |
+
<ul>
|
586 |
+
<li>The new "<strong>FCKeditor.ReplaceAllTextareas</strong>" function is being introduced,
|
587 |
+
making it possible to replace many (or unknown) <textarea> elements in a single
|
588 |
+
call. The replacement can be also filtered by CSS class name, or by a custom function
|
589 |
+
evaluator. </li>
|
590 |
+
<li>It is now possible to set the default BasePath for all editor instances by setting
|
591 |
+
<strong>FCKeditor.BasePath</strong>. This is extremely useful when working with
|
592 |
+
the ReplaceAllTextareas function. </li>
|
593 |
+
</ul>
|
594 |
+
</li>
|
595 |
+
</ul>
|
596 |
+
<p>
|
597 |
+
Fixed Bugs:</p>
|
598 |
+
<ul>
|
599 |
+
<li>[<a href="http://dev.fckeditor.net/ticket/339" target="_blank">#339</a>] [<a
|
600 |
+
href="http://dev.fckeditor.net/ticket/681" target="_blank">#681</a>] The SpellerPages
|
601 |
+
spell checker will now completely ignore the presence of HTML tags in the text.
|
602 |
+
</li>
|
603 |
+
<li>[<a href="http://dev.fckeditor.net/ticket/1643" target="_blank">#1643</a>] Resolved
|
604 |
+
several "strict warning" messages in Firefox when running FCKeditor. </li>
|
605 |
+
<li>[<a href="http://dev.fckeditor.net/ticket/1603" target="_blank">#1603</a>] Certain
|
606 |
+
specific markup was making FCKeditor entering in a loop, blocking its execution.
|
607 |
+
</li>
|
608 |
+
<li>[<a href="http://dev.fckeditor.net/ticket/1664" target="_blank">#1664</a>] The ENTER
|
609 |
+
key will not any more swap the order of the tags when hit at the end of paragraphs.
|
610 |
+
</li>
|
611 |
+
</ul>
|
612 |
+
<h3>
|
613 |
+
Version 2.5</h3>
|
614 |
+
<p>
|
615 |
+
New Features and Improvements:</p>
|
616 |
+
<ul>
|
617 |
+
<li>The heading options have been moved to the top, in the default settings for the
|
618 |
+
Format combo.</li>
|
619 |
+
</ul>
|
620 |
+
<p>
|
621 |
+
Fixed Bugs:</p>
|
622 |
+
<ul>
|
623 |
+
<li>The focus is now correctly set when working on Safari.</li>
|
624 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1436">#1436</a>] Nested
|
625 |
+
context menu panels are now correctly closed on Safari.</li>
|
626 |
+
<li>Empty anchors are now properly created on Safari.</li>
|
627 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1359">#1359</a>] FCKeditor
|
628 |
+
will no longer produce the strange visual effect of creating a selected space and
|
629 |
+
then deleting it in Internet Explorer.</li>
|
630 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1399">#1399</a>] Removed
|
631 |
+
the empty entry in the language selection box of sample03.html.</li>
|
632 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1400">#1400</a>] Fixed
|
633 |
+
the issue where the style selection box in sample14.html is not context sensitive.</li>
|
634 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1401">#1401</a>] Completed
|
635 |
+
Hebrew translation of the user interface.</li>
|
636 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1409">#1409</a>] Completed
|
637 |
+
Finnish translation of the user interface.</li>
|
638 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1414">#1414</a>] Fixed
|
639 |
+
the issue where entity code words written inside a <pre> block in Source mode
|
640 |
+
are not converted to the corresponding characters after switching back to editor
|
641 |
+
mode.</li>
|
642 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1418">#1418</a>] Fixed
|
643 |
+
the issue where a detached toolbar would flicker when FCKeditor is being loaded.</li>
|
644 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1419">#1419</a>] Fixed
|
645 |
+
the issue where pressing Delete in the middle of two lists would incorrectly move
|
646 |
+
contents after the lists to the character position.</li>
|
647 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1420">#1420</a>] Fixed
|
648 |
+
the issue where empty list items can become collapsed and uneditable when it has
|
649 |
+
one of more indented list items directly under it. </li>
|
650 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1431">#1431</a>] Fixed
|
651 |
+
the issue where pressing Enter in a <pre> block in Internet Explorer would
|
652 |
+
move the caret one space forward instead of sending it to the next line.</li>
|
653 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1472">#1472</a>] Completed
|
654 |
+
Arabic translation of the user interface.</li>
|
655 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1474">#1474</a>] Fixed
|
656 |
+
the issue where reloading a page containing FCKeditor may provoke JavaScript errors
|
657 |
+
in Internet Explorer.</li>
|
658 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1478">#1478</a>] Fixed
|
659 |
+
the issue where parsing fckstyles.xml fails if the file contains no <style>
|
660 |
+
nodes.</li>
|
661 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1491">#1491</a>] Fixed
|
662 |
+
the issue where FCKeditor causes the selection to include an "end of line" character
|
663 |
+
in list items even though the list item is empty.</li>
|
664 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1496">#1496</a>] Fixed
|
665 |
+
the issue where attributes under <area> and <map> nodes are destroyed
|
666 |
+
or left unprotected when switching to and from Source mode.</li>
|
667 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1500">#1500</a>] Fixed
|
668 |
+
the issue where the function _FCK_PaddingNodeListener() is called excessively which
|
669 |
+
negatively affects performance.</li>
|
670 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1514">#1514</a>] Fixed
|
671 |
+
the issue where floating menus are incorrectly positioned when the toolbar or the
|
672 |
+
editor frame are not static positioned.</li>
|
673 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1518">#1518</a>] Fixed
|
674 |
+
the issue where excessive <BR> nodes are not removed after a paragraph is
|
675 |
+
split when creating lists.</li>
|
676 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1521">#1521</a>] Fixed
|
677 |
+
JavaScript error and erratic behavior of the Replace dialog.</li>
|
678 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1524">#1524</a>] Fixed
|
679 |
+
the issue where the caret jumps to the beginning or end of a list block and when
|
680 |
+
user is trying to select the end of a list item.</li>
|
681 |
+
<li>Completed Simplified Chinese translation of the user interface.</li>
|
682 |
+
<li>Completed Estonian translation of the user interface.</li>
|
683 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1406">#1406</a>] Editor
|
684 |
+
was always "dirty" if flash is available in the contents.</li>
|
685 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1561">#1561</a>] Non standard
|
686 |
+
elements are now properly applied if defined in the styles XML file.</li>
|
687 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1412">#1412</a>] The _QuickUploadLanguage
|
688 |
+
value is now work properly for Perl.</li>
|
689 |
+
<li>Several compatibility fixes for Firefox 3 (Beta 1):
|
690 |
+
<ul>
|
691 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1558">#1558</a>] Nested
|
692 |
+
context menu close properly when one of their options is selected.</li>
|
693 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1556">#1556</a>] Dialogs
|
694 |
+
contents are now showing completely, without scrollbar.</li>
|
695 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1559">#1559</a>] It is
|
696 |
+
not possible to have more than one panel opened at the same time.</li>
|
697 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1554">#1554</a>] Links
|
698 |
+
now get underlined.</li>
|
699 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1557">#1557</a>] The "Automatic"
|
700 |
+
and "More colors..." buttons were improperly styled in the color selector panels
|
701 |
+
(Opera too).</li>
|
702 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1462">#1462</a>] The enter
|
703 |
+
key will not any more scroll the main window.</li>
|
704 |
+
</ul>
|
705 |
+
</li>
|
706 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1562">#1562</a>] Fixed
|
707 |
+
the issue where empty paragraphs are added around page breaks each time the user
|
708 |
+
switches to Source mode.</li>
|
709 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1578">#1578</a>] The editor
|
710 |
+
will now scroll correctly when hitting enter in front of a paragraph.</li>
|
711 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1579">#1579</a>] Fixed
|
712 |
+
the issue where the create table and table properties dialogs are too narrow for
|
713 |
+
certain translations.</li>
|
714 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1580">#1580</a>] Completed
|
715 |
+
Polish translation of the user interface.</li>
|
716 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1591">#1591</a>] Fixed
|
717 |
+
JavaScript error when using the blockquote command in an empty document in IE.</li>
|
718 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1592">#1592</a>] Fixed
|
719 |
+
the issue where attempting to remove a blockquote with an empty paragraph would
|
720 |
+
leave behind an empty blockquote IE.</li>
|
721 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1594">#1594</a>] Undo/Redo
|
722 |
+
will now work properly for the color selectors.</li>
|
723 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1597">#1597</a>] The color
|
724 |
+
boxes are now properly rendered in the color selector panels on sample14.html.</li>
|
725 |
+
</ul>
|
726 |
+
<h3>
|
727 |
+
Version 2.5 Beta</h3>
|
728 |
+
<p>
|
729 |
+
New Features and Improvements:</p>
|
730 |
+
<ul>
|
731 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/624">#624</a>] [<a
|
732 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/634">#634</a>] [<a target="_blank"
|
733 |
+
href="http://dev.fckeditor.net/ticket/1300">#1300</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1301">#1301</a>]
|
734 |
+
Official compatibility support with <strong>Opera 9.50</strong> and <strong>Safari 3</strong>
|
735 |
+
(WebKit based browsers actually). These browsers are still in Beta, but we are confident
|
736 |
+
that we'll have amazing results as soon as they get stable. We are continuously
|
737 |
+
collaborating with Opera Software and Apple to bring a wonderful FCKeditor experience
|
738 |
+
over their browser platforms.</li>
|
739 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/494">#494</a>] Introduced
|
740 |
+
the <strong>new Style System</strong>. We are not anymore relaying on browser features
|
741 |
+
to apply and remove styles, which guarantees that the editor will <strong>behave in
|
742 |
+
the same way in all browsers</strong>. It is an incredibly flexible system,
|
743 |
+
which aims to fit all developer's needs, from Flash content or HTML4 to XHTML 1.0
|
744 |
+
Strict or XHTML 1.1:
|
745 |
+
<ul>
|
746 |
+
<li>All basic formatting features, like Bold and Italic, can be precisely controlled
|
747 |
+
by using the configuration file (<b>CoreStyles</b> setting). It means that now,
|
748 |
+
the Bold button, for example, can produce <b>, <strong>, <span class...>,
|
749 |
+
<span style...> or anything the developer prefers.</li>
|
750 |
+
<li>Again with the <b>CoreStyles</b> setting, each block format, font, size, and even
|
751 |
+
the color pickers can precisely reflect end developer's needs.</li>
|
752 |
+
<li>Because of the above changes, font sizes are much more flexible. <b>Any kind of
|
753 |
+
font unit</b> can be used, including a mix of units.</li>
|
754 |
+
<li>All styles, including toolbar bottom styles, are precisely controlled when being
|
755 |
+
applied to the document. FCKeditor uses an element table derived from the <b>W3C XHTML
|
756 |
+
DTDs</b> to precisely create the elements, guarantee standards compliant code.</li>
|
757 |
+
<li><b>No more <font> tags</b>... well... actually, the system is so flexible
|
758 |
+
that it is up to you to use them or not.</li>
|
759 |
+
<li>It is possible to configure FCKeditor to produce a truly <b>semantic aware </b>and<b>
|
760 |
+
XHTML 1.1 compliant </b>code. Check out sample14.html.</li>
|
761 |
+
<li>It's also possible to precisely control which inline elements must be removed with
|
762 |
+
the "Remove All" button, by using the "<b>RemoveFormatTags</b>"
|
763 |
+
setting.</li>
|
764 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1231">#1231</a>] [<a
|
765 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/160">#160</a>] Paragraph <b>indentation</b>
|
766 |
+
and <b>justification</b> now uses style attributes and don't create unnecessary
|
767 |
+
elements, and <blockquote> is not anymore used for it. Now, even CSS classes
|
768 |
+
can be used to indent or align text.</li>
|
769 |
+
<li>All paragraph formatting features work well when EnterMode=br.</li>
|
770 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/172">#172</a>] All paragraph
|
771 |
+
formatting features work well when list items too.</li>
|
772 |
+
</ul>
|
773 |
+
</li>
|
774 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1197">#1197</a>] [<a
|
775 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/132">#132</a>] The toolbar
|
776 |
+
now presents a <strong>new button for Blockquote</strong>. The indentation button
|
777 |
+
will not anymore be used for that.</li>
|
778 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/125">#125</a>] Table's
|
779 |
+
<strong>columns size can now be changed by dragging on cell borders</strong>, with
|
780 |
+
the "dragresizetable" plugin. </li>
|
781 |
+
<li>The EditorAreaCSS config option can now also be set to a string of paths separated
|
782 |
+
by commas.</li>
|
783 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/212">#212</a>] New "<strong>Show
|
784 |
+
Blocks</strong>" command button in toolbar to show block details in the editing
|
785 |
+
area. </li>
|
786 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/915">#915</a>] The <strong>
|
787 |
+
undo/redo system has been revamped</strong> to work the same across Internet Explorer
|
788 |
+
and Gecko-based browsers (e.g. Firefox). A number of critical bugs in the undo/redo
|
789 |
+
system are also fixed. </li>
|
790 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/194">#194</a>] The editor
|
791 |
+
now uses the <strong>Data Processor</strong> technology, which makes it possible
|
792 |
+
to handle different input formats. A sample of it may be found at "editor/plugins/bbcode/_sample",
|
793 |
+
that shows some simple BBCode support. </li>
|
794 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/145">#145</a>] The "htaccess.txt"
|
795 |
+
file has been renamed to ".htaccess" as it doesn't bring security concerns, being
|
796 |
+
active out of the box.</li>
|
797 |
+
<li>File Browser and Quick Upload changes:
|
798 |
+
<ul>
|
799 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/163">#163</a>] <span
|
800 |
+
style="color: #ff0000"><strong>Attention:</strong></span> The default connector
|
801 |
+
in fckconfig.js has been changed from ASP to PHP. If you are using ASP remember
|
802 |
+
to change the _FileBrowserLanguage and _QuickUploadLanguage settings in your fckconfig.js.
|
803 |
+
[<a target="_blank" href="http://dev.fckeditor.net/ticket/454">#454</a>] The file
|
804 |
+
browser and upload connectors have been unified so they can reuse the same configuration
|
805 |
+
settings.</li>
|
806 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/865">#865</a>] The ASP
|
807 |
+
and PHP connectors have been improved so it's easy to select the location of the
|
808 |
+
destination folder for each file type, and it's no longer necessary to use the "file",
|
809 |
+
"image", "flash" subfolders<br />
|
810 |
+
<span style="color: #ff0000"><strong>Attention:</strong></span> The location of
|
811 |
+
all the connectors have been changed in the fckconfig.js file. Please check your
|
812 |
+
settings to match the current ones. Also review carefully the config file for your
|
813 |
+
server language. </li>
|
814 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/688">#688</a>] Now the
|
815 |
+
Perl quick upload is available. </li>
|
816 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/575">#575</a>] The Python
|
817 |
+
connector has been rewritten as a WSGI app to be fully compatible with the latest
|
818 |
+
python frameworks and servers. The QuickUpload feature has been added as well as
|
819 |
+
all the features available in the PHP connector. Thanks to Mariano Reingart.</li>
|
820 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/561">#561</a>] The ASP
|
821 |
+
connector provides an AbsolutePath setting so it's possible to set the url to a
|
822 |
+
full domain or a relative path and specify that way the physical folder where the
|
823 |
+
files are stored..</li>
|
824 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/333">#333</a>] The Quick
|
825 |
+
Upload now can use the same ServerPath parameter as the full connector.</li>
|
826 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/199">#199</a>] The AllowedCommands
|
827 |
+
configuration setting is available in the asp and php connectors so it's possible
|
828 |
+
to disallow the upload of files (although the "select file" button will still be
|
829 |
+
available in the file browser).</li>
|
830 |
+
</ul>
|
831 |
+
</li>
|
832 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/100">#100</a>] A new configuration
|
833 |
+
directive "FCKConfig.EditorAreaStyles" has been implemented to allow setting editing
|
834 |
+
area styles from JavaScript. </li>
|
835 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/102">#102</a>] HTML code
|
836 |
+
generated by the "Paste As Plain Text" feature now obeys the EnterMode setting.</li>
|
837 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1266">#1266</a>] Introducing
|
838 |
+
the HtmlEncodeOutput setting to instruct the editor to HTML-encode some characters
|
839 |
+
(&, < and >) in the posted data.</li>
|
840 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/357">#357</a>] Added a
|
841 |
+
"Remove Anchor" option in the context menu for anchors. </li>
|
842 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1060">#1060</a>] Compatibility
|
843 |
+
checks with Firefox 3.0 Alpha. </li>
|
844 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/817">#817</a>] [<a
|
845 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/1077">#1077</a>] New "Merge
|
846 |
+
Down/Right" commands for merging tables cells in non-Gecko browsers.</li>
|
847 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1288">#1288</a>] The "More
|
848 |
+
Colors..." button in color selector popup has been made optional and configurable
|
849 |
+
by the <strong>EnableMoreFontColors</strong> option. </li>
|
850 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/356">#356</a>] The <strong>
|
851 |
+
Find and Replace</strong> dialogs are now unified into a single dialog with tabs.</li>
|
852 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/549">#549</a>] Added a
|
853 |
+
'None' option to the FCKConfig.ToolbarLocation option to allow for hidden toolbars.
|
854 |
+
</li>
|
855 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1313">#1313</a>] An XHTML
|
856 |
+
1.1 target editor sample has been created as sample14.html. </li>
|
857 |
+
<li>The ASP, ColdFusion and PHP integration have been aligned to our standards.</li>
|
858 |
+
</ul>
|
859 |
+
<p>
|
860 |
+
Fixed Bugs:</p>
|
861 |
+
<ul>
|
862 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/71">#71</a>] [<a target="_blank"
|
863 |
+
href="http://dev.fckeditor.net/ticket/243">#243</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/267">#267</a>]
|
864 |
+
The editor now takes care to not create invalid nested block elements, like creating
|
865 |
+
<form> or <hr> inside <p>. </li>
|
866 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1511298&group_id=75348&atid=543655">SF
|
867 |
+
Patch 1511298</a>] The CF Component failed on CFMX 6.0</li>
|
868 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/639">#639</a>] If the
|
869 |
+
FCKConfig.DefaultLinkTarget setting was missing in fckconfig.js the links has target="undefined".</li>
|
870 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/497">#497</a>] Fixed EMBED
|
871 |
+
attributes handling in IE.</li>
|
872 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315722&group_id=75348&atid=543655">SF
|
873 |
+
Patch 1315722</a>] Avoid getting a cached version of the folder contents after uploading
|
874 |
+
a file</li>
|
875 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1386086&group_id=75348&atid=543655">SF
|
876 |
+
Patch 1386086</a>] The php connector has been protected so mkdir doesn't fail if
|
877 |
+
there are double slashes.</li>
|
878 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/943">#943</a>] The PHP
|
879 |
+
connector now specifies that the included files are relative to the current path.</li>
|
880 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/560">#560</a>] The PHP
|
881 |
+
connector will work better if the connector or the userfiles folder is a symlink.</li>
|
882 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/784">#784</a>] Fixed a
|
883 |
+
non initialized $php_errormsg in the PHP connector.</li>
|
884 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/802">#802</a>] The replace
|
885 |
+
dialog will now advance its searching position correctly and is able to search for
|
886 |
+
strings spanning across multiple inline tags.</li>
|
887 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/944">#944</a>] The _samples
|
888 |
+
didn't work directly from the Mac filesystem.</li>
|
889 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/946">#946</a>] Toolbar
|
890 |
+
images didn't show in non-IE browsers if the path contained a space.</li>
|
891 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/291">#291</a>] [<a
|
892 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/395">#395</a>] [<a target="_blank"
|
893 |
+
href="http://dev.fckeditor.net/ticket/932">#932</a>] Clicking outside the editor
|
894 |
+
it was possible to paste or apply formatting to the rest of the page in IE.</li>
|
895 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/137">#137</a>] Fixed FCKConfig.TabSpaces
|
896 |
+
being ignored, and weird behaviors when pressing tab in edit source mode.</li>
|
897 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/268">#268</a>] Fixed special
|
898 |
+
XHTML characters present in event attribute values being converted inappropriately
|
899 |
+
when switching to source view.</li>
|
900 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/272">#272</a>] The toolbar
|
901 |
+
was cut sometimes in IE to just one row if there are multiple instances of the editor.</li>
|
902 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/515">#515</a>] Tables
|
903 |
+
in Firefox didn't inherit font styles properly in Standards mode.</li>
|
904 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/321">#321</a>] If FCKeditor
|
905 |
+
is initially hidden in Firefox it will no longer be necessary to call the oEditor.MakeEditable()
|
906 |
+
function.</li>
|
907 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/299">#299</a>] The 'Browse
|
908 |
+
Server' button in the Image and Flash dialogs was a little too high.</li>
|
909 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/931">#931</a>] The BodyId
|
910 |
+
and BodyClass configuration settings weren't applied in the preview window.</li>
|
911 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/583">#583</a>] The "noWrap"
|
912 |
+
attribute for table cells was getting an empty value in Firefox. Thanks to geirhelge.</li>
|
913 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/141">#141</a>] Fixed incorrect
|
914 |
+
startup focus in Internet Explorer after page reloads. </li>
|
915 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/143">#143</a>] Fixed browser
|
916 |
+
lockup when the user writes <!--{PS..x}> into the editor in source mode. </li>
|
917 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/174">#174</a>] Fixed incorrect
|
918 |
+
positioning of FCKeditor in full screen mode. </li>
|
919 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/978">#978</a>] Fixed a
|
920 |
+
SpellerPages error with ColdFusion when no suggestions where available for a word.</li>
|
921 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/977">#977</a>] The "shape"
|
922 |
+
attribute of <area> had its value changed to uppercase in IE.</li>
|
923 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/996">#996</a>] "OnPaste"
|
924 |
+
event listeners will now get executed only once.</li>
|
925 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/289">#289</a>] Removed
|
926 |
+
debugging popups from page load regarding JavaScript and CSS loading errors.</li>
|
927 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/328">#328</a>] [<a
|
928 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/346">#346</a>] [<a target="_blank"
|
929 |
+
href="http://dev.fckeditor.net/ticket/404">#404</a>] Fixed a number of problems
|
930 |
+
regarding <pre> blocks:
|
931 |
+
<ol>
|
932 |
+
<li>Leading whitespaces and line breaks in <pre> blocks are trimmed when the user
|
933 |
+
switches between editor mode and source mode;</li>
|
934 |
+
<li>Pressing Enter inside a <pre> block would split the block into two, but the
|
935 |
+
expected behavior is simply inserting a line break;</li>
|
936 |
+
<li>Simple line breaks inside <pre> blocks entered in source mode are being turned
|
937 |
+
into <br> tags when the user switches to editor mode and back.</li>
|
938 |
+
</ol>
|
939 |
+
</li>
|
940 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/581">#581</a>] Fixed the
|
941 |
+
issue where the "Maximize the editor size" toolbar button stops working if any of
|
942 |
+
the following occurs:
|
943 |
+
<ol>
|
944 |
+
<li>There exists a form input whose name or id is "style" in FCKeditor's host form;</li>
|
945 |
+
<li>There exists a form input whose name or id is "className" in FCKeditor's host form;</li>
|
946 |
+
<li>There exists a form and a form input whose name of id is "style" in the editing
|
947 |
+
frame.</li>
|
948 |
+
</ol>
|
949 |
+
</li>
|
950 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/183">#183</a>] Fixed the
|
951 |
+
issue when FCKeditor is being executed in a custom application with the WebBrowser
|
952 |
+
ActiveX control, hiding the WebBrowser control would incorrectly invoke FCKeditor's
|
953 |
+
cleanup routines, causing FCKeditor to stop working.</li>
|
954 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/539">#539</a>] Fixed the
|
955 |
+
issue where right clicking on a table inside the editing frame in Firefox would
|
956 |
+
cause the editor the scroll to the top of the document.</li>
|
957 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/523">#523</a>] Fixed the
|
958 |
+
issue where, under certain circumstances, FCKeditor would obtain focus at startup
|
959 |
+
even though FCKConfig.StartupFocus is set to false. </li>
|
960 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/393">#393</a>] Fixed the
|
961 |
+
issue where if an inline tag is at the end of the document, the user would have
|
962 |
+
no way of escaping from the inline tag if he continues typing at the end of the
|
963 |
+
document. FCKeditor's behaviors regarding inline tags has been made to be more like
|
964 |
+
MS Word's:
|
965 |
+
<ol>
|
966 |
+
<li>If the caret is moved to the end of a hyperlink by the keyboard, then hyperlink
|
967 |
+
mode is disabled. </li>
|
968 |
+
<li>If the caret is moved to the end of other styled inline tags by any key other than
|
969 |
+
the End key (like bold text or italic text), the original bold/italic/... modes
|
970 |
+
would continue to be effective. </li>
|
971 |
+
<li>If the caret is moved to the end of other styled inline tags by the End key, all
|
972 |
+
style tag modes (e.g. bold, italic, underline, etc.) would be canceled. This is
|
973 |
+
not consistent with MS Word, but provides a convenient way for the user to escape
|
974 |
+
the inline tag at the end of a line.</li>
|
975 |
+
</ol>
|
976 |
+
</li>
|
977 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/338">#338</a>] Fixed the
|
978 |
+
issue where the configuration directive FCKConfig.ForcePasteAsPlainText is ignored
|
979 |
+
when new contents are pasted into the editor via drag-and drop from outside of the
|
980 |
+
editor. </li>
|
981 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1026">#1026</a>] Fixed
|
982 |
+
the issue where the cursor or selection positions are not restored with undo/redo
|
983 |
+
commands correctly in IE, under some circumstances. </li>
|
984 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1160">#1160</a>] [<a
|
985 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/1184">#1184</a>] Home, End
|
986 |
+
and Tab keys are working properly for numeric fields in dialogs. </li>
|
987 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/68">#68</a>] The style
|
988 |
+
system now properly handles Format styles when EnterMode=br.</li>
|
989 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/525">#525</a>] The union
|
990 |
+
of successive DIVs will work properly now if EnterMode!=div.</li>
|
991 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1227">#1227</a>] The color
|
992 |
+
commands used an unnecessary temporary variable. Thanks to Matthias Miller</li>
|
993 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/67">#67</a>] [<a target="_blank"
|
994 |
+
href="http://dev.fckeditor.net/ticket/277">#277</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/427">#427</a>]
|
995 |
+
[<a target="_blank" href="http://dev.fckeditor.net/ticket/428">#428</a>] [<a target="_blank"
|
996 |
+
href="http://dev.fckeditor.net/ticket/965">#965</a>] [<a target="_blank" href="http://dev.fckeditor.net/ticket/1178">#1178</a>]
|
997 |
+
[<a target="_blank" href="http://dev.fckeditor.net/ticket/1267">#1267</a>] The list
|
998 |
+
insertion/removal/indent/outdent logic in FCKeditor has been rewritten, such that:
|
999 |
+
<ol>
|
1000 |
+
<li>Text separated by <br> will always be treated as separate items during list
|
1001 |
+
insertion regardless of browser;</li>
|
1002 |
+
<li>List removal will now always obey the FCKConfig.EnterMode setting;</li>
|
1003 |
+
<li>List indentation will be XHTML 1.1 compliant - all child elements under an <ol>
|
1004 |
+
or <ul> must be <li> nodes;</li>
|
1005 |
+
<li>IE editor hacks like <ul type="1"> will no longer appear;</li>
|
1006 |
+
<li>Excessive <div> nodes are no longer inserted into list items due to alignment
|
1007 |
+
changes.</li>
|
1008 |
+
</ol>
|
1009 |
+
</li>
|
1010 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/205">#205</a>] Fixed the
|
1011 |
+
issue where visible <br> tags at the end of paragraphs are incorrectly removed
|
1012 |
+
after switching to and from source mode.</li>
|
1013 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1050">#1050</a>] Fixed
|
1014 |
+
a minor PHP/XML incompatibility bug in editor/dialog/fck_docprops.html.</li>
|
1015 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/462">#462</a>] Fixed an
|
1016 |
+
algorithm bug in switching from source mode to WYSIWYG mode which causes the browser
|
1017 |
+
to spin up and freeze for broken HTML code inputs.</li>
|
1018 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1019">#1019</a>] Table
|
1019 |
+
command buttons are now disabled when the current selection is not inside a table.</li>
|
1020 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/135">#135</a>] Fixed the
|
1021 |
+
issue where context menus are misplaced in FCKeditor when FCKeditor is created inside
|
1022 |
+
a <div> node with scrolling. </li>
|
1023 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1067">#1067</a>] Fixed
|
1024 |
+
the issue where context menus are misplaced in Safari when FCKeditor is scrolled
|
1025 |
+
down.</li>
|
1026 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1081">#1081</a>] Fixed
|
1027 |
+
the issue where undoing table deletion in IE7 would cause JavaScript errors.</li>
|
1028 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1061">#1061</a>] Fixed
|
1029 |
+
the issue where backspace and delete cannot delete special characters in Firefox
|
1030 |
+
under some circumstances.</li>
|
1031 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/403">#403</a>] Fixed the
|
1032 |
+
issue where switching to and from source mode in full page mode under IE would add
|
1033 |
+
excessive line breaks to <style> blocks.</li>
|
1034 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/121">#121</a>] Fixed the
|
1035 |
+
issue where maximizing FCKeditor inside a frameset would resize FCKeditor to the
|
1036 |
+
whole window's size instead of just the container frame's size.</li>
|
1037 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1093">#1093</a>] Fixed
|
1038 |
+
the issue where pressing Enter inside an inline tag would not create a new paragraph
|
1039 |
+
correctly.</li>
|
1040 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1089">#1089</a>] Fixed
|
1041 |
+
the issue where pressing Enter inside a <pre> block do not generate visible
|
1042 |
+
line breaks in IE.</li>
|
1043 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/332">#332</a>] Hitting
|
1044 |
+
Enter when the caret is at the end of a hyperlink will no longer continue the link
|
1045 |
+
at the new paragraph.</li>
|
1046 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1121">#1121</a>] Hitting
|
1047 |
+
Enter with FCKConfig.EnterMode=br will now scroll the document correctly when the
|
1048 |
+
new lines have exceeded the lower boundary of the editor frame.</li>
|
1049 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1063">#1063</a>] [<a
|
1050 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/1084">#1084</a>] [<a target="_blank"
|
1051 |
+
href="http://dev.fckeditor.net/ticket/1092">#1092</a>] Fixed a few Norwegian
|
1052 |
+
language translation errors.</li>
|
1053 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1148">#1148</a>] Fixed
|
1054 |
+
the issue where the "Automatic" and "More Colors..." buttons
|
1055 |
+
in the color selection panel are not centered in Safari.</li>
|
1056 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1187">#1187</a>] Fixed
|
1057 |
+
the issue where the "Paste as plain text" command cannot be undone in
|
1058 |
+
non-IE browsers.</li>
|
1059 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1222">#1222</a>] Ctrl-Backspace
|
1060 |
+
operations will now save undo snapshots in all browsers.</li>
|
1061 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1223">#1223</a>] Fixed
|
1062 |
+
the issue where the insert link dialog would save multiple undo snapshots for a
|
1063 |
+
single operation.</li>
|
1064 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/247">#247</a>] Fixed the
|
1065 |
+
issue where deleting everything in the document in IE would create an empty <p>
|
1066 |
+
block in the document regardless of EnterMode setting. </li>
|
1067 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1280">#1280</a>] Fixed
|
1068 |
+
the issue where opening a combo box will cause the editor frames to lose focus when
|
1069 |
+
there are multiple editors in the same document.</li>
|
1070 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/363">#363</a>] Fixed the
|
1071 |
+
issue where the Find dialog does not work under Opera.</li>
|
1072 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/50">#50</a>] Fixed the
|
1073 |
+
issue where the Paste button is always disabled in Safari.</li>
|
1074 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/389">#389</a>] Pasting
|
1075 |
+
text with comments from Word won't generate errors in IE, thanks to the idea from
|
1076 |
+
Swift.</li>
|
1077 |
+
<li>The pasting area in the Paste from Word dialog is focused on initial load</li>
|
1078 |
+
<li>Some fixes related to html comment handling in the Word clean up routine</li>
|
1079 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1303">#1303</a>] <col>
|
1080 |
+
is correctly treated as an empty element.</li>
|
1081 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/969">#969</a>] Removed
|
1082 |
+
unused files (fcknumericfield.htc and moz-bindings.xml).</li>
|
1083 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1166">#1166</a>] Fixed
|
1084 |
+
the issue where <meta> tags are incorrectly outputted with closing tags in
|
1085 |
+
full page mode.</li>
|
1086 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1200">#1200</a>] Fixed
|
1087 |
+
the issue where context menus sometimes disappear prematurely before the user can
|
1088 |
+
click on any items in Opera.</li>
|
1089 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1315">#1315</a>] Fixed
|
1090 |
+
the issue where the source view text area in Safari is displayed with an excessive
|
1091 |
+
blue border.</li>
|
1092 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1201">#1201</a>] Fixed
|
1093 |
+
the issue where hitting Backspace or Delete inside a table cell deletes the table
|
1094 |
+
cell instead of its contents in Opera.</li>
|
1095 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1311">#1311</a>] Fixed
|
1096 |
+
the issue where undoing and redoing a special character insertion would send the
|
1097 |
+
caret to incorrect positions. (e.g. the beginning of document)</li>
|
1098 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/923">#923</a>] Font colors
|
1099 |
+
are now properly applied on links.</li>
|
1100 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1316">#1316</a>] Fixed
|
1101 |
+
the issue where the image dialog expands to a size too big in Safari.</li>
|
1102 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/1306">#1306</a>] [<a
|
1103 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/894">#894</a>] The undo system
|
1104 |
+
can now undo text formatting steps like setting fonts to bold and italic.</li>
|
1105 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/95">#95</a>] Fixed the
|
1106 |
+
issue where FCKeditor breaks <meta> tags in full page mode in some circumstances.</li>
|
1107 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/175">#175</a>] Fixed the
|
1108 |
+
issue where entering an email address with a '%' sign in the insert link dialog
|
1109 |
+
would cause JavaScript error.</li>
|
1110 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/180">#180</a>] Improved
|
1111 |
+
backward compatibility with older PHP versions. FCKeditor can now work with PHP
|
1112 |
+
versions down to 4.0.</li>
|
1113 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/192">#192</a>] Document
|
1114 |
+
modifying actions from the FCKeditor JavaScript API will now save undo steps.</li>
|
1115 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/246">#246</a>] Using text
|
1116 |
+
formatting commands in EnterMode=div will no longer cause tags to randomly disappear.</li>
|
1117 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/327">#327</a>] It is no
|
1118 |
+
longer possible for the browser's back action to misfire when a user presses backspace
|
1119 |
+
while an image is being selected in FCKeditor.</li>
|
1120 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/362">#362</a>] Ctrl-Backspace
|
1121 |
+
now works in FCKeditor.</li>
|
1122 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/390">#390</a>] Text alignment
|
1123 |
+
and justification commands now respects EnterMode=br paragraph rules.</li>
|
1124 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/534">#534</a>] Pressing
|
1125 |
+
Ctrl-End while the document contains a list towards the end will no longer make
|
1126 |
+
the cursor disappear.</li>
|
1127 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/906">#906</a>] It is now
|
1128 |
+
possible to have XHTML 1.0 Strict compliant output from a document pasted from Word.</li>
|
1129 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/929">#929</a>] Pressing
|
1130 |
+
the Enter key will now produce an undo step.</li>
|
1131 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/934">#934</a>] Fixed the
|
1132 |
+
"Cannot execute code from a freed script" error in IE from editor dialogs.</li>
|
1133 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#942</a>] Server
|
1134 |
+
based spell checking with ColdFusion integration no longer breaks fir non en_US
|
1135 |
+
languages.</li>
|
1136 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/942">#1056</a>] Deleting
|
1137 |
+
everything in the editor document and moving the cursor around will no longer leave
|
1138 |
+
the cursor hanging beyond the top of the editor document.</li>
|
1139 |
+
</ul>
|
1140 |
+
<p>
|
1141 |
+
# This version has been <a href="http://dev.fckeditor.net/wiki/SD/COE">partially sponsored</a>
|
1142 |
+
by the <a href="http://www.coe.int/">Council of Europe</a>.
|
1143 |
+
</p>
|
1144 |
+
<h3>
|
1145 |
+
Version 2.4.3</h3>
|
1146 |
+
<p>
|
1147 |
+
New Features and Improvements:</p>
|
1148 |
+
<ul>
|
1149 |
+
<li>It is now possible to set the default target when creating links, with the new "<strong>DefaultLinkTarget</strong>"
|
1150 |
+
setting. </li>
|
1151 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/436">#436</a>] The new
|
1152 |
+
"<strong>FirefoxSpellChecker</strong>" setting is available, to enable/disable the
|
1153 |
+
Firefox built-in spellchecker while typing. Even if word suggestions will not appear
|
1154 |
+
in the FCKeditor context menu, this feature is useful to quickly identify misspelled
|
1155 |
+
words.</li>
|
1156 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/311">#311</a>] The new
|
1157 |
+
"<strong>BrowserContextMenuOnCtrl</strong>" setting is being introduced, to enable/disable
|
1158 |
+
the ability of displaying the default browser's context menu when right-clicking
|
1159 |
+
with the CTRL key pressed.</li>
|
1160 |
+
</ul>
|
1161 |
+
<p>
|
1162 |
+
Fixed Bugs:</p>
|
1163 |
+
<ul>
|
1164 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/300">#300</a>] The fck_internal.css
|
1165 |
+
file was not validating with the W3C CSS Validation Service.</li>
|
1166 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/336">#336</a>] Ordered
|
1167 |
+
list didn't keep the Type attribute properly (it was converted to lowercase when
|
1168 |
+
the properties dialog was opened again).</li>
|
1169 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/318">#318</a>] Multiple
|
1170 |
+
linked images are merged in a single link in IE.</li>
|
1171 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/350">#350</a>] The <marquee>
|
1172 |
+
element will no longer append unwanted <p>&nbsp;</p> to the code.</li>
|
1173 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/351">#351</a>] The content
|
1174 |
+
was being lost for images or comments only HTML inserted directly in the editor
|
1175 |
+
source or loaded in the editor.</li>
|
1176 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/388">#388</a>] Creating
|
1177 |
+
links in lines separated by <br> in IE can lead to a merge of the links.</li>
|
1178 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/325">#325</a>] Calling
|
1179 |
+
the GetXHTML can distort visually the rendering in Firefox.</li>
|
1180 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/391">#391</a>] When ToolbarLocation=Out,
|
1181 |
+
a "Security Warning" alert was being shown in IE if under https. Thanks to reister.</li>
|
1182 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/360">#360</a>] Form "name"
|
1183 |
+
was being set to "[object]" if it contained an element with id="name".</li>
|
1184 |
+
<li>Fixed a type that was breaking the ColdFusion SpellerPages integration file when
|
1185 |
+
no spelling errors were found.</li>
|
1186 |
+
<li>The ColdFusion SpellerPages integration was not working it Aspell was installed
|
1187 |
+
in a directory with spaces in the name.</li>
|
1188 |
+
<li>Added option to SpellerPages to ignore "alt" attributes.</li>
|
1189 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/451">#451</a>] Classes
|
1190 |
+
for images in IE didn't take effect immediately.</li>
|
1191 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/430">#430</a>] Links with
|
1192 |
+
a class did generate a span in Firefox when removing them.</li>
|
1193 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/274">#274</a>] The PHP
|
1194 |
+
quick upload still tried to use the uppercased types instead of the lowercased ones.
|
1195 |
+
</li>
|
1196 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/416">#416</a>] The PHP
|
1197 |
+
quick upload didn't check for the existence of the folder before saving.</li>
|
1198 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/467">#467</a>] If InsertHtml
|
1199 |
+
was called in IE with a comment (or any protected source at the beginning) it was
|
1200 |
+
lost.</li>
|
1201 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1518766&group_id=75348&atid=543653">SF
|
1202 |
+
BUG-1518766</a>] Mozilla 1.7.13 wasn't recognized properly as an old Gecko engine.</li>
|
1203 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/324">#324</a>] Improperly
|
1204 |
+
nested tags could lead to a crash in IE.</li>
|
1205 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/455">#455</a>] Files and
|
1206 |
+
folders with non-ANSI names were returned with a double UTF-8 encoding in the PHP
|
1207 |
+
File Manager.</li>
|
1208 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/273">#273</a>] The extensions
|
1209 |
+
"sh", "shtml", "shtm" and "phtm" have been added to the list of denied extensions
|
1210 |
+
on upload.</li>
|
1211 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/453">#453</a>] No more
|
1212 |
+
errors when hitting del inside an empty table cell.</li>
|
1213 |
+
<li>The perl connector cgi file has been changed to Unix line endings.</li>
|
1214 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] Regression:
|
1215 |
+
The HR tag will not anymore break the contents loaded in the editor. </li>
|
1216 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/508">#508</a>] The HR
|
1217 |
+
command had a typo.</li>
|
1218 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/505">#505</a>] Regression:
|
1219 |
+
IE crashed if a table caption was deleted.</li>
|
1220 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/82">#82</a>] [<a target="_blank"
|
1221 |
+
href="http://dev.fckeditor.net/ticket/359">#359</a>] <object> and <embed>
|
1222 |
+
tags are not anymore lost in IE.</li>
|
1223 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/493">#493</a>] If the
|
1224 |
+
containing form had a button named "submit" the "Save" command didn't work in Firefox.</li>
|
1225 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/414">#414</a>] If tracing
|
1226 |
+
was globally enabled in Asp.Net 2.0 then the Asp.Net connector did fail.</li>
|
1227 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/520">#520</a>] The "Select
|
1228 |
+
Field" properties dialog was not correctly handling select options with &, <
|
1229 |
+
and >.</li>
|
1230 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/258">#258</a>] The Asp
|
1231 |
+
integration didn't pass boolean values in English, using instead the locale of the
|
1232 |
+
server and failing.</li>
|
1233 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/487">#487</a>] If an image
|
1234 |
+
with dimensions set as styles was opened with the image manager and then the dialog
|
1235 |
+
was canceled the dimensions in the style were lost.</li>
|
1236 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#220</a>] The creation
|
1237 |
+
of links or anchors in a selection that results on more than a single link created
|
1238 |
+
will not anymore leave temporary links in the source. All links will be defined
|
1239 |
+
as expected.</li>
|
1240 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/220">#182</a>] [<a
|
1241 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/220">#261</a>] [<a target="_blank"
|
1242 |
+
href="http://dev.fckeditor.net/ticket/220">#511</a>] Special characters, like
|
1243 |
+
percent signs or accented chars, and spaces are now correctly returned by the File
|
1244 |
+
Browser.</li>
|
1245 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/281">#281</a>] Custom
|
1246 |
+
toolbar buttons now render correctly in all skins.</li>
|
1247 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/527">#527</a>] If the
|
1248 |
+
configuration for a toolbar isn't fully valid, try to keep on parsing it.</li>
|
1249 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/187">#187</a>] [<a
|
1250 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/435">#435</a>] [<a target="_blank"
|
1251 |
+
href="https://sourceforge.net/tracker/?func=detail&aid=1612978&group_id=75348&atid=543653">SF
|
1252 |
+
BUG-1612978</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1163511&group_id=75348&atid=543653">SF
|
1253 |
+
BUG-1163511</a>] Updated the configuration options in the ColdFusion integration
|
1254 |
+
files.</li>
|
1255 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1726781&group_id=75348&atid=543655">SF
|
1256 |
+
Patch-1726781</a>] Updated the upload class for asp to handle large files and other
|
1257 |
+
data in the forms. Thanks to NetRube.</li>
|
1258 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/225">#225</a>] With ColdFusion,
|
1259 |
+
the target directory is now being automatically created if needed when "quick uploading".
|
1260 |
+
Thanks to sirmeili.</li>
|
1261 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/295">#295</a>] [<a
|
1262 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/510">#510</a>] Corrected some
|
1263 |
+
path resolution issues with the File Browser connector for ColdFusion.</li>
|
1264 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/239">#239</a>] The <xml>
|
1265 |
+
tag will not anymore cause troubles.</li>
|
1266 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1721787&group_id=75348&atid=543653">SF
|
1267 |
+
BUG-1721787</a>] If the editor is run from a virtual dir, the PHP connector will
|
1268 |
+
detect that and avoid generating a wrong folder.</li>
|
1269 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/431">#431</a>] PHP: The
|
1270 |
+
File Browser now displays an error message when it is not able to create the configured
|
1271 |
+
target directory for files (instead of sending broken XML responses).</li>
|
1272 |
+
</ul>
|
1273 |
+
<h3>
|
1274 |
+
Version 2.4.2</h3>
|
1275 |
+
<p>
|
1276 |
+
Fixed Bugs:</p>
|
1277 |
+
<ul>
|
1278 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/279">#279</a>] The UTF-8
|
1279 |
+
BOM was being included in the wrong files, affecting mainly PHP installations.</li>
|
1280 |
+
</ul>
|
1281 |
+
<h3>
|
1282 |
+
Version 2.4.1</h3>
|
1283 |
+
<p>
|
1284 |
+
New Features and Improvements:</p>
|
1285 |
+
<ul>
|
1286 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/118">#118</a>] The SelectAll
|
1287 |
+
command now is available in Source Mode.</li>
|
1288 |
+
<li>The new open source FCKpackager sub-project is now available. It replaces the FCKeditor.Packager
|
1289 |
+
software to compact the editor source.</li>
|
1290 |
+
<li>With Firefox, if a paste execution is blocked by the browser security settings,
|
1291 |
+
the new "Paste" popup is shown to the user to complete the pasting operation. </li>
|
1292 |
+
</ul>
|
1293 |
+
<p>
|
1294 |
+
Fixed Bugs:</p>
|
1295 |
+
<ul>
|
1296 |
+
<li>Various fixes to the ColdFusion File Browser connector.</li>
|
1297 |
+
<li>We are now pointing the download of ieSpell to their pages, instead to a direct
|
1298 |
+
file download from one of their mirrors. This disables the ability of "click and
|
1299 |
+
go" (which can still be achieved by pointing the download to a file in your server),
|
1300 |
+
but removes any troubles with mirrors link changes (and they change it frequently).</li>
|
1301 |
+
<li>The Word cleanup has been changed to remove "display:none" tags that may come from
|
1302 |
+
Word.</li>
|
1303 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1659613&group_id=75348">SF
|
1304 |
+
BUG-1659613</a>] The 2.4 version introduced a bug in the flash handling code that
|
1305 |
+
generated out of memory errors in IE7.</li>
|
1306 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1660456&group_id=75348">SF
|
1307 |
+
BUG-1660456</a>] The icons in context menus were draggable.</li>
|
1308 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1653009&group_id=75348">SF
|
1309 |
+
BUG-1653009</a>] If the server is configured to process html files as asp then it
|
1310 |
+
generated ASP error 0138.</li>
|
1311 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1288609&group_id=75348">SF
|
1312 |
+
BUG-1288609</a>] The content of iframes is now preserved.</li>
|
1313 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1245504&group_id=75348">SF
|
1314 |
+
BUG-1245504</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1652240&group_id=75348">SF
|
1315 |
+
BUG-1652240</a>] Flash files without the .swf extension weren't recognized upon
|
1316 |
+
reload.</li>
|
1317 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1649753&group_id=75348&atid=543655">SF
|
1318 |
+
PATCH-1649753</a>] Node selection for text didn't work in IE. Thanks to yurik dot
|
1319 |
+
m.</li>
|
1320 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1573191&group_id=75348&atid=543653">SF
|
1321 |
+
BUG-1573191</a>] The Html code inserted with FCK.InsertHtml didn't have the same
|
1322 |
+
protection for special tags.</li>
|
1323 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/110">#110</a>] The OK
|
1324 |
+
button in dialogs had its width set as an inline style.</li>
|
1325 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/113">#113</a>] [<a
|
1326 |
+
target="_blank" href="http://dev.fckeditor.net/ticket/94">#94</a>] [<a target="_blank"
|
1327 |
+
href="https://sourceforge.net/tracker/?func=detail&aid=1659270&group_id=75348&atid=543653">SF
|
1328 |
+
BUG-1659270</a>] ForcePasteAsPlainText didn't work in Firefox.</li>
|
1329 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/114">#114</a>] The correct
|
1330 |
+
entity is now used to fill empty blocks when ProcessHTMLEntities is disabled.</li>
|
1331 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/90">#90</a>] The editor
|
1332 |
+
was wrongly removing some <br> tags from the code.</li>
|
1333 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/139">#139</a>] The CTRL+F
|
1334 |
+
and CTRL+S keystroke default behaviors are now preserved.</li>
|
1335 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/138">#138</a>] We are
|
1336 |
+
not providing a CTRL + ALT combination in the default configuration file because
|
1337 |
+
it may be incompatible with some keyboard layouts. So, the CTRL + ALT + S combination
|
1338 |
+
has been changed to CTRL + SHIFT + S.</li>
|
1339 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/129">#129</a>] In IE,
|
1340 |
+
it was not possible to paste if "Allow paste operation via script" was disabled
|
1341 |
+
in the browser security settings.</li>
|
1342 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/112">#112</a>] The enter
|
1343 |
+
key now behaves correctly on lists with Firefox, when the EnterMode is set to 'br'.</li>
|
1344 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/152">#152</a>] Invalid
|
1345 |
+
self-closing tags are now being fixed before loading. </li>
|
1346 |
+
<li>A few tags were being ignored to the check for required contents (not getting stripped
|
1347 |
+
out, as expected). Fixed.</li>
|
1348 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/202">#202</a>] The HR
|
1349 |
+
tag will not anymore break the contents loaded in the editor.</li>
|
1350 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/211">#211</a>] Some invalid
|
1351 |
+
inputs, like "<p>" where making the caret disappear in Firefox.</li>
|
1352 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99</a>] The <div>
|
1353 |
+
element is now considered a block container if EnterMode=p|br. It acts like a simple
|
1354 |
+
block only if EnterMode=div.</li>
|
1355 |
+
<li>Hidden fields will now show up as an icon in IE, instead of a normal text field.
|
1356 |
+
They are also selectable and draggable, in all browsers.</li>
|
1357 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/213">#213</a>] Styles
|
1358 |
+
are now preserved when hitting enter at the end of a paragraph.</li>
|
1359 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/77">#77</a>] If ShiftEnterMode
|
1360 |
+
is set to a block tag (p or div), the desired block creation in now enforced, instead
|
1361 |
+
of copying the current block (which is still the behavior of the simple enter).</li>
|
1362 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/209">#209</a>] Links and
|
1363 |
+
images URLs will now be correctly preserved with Netscape 7.1.</li>
|
1364 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/165">#165</a>] The enter
|
1365 |
+
key now honors the EnterMode settings when outdenting a list item.</li>
|
1366 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/190">#190</a>] Toolbars
|
1367 |
+
may be wrongly positioned. Fixed.</li>
|
1368 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#254</a>] The IgnoreEmptyParagraphValue
|
1369 |
+
setting is now correctly handled in Firefox.</li>
|
1370 |
+
<li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/254">#248</a>] The behavior
|
1371 |
+
of the backspace key has been fixed on some very specific cases.</li>
|
1372 |
+
</ul>
|
1373 |
+
<h3>
|
1374 |
+
Version 2.4</h3>
|
1375 |
+
<p>
|
1376 |
+
New Features and Improvements:</p>
|
1377 |
+
<ul>
|
1378 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1329273&group_id=75348&atid=543656">SF
|
1379 |
+
Feature-1329273</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456005&group_id=75348&atid=543656">SF
|
1380 |
+
Feature-1456005</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1315002&group_id=75348&atid=543653">SF
|
1381 |
+
BUG-1315002</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1350180&group_id=75348&atid=543653">SF
|
1382 |
+
BUG-1350180</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1450689&group_id=75348&atid=543653">SF
|
1383 |
+
BUG-1450689</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1461033&group_id=75348&atid=543653">SF
|
1384 |
+
BUG-1461033</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1510111&group_id=75348&atid=543653">SF
|
1385 |
+
BUG-1510111</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1203560&group_id=75348&atid=543653">SF
|
1386 |
+
BUG-1203560</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1564838&group_id=75348&atid=543653">SF
|
1387 |
+
BUG-1564838</a>] The advance <strong>Enter Key Handler</strong>
|
1388 |
+
is now being introduced. It gives you complete freedom to configure the editor to
|
1389 |
+
generate <strong><p>, <div> or <br></strong> when the user uses
|
1390 |
+
both the [Enter] and [Shift]+[Enter] keys. The new "EnterMode" and "ShiftEnterMode"
|
1391 |
+
settings can be use to control its behavior. It also guarantees that all browsers
|
1392 |
+
will generate the same output. </li>
|
1393 |
+
<li>The new and powerful <strong>Keyboard Accelerator System</strong> is being introduced.
|
1394 |
+
You can now precisely control the commands to execute when some key combinations
|
1395 |
+
are activated by the user. It guarantees that all browsers will have the same behavior
|
1396 |
+
regarding the shortcuts.<br />
|
1397 |
+
It also makes it possible to remove buttons from the toolbar and still invoke their
|
1398 |
+
features by using the keyboard instead.
|
1399 |
+
<br />
|
1400 |
+
It also blocks all default "CTRL based shortcuts" imposed by the browsers, so if
|
1401 |
+
you don't want users to underline text, just remove the CTRL+U combination from
|
1402 |
+
the keystrokes table. Take a look at the FCKConfig.Keystrokes setting in the fckconfig.js
|
1403 |
+
file. </li>
|
1404 |
+
<li>The new "<strong>ProtectedTags</strong>" configuration option is being introduced.
|
1405 |
+
It will accept a list of tags (separated by a pipe "|"), which will have no effect
|
1406 |
+
during editing, but will still be part of the document DOM. This can be used mainly
|
1407 |
+
for non HTML standard, custom tags.</li>
|
1408 |
+
<li>Dialog box commands can now open resizable dialogs (by setting oCommand.Resizable
|
1409 |
+
= true).</li>
|
1410 |
+
<li>Updated support for AFP. Thanks to Soenke Freitag.</li>
|
1411 |
+
<li>New language file:<ul>
|
1412 |
+
<li><strong>Afrikaans</strong> (by Willem Petrus Botha). </li>
|
1413 |
+
</ul>
|
1414 |
+
</li>
|
1415 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1456343&group_id=75348&atid=543655">SF
|
1416 |
+
Patch-1456343</a>] New sample file showing how to dynamically exchange a textarea
|
1417 |
+
and an instance of FCKeditor. Thanks to Finn Hakansson</li>
|
1418 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1496115&group_id=75348&atid=543655">SF
|
1419 |
+
Patch-1496115</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1588578&group_id=75348&atid=543653">SF
|
1420 |
+
BUG-1588578</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1376534&group_id=75348&atid=543653">SF
|
1421 |
+
BUG-1376534</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1343506&group_id=75348&atid=543653">SF
|
1422 |
+
BUG-1343506</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1211065&group_id=75348&atid=543656">SF
|
1423 |
+
Feature-1211065</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=949144&group_id=75348&atid=543656">SF
|
1424 |
+
Feature-949144</a>] The content of anchors are shown and preserved
|
1425 |
+
on creation. * </li>
|
1426 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1587175&group_id=75348&atid=543656">SF
|
1427 |
+
Feature-1587175</a>] Local links to an anchor are readjusted if the anchor changes.</li>
|
1428 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1500040&group_id=75348&atid=543655">SF
|
1429 |
+
Patch-1500040</a>] New configuration values to specify the Id and Class for the
|
1430 |
+
body element.</li>
|
1431 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577202&group_id=75348&atid=543655">SF
|
1432 |
+
Patch-1577202</a>] The links created with the popup option now are accessible even
|
1433 |
+
if the user has JavaScript disabled.</li>
|
1434 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1443472&group_id=75348&atid=543655">SF
|
1435 |
+
Patch-1443472</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1576488&group_id=75348&atid=543653">SF
|
1436 |
+
BUG-1576488</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1334305&group_id=75348&atid=543653">SF
|
1437 |
+
BUG-1334305</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1578312&group_id=75348&atid=543653">SF
|
1438 |
+
BUG-1578312</a>] The Paste from Word clean up function can be configured
|
1439 |
+
with FCKConfig.CleanWordKeepsStructure to preserve the markup as much as possible.
|
1440 |
+
Thanks Jean-Charles ROGEZ. </li>
|
1441 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1472654&group_id=75348&atid=543655">SF
|
1442 |
+
Patch-1472654</a>] The server side script location for SpellerPages can now be set
|
1443 |
+
in the configuration file, by using the SpellerPagesServerScript setting.</li>
|
1444 |
+
<li><span style="color: #ff0000">Attention:</span> All connectors are now pointing by
|
1445 |
+
default to the "/userfiles/" folder instead of "/UserFiles/" (case change). Also,
|
1446 |
+
the inner folders for each type (file, image, flash and media) are all lower-cased
|
1447 |
+
too.</li>
|
1448 |
+
<li><span style="color: #ff0000">Attention:</span> The UseBROnCarriageReturn configuration
|
1449 |
+
is not anymore valid. The EnterMode setting can now be used to precisely set the
|
1450 |
+
enter key behavior.</li>
|
1451 |
+
</ul>
|
1452 |
+
<p>
|
1453 |
+
Fixed Bugs:</p>
|
1454 |
+
<ul>
|
1455 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1444937&group_id=75348">SF
|
1456 |
+
BUG-1444937</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1274364&group_id=75348">SF
|
1457 |
+
BUG-1274364</a>] Shortcut keys are now undoable correctly.</li>
|
1458 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1015230&group_id=75348">SF
|
1459 |
+
BUG-1015230</a>] Toolbar buttons now update their state on shortcut keys activation.</li>
|
1460 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1485621&group_id=75348">SF
|
1461 |
+
BUG-1485621</a>] It is now possible to precisely control which shortcut keys can
|
1462 |
+
be used.</li>
|
1463 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1573714&group_id=75348">SF
|
1464 |
+
BUG-1573714</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1593323&group_id=75348">SF
|
1465 |
+
BUG-1593323</a>] Paste was not working in IE if both AutoDetectPasteFromWord
|
1466 |
+
and ForcePasteAsPlainText settings were set to "false". </li>
|
1467 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1578306&group_id=75348">SF
|
1468 |
+
BUG-1578306</a>] The context menu was wrongly positioned if the editing document
|
1469 |
+
was set to render in strict mode. Thanks to Alfonso Martinez.</li>
|
1470 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1567060&group_id=75348">SF
|
1471 |
+
BUG-1567060</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1565902&group_id=75348">SF
|
1472 |
+
BUG-1565902</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1440631&group_id=75348">SF
|
1473 |
+
BUG-1440631</a>] IE was getting locked on some specific cases. Fixed.</li>
|
1474 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1582859&group_id=75348">SF
|
1475 |
+
BUG-1582859</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1579507&group_id=75348&atid=543655">SF
|
1476 |
+
Patch-1579507</a>] Firefox' spellchecker is now disabled during editing mode.
|
1477 |
+
Thanks to Alfonso Martinez.</li>
|
1478 |
+
<li>Fixed Safari and Opera detection system (for development purposes only).</li>
|
1479 |
+
<li>Paste from Notepad was including font information in IE. Fixed.</li>
|
1480 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584092&group_id=75348">SF
|
1481 |
+
BUG-1584092</a>] When replacing text area, names with spaces are now accepted.</li>
|
1482 |
+
<li>Depending on the implementation of toolbar combos (mainly for custom plugins) the
|
1483 |
+
editor area was loosing the focus when clicking in the combo label. Fixed.</li>
|
1484 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1596937&group_id=75348&atid=543653">SF
|
1485 |
+
BUG-1596937</a>] InsertHtml() was inserting the HTML outside the editor area on
|
1486 |
+
some very specific cases.</li>
|
1487 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1585548&group_id=75348">SF
|
1488 |
+
BUG-1585548</a>] On very specific, rare and strange cases, the XHTML processor was
|
1489 |
+
not working properly in IE. Fixed.</li>
|
1490 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1584951&group_id=75348">SF
|
1491 |
+
BUG-1584951</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1380598&group_id=75348">SF
|
1492 |
+
BUG-1380598</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1198139&group_id=75348">SF
|
1493 |
+
BUG-1198139</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1437318&group_id=75348">SF
|
1494 |
+
BUG-1437318</a>] In Firefox, the style selector will not anymore delete
|
1495 |
+
the contents when removing styles on specific cases.</li>
|
1496 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1515441&group_id=75348">SF
|
1497 |
+
BUG-1515441</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1451071&group_id=75348">SF
|
1498 |
+
BUG-1451071</a>] The "Insert/Edit Link" and "Select All" buttons are now working
|
1499 |
+
properly when the editor is running on a IE Modal dialog.</li>
|
1500 |
+
<li>On some very rare cases, IE was throwing a memory error when hiding the context
|
1501 |
+
menus. Fixed.</li>
|
1502 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1526154&group_id=75348">SF
|
1503 |
+
BUG-1526154</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1509208&group_id=75348&atid=543653">SF
|
1504 |
+
BUG-1509208</a>] With Firefox, <style> tags defined in the source are
|
1505 |
+
now preserved.</li>
|
1506 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1535946&group_id=75348">SF
|
1507 |
+
BUG-1535946</a>] The IE dialog system has been changed to better work with custom
|
1508 |
+
dialogs.</li>
|
1509 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599520&group_id=75348">SF
|
1510 |
+
BUG-1599520</a>] The table dialog was producing empty tags when leaving some of
|
1511 |
+
its fields empty.</li>
|
1512 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1599545&group_id=75348">SF
|
1513 |
+
BUG-1599545</a>] HTML entities are now processed on attribute values too.</li>
|
1514 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1598517&group_id=75348">SF
|
1515 |
+
BUG-1598517</a>] Meta tags are now protected from execution during editing (avoiding
|
1516 |
+
the "redirect" meta to be activated).</li>
|
1517 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1415601&group_id=75348">SF
|
1518 |
+
BUG-1415601</a>] Firefox internals: styleWithCSS is used instead of the deprecated
|
1519 |
+
useCSS whenever possible.</li>
|
1520 |
+
<li>All JavaScript Core extension function have been renamed to "PascalCase" (some were
|
1521 |
+
in "camelCase"). This may have impact on plugins that use any of those functions.</li>
|
1522 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1592311&group_id=75348">SF
|
1523 |
+
BUG-1592311</a>] Operations in the caption of tables are now working correctly in
|
1524 |
+
both browsers.</li>
|
1525 |
+
<li>Small interface fixes to the about box.</li>
|
1526 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1604576&group_id=75348&atid=543655">SF
|
1527 |
+
PATCH-1604576</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1604301&group_id=75348">SF
|
1528 |
+
BUG-1604301</a>] Link creation failed in Firefox 3 alpha. Thanks to Arpad Borsos</li>
|
1529 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1577247&group_id=75348&atid=543653">SF
|
1530 |
+
BUG-1577247</a>] Unneeded call to captureEvents and releaseEvents.</li>
|
1531 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1610790&group_id=75348">SF
|
1532 |
+
BUG-1610790</a>] On some specific situations, the call to form.submit(), in form
|
1533 |
+
were FCKeditor has been unloaded by code, was throwing the "Can't execute code from
|
1534 |
+
a freed script" error.</li>
|
1535 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1613167&group_id=75348&atid=543653">SF
|
1536 |
+
BUG-1613167</a>] If the configuration was missing the FCKConfig.AdditionalNumericEntities
|
1537 |
+
entry an error appeared.</li>
|
1538 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1590848&group_id=75348&atid=543653">SF
|
1539 |
+
BUG-1590848</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1626360&group_id=75348&atid=543653">SF
|
1540 |
+
BUG-1626360</a>] Cleaning of JavaScript strict warnings in the source code.</li>
|
1541 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1559466&group_id=75348&atid=543653">SF
|
1542 |
+
BUG-1559466</a>] The ol/ul list property window always searched first for a UL element.</li>
|
1543 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1516008&group_id=75348&atid=543653">SF
|
1544 |
+
BUG-1516008</a>] Class attribute in IE wasn't loaded in the image dialog.</li>
|
1545 |
+
<li>The "OnAfterSetHTML" event is now fired when being/switching to Source View.</li>
|
1546 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1631807&group_id=75348&atid=543653">SF
|
1547 |
+
BUG-1631807</a>] Elements' style properties are now forced to lowercase in IE.</li>
|
1548 |
+
<li>The extensions "html", "htm" and "asis" have been added to the list of denied extensions
|
1549 |
+
on upload.</li>
|
1550 |
+
<li>Empty inline elements (like span and strong) will not be generated any more.</li>
|
1551 |
+
<li>Some elements attributes (like hspace) where not being retrieved when set to "0".</li>
|
1552 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&aid=1508341&group_id=75348&atid=543653">SF
|
1553 |
+
BUG-1508341</a>] Fix for the ColdFusion script file of SpellerPages.</li>
|
1554 |
+
</ul>
|
1555 |
+
<p>
|
1556 |
+
* This version has been partially sponsored by <a href="http://www.imedi.org/">Medical
|
1557 |
+
Media Lab</a>.</p>
|
1558 |
+
<h3>
|
1559 |
+
Version 2.3.3</h3>
|
1560 |
+
<p>
|
1561 |
+
New Features and Improvements:</p>
|
1562 |
+
<ul>
|
1563 |
+
<li>The project has been <strong>relicensed</strong> under the terms of the <strong>
|
1564 |
+
GPL / LGPL / MPL</strong> licenses. This change will remove many licensing compatibility
|
1565 |
+
issues with other open source licenses, making the editor even more "open" than
|
1566 |
+
before. </li>
|
1567 |
+
<li><font color="#ff0000">Attention:</font> The default directory in the distribution
|
1568 |
+
package is now named "fckeditor" (in lowercase) instead of "FCKeditor". This
|
1569 |
+
change may impact installations on case sensitive OSs, like Linux. </li>
|
1570 |
+
<li><font color="#ff0000">Attention:</font> The "Universal Keyboard" has been removed
|
1571 |
+
from the package. The license of those files was unclear so they can't be included
|
1572 |
+
alongside the rest of FCKeditor.</li>
|
1573 |
+
</ul>
|
1574 |
+
<h3>
|
1575 |
+
Version 2.3.2</h3>
|
1576 |
+
<p>
|
1577 |
+
New Features and Improvements:</p>
|
1578 |
+
<ul>
|
1579 |
+
<li>Users can now decide if the template dialog will replace the entire contents of
|
1580 |
+
the editor or simply place the template in the cursor position. This feature can
|
1581 |
+
be controlled by the "TemplateReplaceAll" and "TemplateReplaceCheckbox" configuration
|
1582 |
+
options.</li>
|
1583 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237693&group_id=75348&atid=543655">SF
|
1584 |
+
Patch-1237693</a>] A new configuration option (<strong>ProcessNumericEntities</strong>)
|
1585 |
+
is now available to tell the editor to convert non ASCII chars to their relative
|
1586 |
+
numeric entity references. It is disabled by default.</li>
|
1587 |
+
<li>The new "<strong>AdditionalNumericEntities</strong>" setting makes it possible to
|
1588 |
+
define a set of characters to be transformed to their relative numeric entities.
|
1589 |
+
This is useful when you don't want the code to have simple quotes ('), for example.</li>
|
1590 |
+
<li>The Norwegian language file (no.js) has been duplicated to include the Norwegian
|
1591 |
+
Bokmal (nb.js) in the supported interface languages. Thanks to Martin Kronstad.
|
1592 |
+
</li>
|
1593 |
+
<li>Two new patterns have been added to the Universal Keyboard:
|
1594 |
+
<ul>
|
1595 |
+
<li>Persian. Thanks to Pooyan Mahdavi</li>
|
1596 |
+
<li>Portuguese. Thanks to Bo Brandt.</li>
|
1597 |
+
</ul>
|
1598 |
+
</li>
|
1599 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF
|
1600 |
+
Patch-1517322</a>] It is now possible to define the start number on numbered lists.
|
1601 |
+
Thanks to Marcel Bennett.</li>
|
1602 |
+
<li>The Font Format combo will now reflect the EditorAreaCSS styles.</li>
|
1603 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1461539&group_id=75348&atid=543655">SF
|
1604 |
+
Patch-1461539</a>] The File Browser connector can now optionally return a "url"
|
1605 |
+
attribute for the files. Thanks to Pent.</li>
|
1606 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1090851&group_id=75348">SF
|
1607 |
+
BUG-1090851</a>] The new "ToolbarComboPreviewCSS" configuration option has been
|
1608 |
+
created, so it is possible to point the Style and Format toolbar combos to a different
|
1609 |
+
CSS, avoiding conflicts with the editor area CSS.</li>
|
1610 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1421309&group_id=75348&atid=543656">SF
|
1611 |
+
Feature-1421309</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1489402&group_id=75348">SF
|
1612 |
+
BUG-1489402</a>] It is now possible to configure the Quick Uploder target path
|
1613 |
+
to consider the file type (ex: Image or File) in the target path for uploads.</li>
|
1614 |
+
<li>The JavaScript integration file has two new things:
|
1615 |
+
<ul>
|
1616 |
+
<li>The "CreateHtml()" function in the FCKeditor object, used to retrieve the HTML of
|
1617 |
+
an editor instance, instead of writing it directly to the page (as done by "Create()").</li>
|
1618 |
+
<li>The global "FCKeditor_IsCompatibleBrowser()" function, which tells if the executing
|
1619 |
+
browser is compatible with FCKeditor. This makes it possible to do any necessary
|
1620 |
+
processing depending on the compatibility, without having to create and editor instance.</li>
|
1621 |
+
</ul>
|
1622 |
+
</li>
|
1623 |
+
</ul>
|
1624 |
+
<p>
|
1625 |
+
Fixed Bugs:</p>
|
1626 |
+
<ul>
|
1627 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1525242&group_id=75348">SF
|
1628 |
+
BUG-1525242</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500050&group_id=75348">SF
|
1629 |
+
BUG-1500050</a>] All event attributes (like onclick or onmouseover) are now
|
1630 |
+
being protected before loading the editor. In this way, we avoid firing those events
|
1631 |
+
during editing (IE issue) and they don't interfere in other specific processors
|
1632 |
+
in the editor.</li>
|
1633 |
+
<li>Small security fixes to the File Browser connectors. </li>
|
1634 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1546226&group_id=75348">SF
|
1635 |
+
BUG-1546226</a>] Small fix to the ColdFusion CFC integration file.</li>
|
1636 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&atid=543655&aid=1547768&group_id=75348">SF
|
1637 |
+
Patch-1407500</a>] The Word Cleanup function was breaking the HTML on pasting, on
|
1638 |
+
very specific cases. Fixed, thanks to Frode E. Moe.</li>
|
1639 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551979&group_id=75348&atid=543655">SF
|
1640 |
+
Patch-1551979</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1418066&group_id=75348">SF
|
1641 |
+
BUG-1418066</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1439621&group_id=75348">SF
|
1642 |
+
BUG-1439621</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1501698&group_id=75348&atid=543653">SF
|
1643 |
+
BUG-1501698</a>] Make FCKeditor work with application/xhtml+xml. Thanks
|
1644 |
+
to Arpad Borsos.</li>
|
1645 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1547738&group_id=75348&atid=543655">SF
|
1646 |
+
Patch-1547738</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1550595&group_id=75348&atid=543653">SF
|
1647 |
+
BUG-1550595</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1540807&group_id=75348&atid=543653">SF
|
1648 |
+
BUG-1540807</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1510685&group_id=75348&atid=543653">SF
|
1649 |
+
BUG-1510685</a>] Fixed problem with panels wrongly positioned when the
|
1650 |
+
editor is placed on absolute or relative positioned elements. Thanks to Filipe Martins.</li>
|
1651 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1511294&group_id=75348&atid=543655">SF
|
1652 |
+
Patch-1511294</a>] Small fix for the File Browser compatibility with IE 5.5.</li>
|
1653 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1503178&group_id=75348&atid=543655">SF
|
1654 |
+
Patch-1503178</a>] Small improvement to stop IE from loading smiley images when
|
1655 |
+
one smiley is quickly selected from a huge list of smileys. Thanks to stuckhere.</li>
|
1656 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1549112&group_id=75348&atid=543653">SF
|
1657 |
+
BUG-1549112</a>] The Replace dialog window now escapes regular expression specific
|
1658 |
+
characters in the find and replace fields.</li>
|
1659 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1548788&group_id=75348&atid=543653">SF
|
1660 |
+
BUG-1548788</a>] Updated the ieSpell download URL.</li>
|
1661 |
+
<li>In FF, the editor was throwing an error when closing the window. Fixed.</li>
|
1662 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1538509&group_id=75348&atid=543653">SF
|
1663 |
+
BUG-1538509</a>] The "type" attribute for text fields will always be set now.</li>
|
1664 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1551734&group_id=75348&atid=543653">SF
|
1665 |
+
BUG-1551734</a>] The SetHTML function will now update the editing area height no
|
1666 |
+
matter which editing mode is active.</li>
|
1667 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1554141&group_id=75348&atid=543653">SF
|
1668 |
+
BUG-1554141</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1565562&group_id=75348&atid=543653">SF
|
1669 |
+
BUG-1565562</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1451056&group_id=75348&atid=543653">SF
|
1670 |
+
BUG-1451056</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1478408&group_id=75348&atid=543653">SF
|
1671 |
+
BUG-1478408</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489322&group_id=75348&atid=543653">SF
|
1672 |
+
BUG-1489322</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513667&group_id=75348&atid=543653">SF
|
1673 |
+
BUG-1513667</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1562134&group_id=75348&atid=543653">SF
|
1674 |
+
BUG-1562134</a>] The protection of URLs has been enhanced
|
1675 |
+
and now it will not break URLs on very specific cases.</li>
|
1676 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1545732&group_id=75348&atid=543653">SF
|
1677 |
+
BUG-1545732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1490919&group_id=75348&atid=543653">SF
|
1678 |
+
BUG-1490919</a>] No security errors will be thrown when loading FCKeditor in
|
1679 |
+
page inside a FRAME defined in a different domain.</li>
|
1680 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512817&group_id=75348&atid=543653">SF
|
1681 |
+
BUG-1512817</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1571345&group_id=75348&atid=543653">SF
|
1682 |
+
BUG-1571345</a>] Fixed the "undefined" addition to the content when ShowBorders
|
1683 |
+
= false and FullPage = true in Firefox. Thanks to Brett.</li>
|
1684 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1512798&group_id=75348&atid=543653">SF
|
1685 |
+
BUG-1512798</a>] BaseHref will now work well on FullPage, even if no <head>
|
1686 |
+
is available.</li>
|
1687 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1509923&group_id=75348&atid=543653">SF
|
1688 |
+
BUG-1509923</a>] The DocumentProcessor is now called when using InserHtml().</li>
|
1689 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505964&group_id=75348&atid=543653">SF
|
1690 |
+
BUG-1505964</a>] The DOCTYPE declaration is now preserved when working in FullPage.</li>
|
1691 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1553727&group_id=75348&atid=543653">SF
|
1692 |
+
BUG-1553727</a>] The editor was throwing an error when inserting complex templates.
|
1693 |
+
Fixed.</li>
|
1694 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1564930&group_id=75348&atid=543655">SF
|
1695 |
+
Patch-1564930</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1562828&group_id=75348">SF
|
1696 |
+
BUG-1562828</a>] In IE, anchors where incorrectly copied when using the Paste
|
1697 |
+
from Word button. Fixed, thanks to geirhelge.</li>
|
1698 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1557709&group_id=75348&atid=543653">SF
|
1699 |
+
BUG-1557709</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1421810&group_id=75348&atid=543653">SF
|
1700 |
+
BUG-1421810</a>] The link dialog now validates Popup Window names.</li>
|
1701 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1556878&group_id=75348&atid=543653">SF
|
1702 |
+
BUG-1556878</a>] Firefox was creating empty tags when deleting the selection in
|
1703 |
+
some special cases.</li>
|
1704 |
+
<li>The context menu for links is now correctly shown when right-clicking on floating
|
1705 |
+
divs.</li>
|
1706 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1084404&group_id=75348&atid=543653">SF
|
1707 |
+
BUG-1084404</a>] The XHTML processor now ignores empty span tags.</li>
|
1708 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221728&group_id=75348&atid=543653">SF
|
1709 |
+
BUG-1221728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1174503&group_id=75348&atid=543653">SF
|
1710 |
+
BUG-1174503</a>] The <abbr> tag is not anymore getting broken by IE.</li>
|
1711 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1182906&group_id=75348&atid=543653">SF
|
1712 |
+
BUG-1182906</a>] IE is not anymore messing up mailto links.</li>
|
1713 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1386094&group_id=75348&atid=543653">SF
|
1714 |
+
BUG-1386094</a>] Fixed an issue when setting configuration options to empty ('')
|
1715 |
+
by code.</li>
|
1716 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1389435&group_id=75348&atid=543653">SF
|
1717 |
+
BUG-1389435</a>] Fixed an issue in some dialog boxes when handling numeric inputs.</li>
|
1718 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1398829&group_id=75348&atid=543653">SF
|
1719 |
+
BUG-1398829</a>] Some links may got broken on very specific cases. Fixed.</li>
|
1720 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1409969&group_id=75348&atid=543653">SF
|
1721 |
+
BUG-1409969</a>] <noscript> tags now remain untouched by the editor.</li>
|
1722 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1433457&group_id=75348&atid=543653">SF
|
1723 |
+
BUG-1433457</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1513631&group_id=75348&atid=543653">SF
|
1724 |
+
BUG-1513631</a>] Empty "href" attributes in <a> or empty "src" in <img>
|
1725 |
+
will now be correctly preserved.</li>
|
1726 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1435195&group_id=75348&atid=543653">SF
|
1727 |
+
BUG-1435195</a>] Scrollbars are now visible in the File Browser (for custom implementations).</li>
|
1728 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1438296&group_id=75348&atid=543653">SF
|
1729 |
+
BUG-1438296</a>] The "ForceSimpleAmpersand" setting is now being honored in all
|
1730 |
+
tags.</li>
|
1731 |
+
<li>If a popup blocker blocks context menu operations, the correct alert message is
|
1732 |
+
displayed now, instead of a ugly JavaScript error.</li>
|
1733 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1454116&group_id=75348&atid=543653">SF
|
1734 |
+
BUG-1454116</a>] The GetXHTML() function will not change the IsDirty() value of
|
1735 |
+
the editor.</li>
|
1736 |
+
<li>The spell check may not work correctly when using SpellerPages with ColdFusion.
|
1737 |
+
Fixed.</li>
|
1738 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1481861&group_id=75348&atid=543653">SF
|
1739 |
+
BUG-1481861</a>] HTML comments are now removed by the Word Cleanup System.</li>
|
1740 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1489390&group_id=75348&atid=543653">SF
|
1741 |
+
BUG-1489390</a>] A few missing hard coded combo options used in some dialogs are
|
1742 |
+
now localizable.</li>
|
1743 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1505448&group_id=75348&atid=543653">SF
|
1744 |
+
BUG-1505448</a>] The Form dialog now retrieves the value of the "action" attribute
|
1745 |
+
exactly as defined in the source.</li>
|
1746 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1517322&group_id=75348&atid=543655">SF
|
1747 |
+
Patch-1517322</a>] Solved an issue when the toolbar has buttons with simple icons
|
1748 |
+
(usually used by plugins) mixed with icons coming from a strip (the default toolbar
|
1749 |
+
buttons).</li>
|
1750 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1575261&group_id=75348&atid=543655">SF
|
1751 |
+
Patch-1575261</a>] Some fields in the Table and Cell Properties dialogs were being
|
1752 |
+
cut. Fixed.</li>
|
1753 |
+
<li>Fixed a startup compatibility issue with Firefox 1.0.4.</li>
|
1754 |
+
</ul>
|
1755 |
+
<h3>
|
1756 |
+
Version 2.3.1</h3>
|
1757 |
+
<p>
|
1758 |
+
Fixed Bugs:</p>
|
1759 |
+
<ul>
|
1760 |
+
<li>[<a target="_blank" href="https://sourceforge.net/support/tracker.php?aid=1506126">SF
|
1761 |
+
BUG-1506126</a>] Fixed the Catalan language file, which had been published with
|
1762 |
+
problems in accented letters. </li>
|
1763 |
+
<li>More performance improvements in the default File Browser.</li>
|
1764 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1506701&group_id=75348&atid=543653">SF
|
1765 |
+
BUG-1506701</a>] Fixed compatibility issues with IE 5.5.</li>
|
1766 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509073&group_id=75348&atid=543653">SF
|
1767 |
+
BUG-1509073</a>] Fixed the "Image Properties" dialog window, which was making invalid
|
1768 |
+
calls to the "editor/dialog/" directory, generating error 400 entries in the web
|
1769 |
+
server log.</li>
|
1770 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507294&group_id=75348&atid=543653">SF
|
1771 |
+
BUG-1507294</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507953&group_id=75348&atid=543653">SF
|
1772 |
+
BUG-1507953</a>] The editing area was getting a fixed size when using the "SetHTML"
|
1773 |
+
API command or even when switching back from the source view. Fixed.</li>
|
1774 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1507755&group_id=75348">SF
|
1775 |
+
BUG-1507755</a>] Fixed a conflict between the "DisableObjectResizing" and "ShowBorders"
|
1776 |
+
configuration options over IE.</li>
|
1777 |
+
<li>Opera 9 tries to "mimic" Gecko in the browser detection system of FCKeditor. As
|
1778 |
+
this browser is not "yet" supported, the editor was broken on it. It has been fixed,
|
1779 |
+
and now a textarea is displayed, as in any other unsupported browser. Support for
|
1780 |
+
Opera is still experimental and can be activated by setting the property "EnableOpera"
|
1781 |
+
to true when creating an instance of the editor with the JavaScript integration
|
1782 |
+
files.</li>
|
1783 |
+
<li>With Opera 9, the toolbar was jumping on buttons rollover. </li>
|
1784 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1509479&group_id=75348&atid=543656">SF
|
1785 |
+
BUG-1509479</a>] The iframes used in Firefox for all editor panels (dropdown combos,
|
1786 |
+
context menu, etc...) are now being placed right before the main iframe that holds
|
1787 |
+
the editor. In this way, if the editor container element is removed from the DOM
|
1788 |
+
(by DHTML) they are removed together with it.</li>
|
1789 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271070&group_id=75348&atid=543653">SF
|
1790 |
+
BUG-1271070</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1411430&group_id=75348&atid=543653">SF
|
1791 |
+
BUG-1411430</a>] The editor API now works well on DHTML pages that create and
|
1792 |
+
remove instances of FCKeditor dynamically. </li>
|
1793 |
+
<li>A second call to a page with the editor was not working correctly with Firefox 1.0.x.
|
1794 |
+
Fixed.</li>
|
1795 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511460&group_id=75348&atid=543653">SF
|
1796 |
+
BUG-1511460</a>] Small correction to the <script> protected source regex.
|
1797 |
+
Thanks to Randall Severy.</li>
|
1798 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1521754&group_id=75348">SF
|
1799 |
+
BUG-1521754</a>] Small fix to the paths of the internal CSS files used by FCKeditor.
|
1800 |
+
Thanks to johnw_ceb.</li>
|
1801 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1511442&group_id=75348&atid=543653">SF
|
1802 |
+
BUG-1511442</a>] The <base> tag is now correctly handled in IE, no matter
|
1803 |
+
its position in the source code.</li>
|
1804 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1507773&group_id=75348&atid=543653">SF
|
1805 |
+
BUG-1507773</a>] The "Lock" and "Reset" buttons in the Image Properties dialog window
|
1806 |
+
are not anymore jumping with Firefox 1.5.</li>
|
1807 |
+
</ul>
|
1808 |
+
<h3>
|
1809 |
+
Version 2.3</h3>
|
1810 |
+
<p>
|
1811 |
+
New Features and Improvements:</p>
|
1812 |
+
<ul>
|
1813 |
+
<li>The <strong>Toolbar Sharing</strong> system has been completed. See sample10.html
|
1814 |
+
and sample11.html.*</li>
|
1815 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1407500&group_id=75348&atid=543655">SF
|
1816 |
+
Patch-1407500</a>] Small enhancement to the Find and Replace dialog windows.</li>
|
1817 |
+
</ul>
|
1818 |
+
<p>
|
1819 |
+
Fixed Bugs:</p>
|
1820 |
+
<ul>
|
1821 |
+
<li>Small security fixes.</li>
|
1822 |
+
<li>The context menu system has been optimized. Nested menus now open "onmouseover".
|
1823 |
+
</li>
|
1824 |
+
<li>An error in the image preloader system was making the toolbar strip being downloaded
|
1825 |
+
once for each button on slow connections. Some enhancements have also been made
|
1826 |
+
so now the smaple05.html is loading fast for all skins.</li>
|
1827 |
+
<li>Fixed many memory leak issues with IE.</li>
|
1828 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1489768&group_id=75348&atid=543653">SF
|
1829 |
+
BUG-1489768</a>] The panels (context menus, toolbar combos and color selectors),
|
1830 |
+
where being displayed in the wrong position if the contents of the editor, or its
|
1831 |
+
containing window were scrolled down. </li>
|
1832 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1493176&group_id=75348">SF
|
1833 |
+
BUG-1493176</a>] Using ASP, the connector was not working on servers with buffer
|
1834 |
+
disable by default.</li>
|
1835 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1491784&group_id=75348&atid=543653">SF
|
1836 |
+
BUG-1491784</a>] Language files have been updated to not include html entities.</li>
|
1837 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490259&group_id=75348&atid=543653">SF
|
1838 |
+
BUG-1490259</a>] No more security warning on IE over HTTPS.</li>
|
1839 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493173&group_id=75348&atid=543653">SF
|
1840 |
+
BUG-1493173</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499708&group_id=75348">SF
|
1841 |
+
BUG-1499708</a>] We now assume that, if a user is in source editing, he/she
|
1842 |
+
wants to control the HTML, so the editor doesn't make changes to it when posting
|
1843 |
+
the form being in source view or when calling the GetXHTML function in the API.
|
1844 |
+
</li>
|
1845 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1490610&group_id=75348&atid=543653">SF
|
1846 |
+
BUG-1490610</a>] The FitWindow is now working on elements set with relative position.</li>
|
1847 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1493438&group_id=75348&atid=543653">SF
|
1848 |
+
BUG-1493438</a>] The "Word Wrap" combo in the cell properties dialog now accepts
|
1849 |
+
only Yes/No (no more <Not Set> value).</li>
|
1850 |
+
<li>The context menu is now being hidden when a nested menu option is selected.</li>
|
1851 |
+
<li>Table cell context menu operations are now working correctly.</li>
|
1852 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1494549&group_id=75348&atid=543653">SF
|
1853 |
+
BUG-1494549</a>] The code formatter was having problems with dollar signs inside
|
1854 |
+
<pre> tags.</li>
|
1855 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459740&group_id=75348&atid=543655">SF
|
1856 |
+
Patch-1459740</a>] The "src" element of images can now be set by styles definitions.
|
1857 |
+
Thanks to joelwreed.</li>
|
1858 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1437052&group_id=75348&atid=543655">SF
|
1859 |
+
Patch-1437052</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1436166&group_id=75348&atid=543655">SF
|
1860 |
+
Patch-1436166</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352385&group_id=75348&atid=543655">SF
|
1861 |
+
Patch-1352385</a>] Small fix to the FCK.InsertHtml, FCKTools.AppendStyleSheet
|
1862 |
+
and FCKSelection.SelectNode functions over IE. Thanks to Alfonso Martinez.</li>
|
1863 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349765&group_id=75348&atid=543655">SF
|
1864 |
+
Patch-1349765</a>] Small fix to the FCKSelection.GetType over Firefox. Thanks to
|
1865 |
+
Alfonso Martinez.</li>
|
1866 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1495422&group_id=75348">SF
|
1867 |
+
Patch-1495422</a>] The editor now creates link based on the URL when no selection
|
1868 |
+
is available. Thanks to Dominik Pesch.</li>
|
1869 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1478859&group_id=75348">SF
|
1870 |
+
Patch-1478859</a>] On some circumstances, the Yahoo popup blocker was blocking the
|
1871 |
+
File Browser window, giving no feedback to the user. Now an alert message is displayed.</li>
|
1872 |
+
<li>When using the editor in a RTL localized interface, like Arabic, the toolbar combos
|
1873 |
+
were not showing completely in the first click. Fixed.</li>
|
1874 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1500212&group_id=75348">SF
|
1875 |
+
BUG-1500212</a>] All "_samples/html" samples are now working when loading directly
|
1876 |
+
from the Windows Explorer. Thanks to Alfonso Martinez.</li>
|
1877 |
+
<li>The "FitWindow" feature was breaking the editor under Firefox 1.0.x.</li>
|
1878 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1500032&group_id=75348&atid=543655">SF
|
1879 |
+
Patch-1500032</a>] In Firefox, the caret position now follows the user clicks when
|
1880 |
+
clicking in the white area bellow the editor contents. Thanks to Alfonso Martinez.</li>
|
1881 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1499522&group_id=75348">SF
|
1882 |
+
BUG-1499522</a>] In Firefox, the link dialog window was loosing the focus (and quickly
|
1883 |
+
reacquiring it) when opening. This behavior was blocking the dialog in some Linux
|
1884 |
+
installations. </li>
|
1885 |
+
<li>Drastically improved the loading performance of the file list in the default File
|
1886 |
+
Browser.</li>
|
1887 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1503059&group_id=75348">SF
|
1888 |
+
BUG-1503059</a>] The default "BasePath" for FCKeditor in all integration files has
|
1889 |
+
been now unified to "/fckeditor/" (lower-case). This is the usual casing system
|
1890 |
+
in case sensitive OSs like Linux.</li>
|
1891 |
+
<li>The "DisableFFTableHandles" setting is now honored when switching the full screen
|
1892 |
+
mode with FitWindow.</li>
|
1893 |
+
<li>Some fixes has been applied to the cell merging in Firefox.</li>
|
1894 |
+
</ul>
|
1895 |
+
<p>
|
1896 |
+
* This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a>
|
1897 |
+
and <a href="http://www.kentico.com/">Kentico</a>.</p>
|
1898 |
+
<h3>
|
1899 |
+
Version 2.3 Beta</h3>
|
1900 |
+
<p>
|
1901 |
+
New Features and Improvements:</p>
|
1902 |
+
<ul>
|
1903 |
+
<li><span><strong>Extremely Fast Loading!</strong> The editor now loads more than 3
|
1904 |
+
times faster than before, with no impact on its advanced features.</span> </li>
|
1905 |
+
<li><span><strong>New toolbar system</strong>:</span>
|
1906 |
+
<ul>
|
1907 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1454850&group_id=75348&atid=543656">SF
|
1908 |
+
Feature-1454850</a>] The toolbar will now <strong>load much faster</strong>. All
|
1909 |
+
images have being merged in a single image file using a unique system available
|
1910 |
+
only with FCKeditor. </li>
|
1911 |
+
<li>The "Text Color" and "Background Color" commands buttons have
|
1912 |
+
enhancements on the interface.</li>
|
1913 |
+
<li><strong><span style="color: #ff0000">Attention</span></strong>: As a completely
|
1914 |
+
new system has being developed. Skins created for versions prior this one will not
|
1915 |
+
work. Skin styles definitions have being merged, added and removed. All skins have
|
1916 |
+
been a little bit reviewed. </li>
|
1917 |
+
<li>It is possible to <strong>detach the toolbar</strong> from an editor instance and
|
1918 |
+
share it with other instances. In this way you may have only one toolbar (in the
|
1919 |
+
top of the window, for example, that can be used by many editors (see <a href="_samples/html/sample10.html">
|
1920 |
+
sample10.html</a>). This feature is still under development (issues with IE
|
1921 |
+
focus still to be solved).* </li>
|
1922 |
+
</ul>
|
1923 |
+
</li>
|
1924 |
+
<li><strong><span>New context menu system</span></strong>:
|
1925 |
+
<ul>
|
1926 |
+
<li>It uses the same (fast) loading system as the toolbar. </li>
|
1927 |
+
<li>Sub-Menus are now available to group features (try the context menu over a table
|
1928 |
+
cell). </li>
|
1929 |
+
<li>It is now possible to create your own context menu entries by creating plugins.
|
1930 |
+
</li>
|
1931 |
+
</ul>
|
1932 |
+
</li>
|
1933 |
+
<li><strong>New "FitWindow" toolbar button</strong>, based on the <a href="https://sourceforge.net/tracker/index.php?func=detail&aid=1431638&group_id=75348&atid=737639">
|
1934 |
+
plugin</a> published by Paul Moers. Thanks Paul!</li>
|
1935 |
+
<li><strong>"Auto Grow" Plugin</strong>: automatically resizes the editor
|
1936 |
+
until a maximum height, based on its contents size.** </li>
|
1937 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1444943&group_id=75348&atid=543656">SF
|
1938 |
+
Feature-1444943</a>] <strong>Multiple CSS files</strong> can now be used in the
|
1939 |
+
editing area. Just define FCKConfig.EditorAreaCSS as an array of strings (each one
|
1940 |
+
is a path to a different css file). It works also as a simple string, as on prior
|
1941 |
+
versions. </li>
|
1942 |
+
<li>New language files:<ul>
|
1943 |
+
<li><strong>Bengali / Bangla</strong> (by Richard Walledge).</li>
|
1944 |
+
<li><strong>English (Canadian)</strong> (by Kevin Bennett). </li>
|
1945 |
+
<li><strong>Khmer</strong> (by Sengtha Chay).</li>
|
1946 |
+
</ul>
|
1947 |
+
</li>
|
1948 |
+
<li>The source view is now available in the editing area on Gecko browsers. Previously
|
1949 |
+
a popup was used for it (due to a Firefox bug). </li>
|
1950 |
+
<li><span>As some people may prefer the popup way for source editing, a new configuration
|
1951 |
+
option (SourcePopup) has being introduced.</span> </li>
|
1952 |
+
<li>The IEForceVScroll configuration option has been removed. The editor now automatically
|
1953 |
+
shows the vertical scrollbar when needed (for XHTML doctypes). </li>
|
1954 |
+
<li>The configuration file doesn't define a default DOCTYPE to be used now. </li>
|
1955 |
+
<li>It is now possible to easily change the toolbar using the JavaScript API by just
|
1956 |
+
calling <EditorInstance>.ToolbarSet.Load( '<ToolbarName>' ). See _testcases/010.html
|
1957 |
+
for a sample. </li>
|
1958 |
+
<li>The "OnBlur" and "OnFocus" JavaScript API events are now compatible
|
1959 |
+
with all supported browsers. </li>
|
1960 |
+
<li>Some few updates in the Lasso connector and uploader. </li>
|
1961 |
+
<li>The GeckoUseSPAN setting is now set to "false" by default. In this way, the code
|
1962 |
+
produced by the bold, italic and underline commands are the same on all browsers.</li>
|
1963 |
+
</ul>
|
1964 |
+
<p>
|
1965 |
+
Fixed Bugs:</p>
|
1966 |
+
<ul>
|
1967 |
+
<li><strong>Important security fixes have been applied to the File Manager, Uploader
|
1968 |
+
and Connectors. Upgrade is highly recommended.</strong> Thanks to Alberto Moro,
|
1969 |
+
Baudouin Lamourere and James Bercegay.</li>
|
1970 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1399966&group_id=75348&atid=543653">SF
|
1971 |
+
BUG-1399966</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1249853&group_id=75348&atid=543653">SF
|
1972 |
+
BUG-1249853</a>] The "BaseHref" configuration is now working with
|
1973 |
+
Firefox in both normal and full page modes.</li>
|
1974 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1405263&group_id=75348&atid=543653">SF
|
1975 |
+
BUG-1405263</a>] A typo in the configuration file was impacting the Quick Upload
|
1976 |
+
feature. </li>
|
1977 |
+
<li>Nested <ul> and <ol> tags are now generating valid html.</li>
|
1978 |
+
<li>The "wmode" and "quality" attributes are now preserved for Flash
|
1979 |
+
embed tags, in case they are entered manually in the source view. Also, empty attributes
|
1980 |
+
are removed from that tag. </li>
|
1981 |
+
<li>Tables where not being created correctly on Opera. </li>
|
1982 |
+
<li>The XHTML processor will ignore invalid tags with names ending with ":",
|
1983 |
+
like http:. </li>
|
1984 |
+
<li><span>On Firefox, the scrollbar is not anymore displayed on toolbar dropdown commands
|
1985 |
+
when not needed.</span> </li>
|
1986 |
+
<li><span>Some small fixes have being done to the dropdown commands rendering for FF</span>.
|
1987 |
+
</li>
|
1988 |
+
<li>The table dialog window has been a little bit enlarged to avoid contents being cropped
|
1989 |
+
on some languages, like Russian. </li>
|
1990 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1465203&group_id=75348&atid=543653">SF
|
1991 |
+
BUG-1465203</a>] The ieSpell download URL has been updated. The problem is that
|
1992 |
+
they don't have a fixed URL for it, so let's hope the mirror will be up for it.
|
1993 |
+
</li>
|
1994 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1456332&group_id=75348&atid=543653">SF
|
1995 |
+
BUG-1456332</a>] Small fix in the Spanish language file. </li>
|
1996 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1457078&group_id=75348&atid=543653">SF
|
1997 |
+
BUG-1457078</a>] The File Manager was generating 404 calls in the server. </li>
|
1998 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1459846&group_id=75348&atid=543653">SF
|
1999 |
+
BUG-1459846</a>] Fixed a problem with the config file if PHP is set to parse .js
|
2000 |
+
files. </li>
|
2001 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF
|
2002 |
+
BUG-1432120</a>] The "UserFilesAbsolutePath" setting is not correctly
|
2003 |
+
used in the PHP uploader. </li>
|
2004 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1432120&group_id=75348&atid=543653">SF
|
2005 |
+
BUG-1408869</a>] The collapse handler is now rendering correctly in Firefox 1.5.
|
2006 |
+
</li>
|
2007 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1410082&group_id=75348&atid=543653">SF
|
2008 |
+
BUG-1410082</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1424240&group_id=75348&atid=543653">SF
|
2009 |
+
BUG-1424240</a>] The "moz-bindings.xml" file is now well formed. </li>
|
2010 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1413980&group_id=75348&atid=543653">SF
|
2011 |
+
BUG-1413980</a>] All frameborder "yes/no" values have been changes to
|
2012 |
+
"1/0". </li>
|
2013 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414101&group_id=75348&atid=543653">SF
|
2014 |
+
BUG-1414101</a>] The fake table borders are now showing correctly when running under
|
2015 |
+
the "file://" protocol. </li>
|
2016 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1414155&group_id=75348&atid=543653">SF
|
2017 |
+
BUG-1414155</a>] Small typo in the cell properties dialog window.</li>
|
2018 |
+
<li>Fixed a problem in the File Manager. It was not working well with folder or file
|
2019 |
+
names with apostrophes ('). Thanks to René de Jong.</li>
|
2020 |
+
<li>Small "lenght" type corrected in the select dialog window. Thanks to Bernd Nussbaumer.</li>
|
2021 |
+
<li>The about box is now showing correctly in Firefox 1.5.</li>
|
2022 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1464020&group_id=75348&atid=543655">SF
|
2023 |
+
Patch-1464020</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155793&group_id=75348&atid=543653">SF
|
2024 |
+
BUG-1155793</a>] The "Unlink" command is now working correctly under Firefox
|
2025 |
+
if you don't have a complete link selection. Thanks to Johnny Egeland.</li>
|
2026 |
+
<li>In the File Manager, it was not possible to upload files to folders with ampersands
|
2027 |
+
in the name. Thanks to Mike Pone.</li>
|
2028 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1178359&group_id=75348&atid=543653">SF
|
2029 |
+
BUG-1178359</a>] Elements from the toolbar are not anymore draggable in the editing
|
2030 |
+
area.</li>
|
2031 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1487544&group_id=75348&atid=543653">SF
|
2032 |
+
BUG-1487544</a>] Fixed a small issue in the code formatter for <br /> and
|
2033 |
+
<hr /> tags.</li>
|
2034 |
+
<li>The "Background Color" command now works correctly when the GeckoUseSPAN setting
|
2035 |
+
is disabled (default).</li>
|
2036 |
+
<li>Links are now rendered in blue with Firefox (they were black before). Actually,
|
2037 |
+
an entry for it has been added to the editing area CSS, so you can customize with
|
2038 |
+
the color you prefer. </li>
|
2039 |
+
</ul>
|
2040 |
+
<p>
|
2041 |
+
* This version has been partially sponsored by <a href="http://www.footsteps.nl/">Footsteps</a>
|
2042 |
+
and <a href="http://www.kentico.com/">Kentico</a>.
|
2043 |
+
<br />
|
2044 |
+
** This version has been partially sponsored by <a href="http://www.nextide.ca/">Nextide</a>.</p>
|
2045 |
+
<h3>
|
2046 |
+
Version 2.2</h3>
|
2047 |
+
<p>
|
2048 |
+
New Features and Improvements:</p>
|
2049 |
+
<ul>
|
2050 |
+
<li>Let's welcome Wim Lemmens (didgiman). He's our new responsible for the ColdFusion
|
2051 |
+
integration. In this version we are introducing his new files with the following
|
2052 |
+
changes:
|
2053 |
+
<ul>
|
2054 |
+
<li>The "<strong>Uploader</strong>", used for quick uploads, is now available
|
2055 |
+
<strong>natively for ColdFusion</strong>. </li>
|
2056 |
+
<li>Small bugs have been corrected in the <strong>File Browser connector</strong>. </li>
|
2057 |
+
<li>The samples now work as is, even if you don't install the editor in the "/FCKeditor"
|
2058 |
+
directory.</li>
|
2059 |
+
</ul>
|
2060 |
+
</li>
|
2061 |
+
<li>And a big welcome also to "Andrew Liu", our responsible for the <strong>
|
2062 |
+
Python</strong> integration. This version is bringing <strong>native support for Python</strong>
|
2063 |
+
, including the File Browser connector and Quick Upload. </li>
|
2064 |
+
<li>The "<strong>IsDirty()</strong>" and "<strong>ResetIsDirty()</strong>"
|
2065 |
+
functions have been added to the JavaScript API to check if the editor
|
2066 |
+
content has been changed.* </li>
|
2067 |
+
<li>New language files:
|
2068 |
+
<ul>
|
2069 |
+
<li><strong>Hindi</strong> (by Utkarshraj Atmaram) </li>
|
2070 |
+
<li><strong>Latvian </strong>(by Janis Klavinš)</li>
|
2071 |
+
</ul>
|
2072 |
+
</li>
|
2073 |
+
<li>For the interface, now we have complete <strong>RTL support</strong> also for
|
2074 |
+
the drop-down toolbar commands, color selectors and context menu. </li>
|
2075 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1325113&group_id=75348&atid=543653">SF
|
2076 |
+
BUG-1325113</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1277661&group_id=75348&atid=543653">SF
|
2077 |
+
BUG-1277661</a>] The new "Delete Table" command is available in the
|
2078 |
+
Context Menu when right-clicking inside a table. </li>
|
2079 |
+
<li>The "FCKConfig.DisableTableHandles" configuration option is now working
|
2080 |
+
on Firefox 1.5. </li>
|
2081 |
+
<li>The new "<strong>OnBlur</strong>" and "<strong>OnFocus</strong>"
|
2082 |
+
events have been added to the JavaScript API (IE only). See "_samples/html/sample09.html" *
|
2083 |
+
</li>
|
2084 |
+
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>GetHTML</strong>"
|
2085 |
+
function has been deprecated. It now returns the same value as "<strong>GetXHTML</strong>".
|
2086 |
+
The same is valid for the "EnableXHTML" and "EnableSourceXHTML"
|
2087 |
+
that have no effects now. The editor now works with XHTML output only. </li>
|
2088 |
+
<li><strong><font color="#ff0000">Attention</font></strong>: A new "<strong>PreserveSessionOnFileBrowser</strong>"
|
2089 |
+
configuration option has been introduced. It makes it possible to set whenever is
|
2090 |
+
needed to maintain the user session in the File Browser. It is disabled by default,
|
2091 |
+
as it has very specific usage and may cause the File Browser to be blocked by popup
|
2092 |
+
blockers. If you have custom File Browsers that depends on session information,
|
2093 |
+
remember to activate it. </li>
|
2094 |
+
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>fun</strong>"
|
2095 |
+
smileys set has been removed from the package. If you are using it, you must manually
|
2096 |
+
copy it to newer installations and upgrades. </li>
|
2097 |
+
<li><strong><font color="#ff0000">Attention</font></strong>: The "<strong>mcpuk</strong>"
|
2098 |
+
file browser has been removed from the package. We have no ways to support it. There
|
2099 |
+
were also some licensing issues with it. Its web site can still be found at <a href="http://mcpuk.net/fbxp/">
|
2100 |
+
http://mcpuk.net/fbxp/</a>. </li>
|
2101 |
+
<li>It is now possible to set different CSS styles for the chars in the Special Chars
|
2102 |
+
dialog window by adding the "SpecialCharsOut" and "SpecialCharsOver"
|
2103 |
+
in the "fck_dialog.css" skin file.* </li>
|
2104 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1268726&group_id=75348&atid=543655">SF
|
2105 |
+
Patch-1268726</a>] Added table "summary" support in the table dialog.
|
2106 |
+
Thanks to Sebastien-Mahe. </li>
|
2107 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1284380&group_id=75348&atid=543655">SF
|
2108 |
+
Patch-1284380</a>] It is now possible to define the icon of a FCKToolbarPanelButton
|
2109 |
+
object without being tied to the skin path (just like FCKToolbarButton). Thanks
|
2110 |
+
to Ian Sullivan. </li>
|
2111 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1338610&group_id=75348&atid=543655">SF
|
2112 |
+
Patch-1338610</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263009&group_id=75348&atid=543656">SF
|
2113 |
+
Patch-1263009</a>] New characters have been added to the "Special Characters"
|
2114 |
+
dialog window. Thanks to Deian. </li>
|
2115 |
+
<li>You can set the QueryString value "fckdebug=true" to activate "debug
|
2116 |
+
mode" in the editor (showing the debug window), overriding the configurations.
|
2117 |
+
The "AllowQueryStringDebug" configuration option is also available so
|
2118 |
+
you can disable this feature.</li>
|
2119 |
+
</ul>
|
2120 |
+
<p>
|
2121 |
+
Fixed Bugs:</p>
|
2122 |
+
<ul>
|
2123 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1363548&group_id=75348&atid=543653">SF
|
2124 |
+
BUG-1363548</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1364425&group_id=75348&atid=543653">SF
|
2125 |
+
BUG-1364425</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1335045&group_id=75348&atid=543653">SF
|
2126 |
+
BUG-1335045</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289661&group_id=75348&atid=543653">SF
|
2127 |
+
BUG-1289661</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225370&group_id=75348&atid=543653">SF
|
2128 |
+
BUG-1225370</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1156291&group_id=75348&atid=543653">SF
|
2129 |
+
BUG-1156291</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1165914&group_id=75348&atid=543653">SF
|
2130 |
+
BUG-1165914</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1111877&group_id=75348&atid=543653">SF
|
2131 |
+
BUG-1111877</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1092373&group_id=75348&atid=543653">SF
|
2132 |
+
BUG-1092373</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1101596&group_id=75348&atid=543653">SF
|
2133 |
+
BUG-1101596</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246952&group_id=75348&atid=543653">SF
|
2134 |
+
BUG-1246952</a>] The URLs for links and
|
2135 |
+
images are now correctly preserved as entered, no matter if you are using relative
|
2136 |
+
or absolute paths. </li>
|
2137 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1162809&group_id=75348&atid=543653">SF
|
2138 |
+
BUG-1162809</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1205638&group_id=75348&atid=543653">SF
|
2139 |
+
BUG-1205638</a>] The "Image" and "Flash" dialog windows
|
2140 |
+
now loads the preview correctly if the "BaseHref" configuration option
|
2141 |
+
is set. </li>
|
2142 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329807&group_id=75348&atid=543653">SF
|
2143 |
+
BUG-1329807</a>] The alert boxes are now showing correctly when doing cut/copy/paste
|
2144 |
+
operations on Firefox installations when it is not possible to execute that operations
|
2145 |
+
due to security settings. </li>
|
2146 |
+
<li>A new "Panel" system (used in the drop-dowm toolbar commands, color selectors
|
2147 |
+
and context menu) has been developed. The following bugs have been fixed with it:
|
2148 |
+
<ul>
|
2149 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186927&group_id=75348&atid=543653">SF
|
2150 |
+
BUG-1186927</a>] On IE, sometimes the context menu was being partially hidden.*
|
2151 |
+
</li>
|
2152 |
+
<li>On Firefox, the context menu was flashing in the wrong position before showing.
|
2153 |
+
</li>
|
2154 |
+
<li>On Firefox 1.5, the Color Selector was not working. </li>
|
2155 |
+
<li>On Firefox 1.5, the fonts in the panels were too big. </li>
|
2156 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1076435&group_id=75348&atid=543653">SF
|
2157 |
+
BUG-1076435</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200631&group_id=75348&atid=543653">SF
|
2158 |
+
BUG-1200631</a>] On Firefox, sometimes the context menu was being shown in the
|
2159 |
+
wrong position.</li>
|
2160 |
+
</ul>
|
2161 |
+
</li>
|
2162 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF
|
2163 |
+
BUG-1364094</a>] Font families were <a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=317572">
|
2164 |
+
not being rendered correctly on Firefox</a> . </li>
|
2165 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1315954&group_id=75348">SF
|
2166 |
+
BUG-1315954</a>] No error is thrown when pasting some case specific code from editor
|
2167 |
+
to editor. </li>
|
2168 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1341553&group_id=75348&atid=543653">SF
|
2169 |
+
BUG-1341553</a>] A small fix for a security alert in the File Browser has been
|
2170 |
+
applied. </li>
|
2171 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370953&group_id=75348&atid=543653">SF
|
2172 |
+
BUG-1370953</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339898&group_id=75348&atid=543653">SF
|
2173 |
+
BUG-1339898</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323319&group_id=75348&atid=543653">SF
|
2174 |
+
BUG-1323319</a>] A message will be shown to the user (instead of a JS error) if
|
2175 |
+
a "popup blocker" blocks the "Browser Server" button. Thanks
|
2176 |
+
to Erwin Verdonk. </li>
|
2177 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1370355&group_id=75348&atid=543653">SF
|
2178 |
+
BUG-1370355</a>] Anchor links that points to a single character anchor, like "#A",
|
2179 |
+
are now correctly detected in the Link dialog window. Thanks to Ricky Casey. </li>
|
2180 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368998&group_id=75348&atid=543653">SF
|
2181 |
+
BUG-1368998</a>] Custom error processing has been added to the file upload on the
|
2182 |
+
File Browser. </li>
|
2183 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1367802&group_id=75348&atid=543653">SF
|
2184 |
+
BUG-1367802</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1207740&group_id=75348&atid=543653">SF
|
2185 |
+
BUG-1207740</a>] A message is shown to the user if a dialog box is blocked by
|
2186 |
+
a popup blocker in Firefox. </li>
|
2187 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1358891&group_id=75348&atid=543653">SF
|
2188 |
+
BUG-1358891</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1340960&group_id=75348&atid=543653">SF
|
2189 |
+
BUG-1340960</a>] The editor not works locally (without a web server) on directories
|
2190 |
+
where the path contains spaces. </li>
|
2191 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357247&group_id=75348&atid=543653">SF
|
2192 |
+
BUG-1357247</a>] The editor now intercepts SHIFT + INS keystrokes when needed. </li>
|
2193 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1328488&group_id=75348&atid=543653">SF
|
2194 |
+
BUG-1328488</a>] <strong><font color="#ff0000">Attention</font></strong>: The Page
|
2195 |
+
Break command now produces different tags to avoid XHTML compatibility
|
2196 |
+
issues. Any Page Break previously applied to content produced with previous versions
|
2197 |
+
of FCKeditor will not me rendered now, even if they will still be working correctly.
|
2198 |
+
</li>
|
2199 |
+
<li>It is now possible to allow cut/copy/past operations on Firefox using the <a
|
2200 |
+
href="http://kb.mozillazine.org/Granting_JavaScript_access_to_the_clipboard"
|
2201 |
+
target="_blank">user.js</a> file. </li>
|
2202 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1336792&group_id=75348&atid=543653">SF
|
2203 |
+
BUG-1336792</a>] A fix has been applied to the XHTML processor to allow tag names
|
2204 |
+
with the "minus" char (-). </li>
|
2205 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1339560&group_id=75348&atid=543653">SF
|
2206 |
+
BUG-1339560</a>] The editor now correctly removes the "selected" option
|
2207 |
+
for checkboxes and radio buttons. </li>
|
2208 |
+
<li>The Table dialog box now selects the table correctly when right-clicking on objects
|
2209 |
+
(like images) placed inside the table. </li>
|
2210 |
+
<li><strong><font color="#ff0000">Attention</font></strong>: A few changes have been
|
2211 |
+
made in the skins. If you have a custom skin, it is recommended you to make a diff
|
2212 |
+
of the fck_contextmenu.css file of the default skin with your implementation. </li>
|
2213 |
+
<li>Mouse select (marking things in blue, like selecting text) has been disabled
|
2214 |
+
on panels (drop-down menu commands, color selector and context menu) and toolbar,
|
2215 |
+
for both IE and Firefox. </li>
|
2216 |
+
<li>On Gecko, fake borders will not be applied to tables with the border attribute set
|
2217 |
+
to more than 0, but placed inside tables with border set to 0. </li>
|
2218 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360717&group_id=75348&atid=543653">SF
|
2219 |
+
BUG-1360717</a>] A wrapping issue in the "Silver" skin has been corrected.
|
2220 |
+
Thanks to Ricky Casey. </li>
|
2221 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251145&group_id=75348&atid=543653">SF
|
2222 |
+
BUG-1251145</a>] In IE, the focus is now maintained in the text when clicking in
|
2223 |
+
the empty area following it. </li>
|
2224 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1181386&group_id=75348&atid=543653">SF
|
2225 |
+
BUG-1181386</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1237791&group_id=75348&atid=543653">SF
|
2226 |
+
BUG-1237791</a>] The "Stylesheet Classes" field in the Link dialog
|
2227 |
+
window in now applied correctly on IE. Thanks to Andrew Crowe. </li>
|
2228 |
+
<li>The "Past from Word" dialog windows is now showing correctly on Firefox
|
2229 |
+
on some languages. </li>
|
2230 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315008&group_id=75348&atid=543653">SF
|
2231 |
+
BUG-1315008</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1241992&group_id=75348&atid=543653">SF
|
2232 |
+
BUG-1241992</a>] IE, when selecting objects (like images) and hitting the "Backspace"
|
2233 |
+
button, the browser's "back" will not get executed anymore and the object
|
2234 |
+
will be correctly deleted. </li>
|
2235 |
+
<li>The "AutoDetectPasteFromWord" is now working correctly in IE. Thanks to
|
2236 |
+
Juan Ant. Gómez. </li>
|
2237 |
+
<li>A small enhancement has been made in the Word pasting detection. Thanks to Juan
|
2238 |
+
Ant. Gómez. </li>
|
2239 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1090686&group_id=75348&atid=543653">SF
|
2240 |
+
BUG-1090686</a>] No more conflict with Firefox "Type-Ahead Find" feature.
|
2241 |
+
</li>
|
2242 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942653&group_id=75348&atid=543653">SF
|
2243 |
+
BUG-942653</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1155856&group_id=75348&atid=543653">SF
|
2244 |
+
BUG-1155856</a>] The "width" and "height" of images sized
|
2245 |
+
using the inline handlers are now correctly loaded in the image dialog box. </li>
|
2246 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1209093&group_id=75348&atid=543653">SF
|
2247 |
+
BUG-1209093</a>] When "Full Page Editing" is active, in the "Document
|
2248 |
+
Properties" dialog, the "Browse Server" button for the page background
|
2249 |
+
is now correctly hidden if "ImageBrowser" is set to "false"
|
2250 |
+
in the configurations file. Thanks to Richard. </li>
|
2251 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1120266&group_id=75348&atid=543653">SF
|
2252 |
+
BUG-1120266</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1186196&group_id=75348&atid=543653">SF
|
2253 |
+
BUG-1186196</a>] The editor now retains the focus when selecting commands in
|
2254 |
+
the toolbar. </li>
|
2255 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1244480&group_id=75348&atid=543653">SF
|
2256 |
+
BUG-1244480</a>] The editor now will look first to linked fields "ids"
|
2257 |
+
and second to "names". </li>
|
2258 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1252905&group_id=75348&atid=543653">SF
|
2259 |
+
BUG-1252905</a>] The "InsertHtml" function now preserves URLs as entered.
|
2260 |
+
</li>
|
2261 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1266317&group_id=75348&atid=543653">SF
|
2262 |
+
BUG-1266317</a>] Toolbar commands are not anymore executed outside the editor. </li>
|
2263 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1365664&group_id=75348&atid=543653">SF
|
2264 |
+
BUG-1365664</a>] The "wrap=virtual" attribute has been removed from the
|
2265 |
+
integration files for validation purposes. No big impact. </li>
|
2266 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=972193&group_id=75348&atid=543653">SF
|
2267 |
+
BUG-972193</a>] Now just one click is needed to active the cursor inside the editor.
|
2268 |
+
</li>
|
2269 |
+
<li>The hidden fields used by the editor are now protected from changes using the "Web
|
2270 |
+
Developer Add-On > Forms > Display Forms Details" extension. Thanks to
|
2271 |
+
Jean-Marie Griess. </li>
|
2272 |
+
<li>On IE, the "Format" toolbar dropdown now reflects the current paragraph
|
2273 |
+
type on IE. Because of a bug in the browser, it is quite dependent on the browser
|
2274 |
+
language and the editor interface language (both must be the same). Also, as the
|
2275 |
+
"Normal (DIV)" type is seen by IE as "Normal", to avoid confusion,
|
2276 |
+
both types are ignored by this fix. </li>
|
2277 |
+
<li>On some very rare cases, IE was loosing the "align" attribute for DIV
|
2278 |
+
tags. Fixed. </li>
|
2279 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1388799&group_id=75348">SF
|
2280 |
+
BUG-1388799</a>] The code formatter was removing spaces on the beginning of lines
|
2281 |
+
inside PRE tags. Fixed. </li>
|
2282 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1387135&group_id=75348&atid=543653">SF
|
2283 |
+
BUG-1387135</a>] No more "NaN" values in the image dialog, when changing
|
2284 |
+
the sizes in some situations. </li>
|
2285 |
+
<li>Corrected a small type in the table handler. </li>
|
2286 |
+
<li>You can now set the "z-index" for floating panels (toolbar dropdowns,
|
2287 |
+
color selectors, context menu) in Firefox, avoiding having them hidden under another
|
2288 |
+
objects. By default it is set to 10,000. Use the FloatingPanelsZIndex configuration
|
2289 |
+
option to change this value.</li>
|
2290 |
+
</ul>
|
2291 |
+
<p>
|
2292 |
+
<strong>Special thanks</strong> to <a target="_blank" href="https://sourceforge.net/users/alfonsoml/">
|
2293 |
+
Alfonso Martinez</a>, who have provided many patches and suggestions for the
|
2294 |
+
following features / fixes present in this version. I encourage all you to <a href="https://sourceforge.net/donate/index.php?user_id=1356422">
|
2295 |
+
donate</a> to Alfonso, as a way to say thanks for his nice open source approach.
|
2296 |
+
Thanks Alfonso!. Check out his contributions:</p>
|
2297 |
+
<ul>
|
2298 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1364094&group_id=75348">SF
|
2299 |
+
BUG-1352539</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1208348&group_id=75348&atid=543653">SF
|
2300 |
+
BUG-1208348</a>] With Firefox, no more "fake" selections are appearing
|
2301 |
+
when inserting images, tables, special chars or when using the "insertHtml"
|
2302 |
+
function. </li>
|
2303 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543655&aid=1382588&group_id=75348">SF
|
2304 |
+
Patch-1382588</a>] The "FCKConfig.DisableImageHandles" configuration option
|
2305 |
+
is not working on Firefox 1.5. </li>
|
2306 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1368586&group_id=75348&atid=543655">SF
|
2307 |
+
Patch-1368586</a>] Some fixes have been applied to the Flash dialog box and the
|
2308 |
+
Flash pre-processor. </li>
|
2309 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1360253&group_id=75348&atid=543655">SF
|
2310 |
+
Patch-1360253</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1378782&group_id=75348&atid=543653">SF
|
2311 |
+
BUG-1378782</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305899&group_id=75348&atid=543653">SF
|
2312 |
+
BUG-1305899</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1344738&group_id=75348&atid=543653">SF
|
2313 |
+
BUG-1344738</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1347808&group_id=75348&atid=543653">SF
|
2314 |
+
BUG-1347808</a>] On dialogs, some fields became impossible
|
2315 |
+
to select or change when using Firefox. It has been fixed. </li>
|
2316 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1357445&group_id=75348&atid=543655">SF
|
2317 |
+
Patch-1357445</a>] Add support for DIV in the Format drop-down combo for Firefox.
|
2318 |
+
</li>
|
2319 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350465&group_id=75348&atid=543653">SF
|
2320 |
+
BUG-1350465</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1376175&group_id=75348&atid=543653">SF
|
2321 |
+
BUG-1376175</a>] The "Cell Properties" dialog now works correctly
|
2322 |
+
when right-clicking in an object (image, for example) placed inside the cell itself.
|
2323 |
+
</li>
|
2324 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1349166&group_id=75348&atid=543655">SF
|
2325 |
+
Patch-1349166</a>] On IE, there is now support for namespaces on tags names. </li>
|
2326 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1350552&group_id=75348&atid=543655">SF
|
2327 |
+
Patch-1350552</a>] Fix the display issue when applying styles on tables. </li>
|
2328 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1352320&group_id=75348&atid=543655">SF
|
2329 |
+
Patch-1352320</a> ] Fixed a wrong usage of the "parentElement"
|
2330 |
+
property on Gecko. </li>
|
2331 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1355007&group_id=75348&atid=543655">SF
|
2332 |
+
Patch-1355007</a>] The new "FCKDebug.OutputObject" function is available
|
2333 |
+
to dump all object information in the debug window. </li>
|
2334 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1329500&group_id=75348&atid=543655">SF
|
2335 |
+
Patch-1329500</a>] It is now possible to delete table columns when clicking on a
|
2336 |
+
TH cell of the column. </li>
|
2337 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1315351&group_id=75348&atid=543655">SF
|
2338 |
+
Patch-1315351</a>] It is now possible to pass the image width and height to the
|
2339 |
+
"SetUrl" function of the Flash dialog box. </li>
|
2340 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327384&group_id=75348&atid=543655">SF
|
2341 |
+
Patch-1327384</a>] TH tags are now correctly handled by the source code formatter
|
2342 |
+
and the "FillEmptyBlocks" configuration option. </li>
|
2343 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1327406&group_id=75348&atid=543655">SF
|
2344 |
+
Patch-1327406</a>] Fake borders are now displayed for TH elements on tables with
|
2345 |
+
border set to 0. Also, on Firefox, it will now work even if the border attribute
|
2346 |
+
is not defined and the borders are not dotted. </li>
|
2347 |
+
<li>Hidden fields now get rendered on Firefox. </li>
|
2348 |
+
<li>The BasePath is now included in the debugger URL to avoid problems when calling
|
2349 |
+
it from plugins.</li>
|
2350 |
+
</ul>
|
2351 |
+
<p>
|
2352 |
+
* This version has been partially sponsored by <a target="_blank" href="http://www.alkacon.com">
|
2353 |
+
Alkacon Software</a>.</p>
|
2354 |
+
<h3>
|
2355 |
+
Version 2.1.1</h3>
|
2356 |
+
<p>
|
2357 |
+
New Features and Improvements:</p>
|
2358 |
+
<ul>
|
2359 |
+
<li>The new "<strong>Insert Page Break</strong>" command (for printing) has
|
2360 |
+
been introduced.* </li>
|
2361 |
+
<li>The editor package now has a root directory called "FCKeditor".</li>
|
2362 |
+
</ul>
|
2363 |
+
<p>
|
2364 |
+
Fixed Bugs:</p>
|
2365 |
+
<ul>
|
2366 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326285&group_id=75348&atid=543653">SF
|
2367 |
+
BUG-1326285</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1316430&group_id=75348&atid=543653">SF
|
2368 |
+
BUG-1316430</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1323662&group_id=75348&atid=543653">SF
|
2369 |
+
BUG-1323662</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1326223&group_id=75348&atid=543653">SF
|
2370 |
+
BUG-1326223</a>] We are doing a little step back with this version.
|
2371 |
+
The ENTER and BACKSPACE behavior changes for Firefox have been remove. It is a nice
|
2372 |
+
feature, but we need much more testing on it. It introduced some bugs and so
|
2373 |
+
its preferable to not have that feature, avoiding problems (even if that feature
|
2374 |
+
was intended to solve some issues). </li>
|
2375 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF
|
2376 |
+
BUG-1275714</a>] Comments in the beginning of the source are now preserved when
|
2377 |
+
using the "undo" and "redo" commands. </li>
|
2378 |
+
<li>The "undo" and "redo" commands now work for the Style command.
|
2379 |
+
</li>
|
2380 |
+
<li>An error in the execution of the pasting commands on Firefox has been fixed. </li>
|
2381 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1326184&group_id=75348">SF
|
2382 |
+
BUG-1326184</a>] No strange (invalid) entities are created when using Firefox. Also,
|
2383 |
+
the &nbsp; used by the FillEmptyBlocks setting is maintained even if you disable
|
2384 |
+
the ProcessHTMLEntities setting.</li>
|
2385 |
+
</ul>
|
2386 |
+
<p>
|
2387 |
+
* This version has been partially sponsored by <a target="_blank" href="http://www.acttive.com.br/">
|
2388 |
+
Acctive Software S.A.</a>.</p>
|
2389 |
+
<h3>
|
2390 |
+
Version 2.1</h3>
|
2391 |
+
<p>
|
2392 |
+
New Features and Improvements:</p>
|
2393 |
+
<ul>
|
2394 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1200328&group_id=75348&atid=543653">SF
|
2395 |
+
BUG-1200328</a>] The editor now offers a way to "protect" part of the
|
2396 |
+
source to remain untouched while editing or changing views. Just use the "FCKConfig.ProtectedSource"
|
2397 |
+
object to configure it and customize to your needs. It is based on regular expressions.
|
2398 |
+
See fckconfig.js for some samples. </li>
|
2399 |
+
<li>The editor now offers native support for <strong>Lasso</strong>. Thanks and welcome to
|
2400 |
+
our new developer Jason Huck. </li>
|
2401 |
+
<li>New language files are available:
|
2402 |
+
<ul>
|
2403 |
+
<li><strong>Faraose</strong> (by Símin Lassaberg and Helgi Arnthorsson)
|
2404 |
+
</li>
|
2405 |
+
<li><strong>Malay</strong> (by Fairul Izham Mohd Mokhlas) </li>
|
2406 |
+
<li><strong>Mongolian</strong> (by Lkamtseren Odonbaatar) </li>
|
2407 |
+
<li><strong>Vietnamese</strong> (by Phan Binh Giang)</li>
|
2408 |
+
</ul>
|
2409 |
+
</li>
|
2410 |
+
<li>A new configurable ColdFusion connector is available. Thanks to Mark Woods.
|
2411 |
+
Many enhancements has been introduced with it. </li>
|
2412 |
+
<li>The PHP connector for the default File Browser now sorts the folders and files names.
|
2413 |
+
</li>
|
2414 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1289372&group_id=75348&atid=543653">SF
|
2415 |
+
BUG-1289372</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1282758&group_id=75348&atid=543653">SF
|
2416 |
+
BUG-1282758</a>] In the PHP connector it is now possible to set the absolute
|
2417 |
+
(server) path to the User Files directory, avoiding problems with Virtual Directories,
|
2418 |
+
Symbolic Links or Aliases. Take a look at the config.php file. </li>
|
2419 |
+
<li>The ASP.Net uploader (for Quick Uploads) has been added to the package. </li>
|
2420 |
+
<li>A new way to define <strong>simple "combo" toolbar items</strong> , like
|
2421 |
+
Style and Font, has been introduced. Thanks to Steve Lineberry. See
|
2422 |
+
sample06.html and the "simplecommands" plugin to fully understand
|
2423 |
+
it. </li>
|
2424 |
+
<li>A new test case has been added that shows how to set the editor background dynamically
|
2425 |
+
without using a CSS. </li>
|
2426 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155906&group_id=75348&atid=543653">SF
|
2427 |
+
BUG-1155906</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1110116&group_id=75348&atid=543653">SF
|
2428 |
+
BUG-1110116</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1216332&group_id=75348&atid=543653">SF
|
2429 |
+
BUG-1216332</a>] The "AutoDetectPasteFromWord" configuration option
|
2430 |
+
is back (IE only feature). </li>
|
2431 |
+
<li>The new "OnAfterLinkedFieldUpdate" event has been introduced. If
|
2432 |
+
is fired when the editor updates its hidden associated field. </li>
|
2433 |
+
<li>Attention: The color of the right border of the toolbar (left on RTL interfaces)
|
2434 |
+
has been moved from code to the CSS (TB_SideBorder class). Update your custom skins.
|
2435 |
+
</li>
|
2436 |
+
<li>A sample "htaccess.txt" file has been added to the editor's package
|
2437 |
+
to show how to configure some Linux sites that could present problems on Firefox
|
2438 |
+
with "Illegal characters" errors. Respectively the ""
|
2439 |
+
chars. </li>
|
2440 |
+
<li>With the JavaScript, ASP and PHP integration files, you can set the QueryString
|
2441 |
+
value "fcksource=true" to load the editor using the source files (located
|
2442 |
+
in the _source directory) instead of the compressed ones. Thanks to Kae Verens for
|
2443 |
+
the suggestion. </li>
|
2444 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246623&group_id=75348&atid=543656">SF
|
2445 |
+
Feature-1246623</a>] The new configuration option "ForceStrongEm" has
|
2446 |
+
been introduced so you can force the editor to convert all <B> and <I>
|
2447 |
+
tags to <STRONG> and <EM> respectively. </li>
|
2448 |
+
<li>A nice contribution has been done by Goss Interactive Ltd:
|
2449 |
+
<ul>
|
2450 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1246949&group_id=75348&atid=543653">SF
|
2451 |
+
BUG-1246949</a>] Implemented ENTER key and BACKSPACE key handlers for Gecko so that
|
2452 |
+
P tags (or an appropriate block element) get inserted instead of BR tags when not
|
2453 |
+
in the UseBROnCarriageReturn config mode.
|
2454 |
+
<br />
|
2455 |
+
The ENTER key handling has been written to function much the same as the ENTER key
|
2456 |
+
handling on IE : as soon as the ENTER key is pressed, existing content will be wrapped
|
2457 |
+
with a suitable block element (P tag) as appropriate and a new block element (P
|
2458 |
+
tag) will be started.
|
2459 |
+
<br />
|
2460 |
+
The ENTER key handler also caters for pressing ENTER within empty list items - ENTER
|
2461 |
+
in an empty item at the top of a list will remove that list item and start a new
|
2462 |
+
P tag above the list; ENTER in an empty item at the bottom of a list will remove
|
2463 |
+
that list item and start a new P tag below the list; ENTER in an empty item in the
|
2464 |
+
middle of a list will remove that list item, split the list into two, and start
|
2465 |
+
a new P tag between the two lists. </li>
|
2466 |
+
<li>Any tables that are found to be incorrectly nested within a block element (P tag)
|
2467 |
+
will be moved out of the block element when loaded into the editor. This is required
|
2468 |
+
for the new ENTER/BACKSPACE key handlers and it also avoids non-compliant HTML.
|
2469 |
+
</li>
|
2470 |
+
<li>The InsertOrderedList and InsertUnorderedList commands have been overridden on Gecko
|
2471 |
+
to ensure that block elements (P tags) are placed around a list item's content when
|
2472 |
+
it is moved out of the list due to clicking on the editor's list toolbar buttons
|
2473 |
+
(when not in the UseBROnCarriageReturn config mode). </li>
|
2474 |
+
</ul>
|
2475 |
+
</li>
|
2476 |
+
</ul>
|
2477 |
+
<p>
|
2478 |
+
Fixed Bugs:</p>
|
2479 |
+
<ul>
|
2480 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF
|
2481 |
+
BUG-1253255</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1253255&group_id=75348&atid=543653">SF
|
2482 |
+
BUG-1265520</a>] Due to changes on version 2.0, the anchor list was not anymore
|
2483 |
+
visible in the link dialog window. It has been fixed. </li>
|
2484 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1242979&group_id=75348">SF
|
2485 |
+
BUG-1242979</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1251354&group_id=75348&atid=543653">SF
|
2486 |
+
BUG-1251354</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1256178&group_id=75348&atid=543653">SF
|
2487 |
+
BUG-1256178</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274841&group_id=75348&atid=543653">SF
|
2488 |
+
BUG-1274841</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1303949&group_id=75348&atid=543653">SF
|
2489 |
+
BUG-1303949</a>] Due to a bug on Firefox, some keys stopped working
|
2490 |
+
on startup over Firefox. It has been fixed. </li>
|
2491 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1251373&group_id=75348&atid=543653">SF
|
2492 |
+
BUG-1251373</a> ] The above fix also has corrected some strange behaviors on
|
2493 |
+
Firefox. </li>
|
2494 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1144258">SF
|
2495 |
+
BUG-1144258</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1092081">SF
|
2496 |
+
BUG-1092081</a>] The File Browsers now run on the same server session used
|
2497 |
+
in the page where the editor is placed in (IE issue). Thanks to Simone Chiaretta.
|
2498 |
+
</li>
|
2499 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1305619&group_id=75348&atid=543653">SF
|
2500 |
+
BUG-1305619</a> ] No more repeated login dialogs when running the editor with Windows
|
2501 |
+
Integrated Security with IIS. </li>
|
2502 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1245304&group_id=75348&atid=543655">SF
|
2503 |
+
Patch-1245304</a>] The Test Case 004 is now working correctly. It has been changed
|
2504 |
+
to set the editor hidden at startup. </li>
|
2505 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1290610&group_id=75348&atid=543653">SF
|
2506 |
+
BUG-1290610</a> ] Over HTTPS, there were some warnings when loading the Images,
|
2507 |
+
Flash and Link dialogs. Fixed. </li>
|
2508 |
+
<li>Due to Gecko bugs, two errors were thrown when loading the editor in a hidden div.
|
2509 |
+
Workarounds have been introduced. In any case, the testcase 004 hack is needed when
|
2510 |
+
showing the editor (as in a tabbed interface). </li>
|
2511 |
+
<li>An invalid path in the dialogs CSS file has been corrected. </li>
|
2512 |
+
<li>On IE, the Undo/Redo can now be controlled using the Ctrl+Z and Ctrl+Y shortcut
|
2513 |
+
keys. </li>
|
2514 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295538&group_id=75348&atid=543653">SF
|
2515 |
+
BUG-1295538</a> ] A few Undo/Redo fixes for IE have been done. </li>
|
2516 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1247070&group_id=75348&atid=543653">SF
|
2517 |
+
BUG-1247070</a>] On Gecko, it is now possible to use the shortcut keys for Bold
|
2518 |
+
(CTRL+B), Italic (CTRL+I) and Underline (CTRL+U), like in IE. </li>
|
2519 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1274303&group_id=75348&atid=543653">SF
|
2520 |
+
BUG-1274303</a>] The "Insert Column" command is now working correctly
|
2521 |
+
on TH cells. It also copies any attribute applied to the source cells. </li>
|
2522 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1287070&group_id=75348&atid=543655">SF
|
2523 |
+
Patch-1287070</a> ] In the Universal Keyboard, the Arabic keystrokes translator
|
2524 |
+
is now working with Firefox. Thanks again to Abdul-Aziz Al-Oraij. </li>
|
2525 |
+
<li>The editor now handles AJAX requests with HTTP status 304. </li>
|
2526 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157780&group_id=75348&atid=543653">SF
|
2527 |
+
BUG-1157780</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229077&group_id=75348&atid=543653">SF
|
2528 |
+
BUG-1229077</a>] Weird comments are now handled correctly (ignored on some cases).
|
2529 |
+
</li>
|
2530 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155774&group_id=75348&atid=543653">SF
|
2531 |
+
BUG-1155774</a>] A spelling error in the Bulleted List Properties dialog has been
|
2532 |
+
corrected. </li>
|
2533 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1272018&group_id=75348&atid=543653">SF
|
2534 |
+
BUG-1272018</a>] The ampersand character can now be added from the Special Chars
|
2535 |
+
dialog. </li>
|
2536 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1263161&group_id=75348&atid=543653">SF
|
2537 |
+
BUG-1263161</a>] A small fix has been applied to the sampleposteddata.php file.
|
2538 |
+
Thanks to Mike Wallace. </li>
|
2539 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1241504&group_id=75348&atid=543653">SF
|
2540 |
+
BUG-1241504</a>] The editor now looks also for the ID of the hidden linked field.
|
2541 |
+
</li>
|
2542 |
+
<li>The caption property on tables is now working on Gecko. Thanks to Helen Somers (Goss
|
2543 |
+
Interactive Ltd). </li>
|
2544 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1297431&group_id=75348&atid=543653">SF
|
2545 |
+
BUG-1297431</a>] With IE, the editor now works locally when its files are placed
|
2546 |
+
in a directory path that contains spaces. </li>
|
2547 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1279551&group_id=75348&atid=543653">SF
|
2548 |
+
BUG-1279551</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1242105&group_id=75348&atid=543653">SF
|
2549 |
+
BUG-1242105</a>] On IE, some features are dependant of ActiveX components (secure...
|
2550 |
+
distributed with IE itself). Some security setting could avoid the usage of
|
2551 |
+
those components and the editor would stop working. Now a message is shown, indicating
|
2552 |
+
the use the minimum necessary settings need by the editor to run. </li>
|
2553 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1298880&group_id=75348&atid=543653">SF
|
2554 |
+
BUG-1298880</a>] Firefox can't handle the STRONG and EM tags. Those tags are now
|
2555 |
+
converted to B and I so it works accordingly. </li>
|
2556 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1271723&group_id=75348&atid=543653">SF
|
2557 |
+
BUG-1271723</a>] On IE, it is now possible to select the text and work correctly
|
2558 |
+
in the contents of absolute positioned/dimensioned divs. </li>
|
2559 |
+
<li>On IE, there is no need to click twice in the editor to activate the cursor
|
2560 |
+
in the editing area. </li>
|
2561 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1221621&group_id=75348">SF
|
2562 |
+
BUG-1221621</a>] Many "warnings" in the Firefox console are not thrown
|
2563 |
+
anymore. </li>
|
2564 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1295526&group_id=75348&atid=543653">SF
|
2565 |
+
BUG-1295526</a>] While editing on "FullPage" mode the basehref is
|
2566 |
+
now active for CSS "link" tags. </li>
|
2567 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1222584&group_id=75348&atid=543655">SF
|
2568 |
+
Patch-1222584</a>] A small fix to the PHP connector has been applied. </li>
|
2569 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1281313&group_id=75348&atid=543655">SF
|
2570 |
+
Patch-1281313</a>] A few small changes to avoid problems with Plone. Thanks to Jean-mat.
|
2571 |
+
</li>
|
2572 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1275911&group_id=75348&atid=543653">SF
|
2573 |
+
BUG-1275911</a>] A check for double dots sequences on directory names on creation
|
2574 |
+
has been introduced to the PHP and ASP connectors.</li>
|
2575 |
+
</ul>
|
2576 |
+
<h3>
|
2577 |
+
Version 2.0</h3>
|
2578 |
+
<p>
|
2579 |
+
New Features and Improvements:</p>
|
2580 |
+
<ul>
|
2581 |
+
<li>The new "<strong>Flash</strong>" command is available. Now you can
|
2582 |
+
easily handle Flash content, over IE and Gecko, including server browser integration
|
2583 |
+
and context menu support. Due to limitations of the browsers, it is not possible
|
2584 |
+
to see the preview of the movie while editing, so a nice "placeholder"
|
2585 |
+
is used instead. * </li>
|
2586 |
+
<li>A "<strong>Quick Upload</strong> " option is now available in the
|
2587 |
+
link, image and flash dialog windows, so the user don't need to go (or have) the
|
2588 |
+
File Browser for this operations. The ASP and PHP uploader are included. Take
|
2589 |
+
a look at the configuration file.*** </li>
|
2590 |
+
<li>Added support for <strong>Active FoxPro Pages</strong> . Thanks to our new developer,
|
2591 |
+
Sönke Freitag. </li>
|
2592 |
+
<li>It is now possible to <strong>disable the size handles</strong> for images and tables
|
2593 |
+
(IE only feature). Take a look at the DisableImageHandles and DisableTableHandles
|
2594 |
+
configuration options. </li>
|
2595 |
+
<li>The handles on form fields (small squares around them) and the inline editing
|
2596 |
+
of its contents have been disabled. This makes it easier to users to use
|
2597 |
+
the controls. </li>
|
2598 |
+
<li>A much better support for Word pasting operations has been introduced. Now it uses
|
2599 |
+
a dialog box, in this way we have better results and more control.** </li>
|
2600 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1225372&group_id=75348&atid=543655">SF
|
2601 |
+
Patch-1225372</a>] A small change has been done to the PHP integration file. The
|
2602 |
+
generic __construct constructor has been added for better PHP 5 sub-classing compatibility
|
2603 |
+
(backward compatible). Thanks to Marcus Bointon.</li>
|
2604 |
+
</ul>
|
2605 |
+
<p>
|
2606 |
+
Fixed Bugs:</p>
|
2607 |
+
<ul>
|
2608 |
+
<li>ATTENTION: Some security changes have been made to the connectors. Now you must
|
2609 |
+
explicitly enable the connector you want to use. Please test your application before
|
2610 |
+
deploying this update. </li>
|
2611 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1211591">SF
|
2612 |
+
BUG-1211591</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1204273&group_id=75348&atid=543653">SF
|
2613 |
+
BUG-1204273</a>] The connectors have been changed so it is not possible to use
|
2614 |
+
".." on directory names. </li>
|
2615 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219734&group_id=75348&atid=543655">SF
|
2616 |
+
Patch-1219734</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219728&group_id=75348&atid=543653">SF
|
2617 |
+
BUG-1219728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1208654&group_id=75348&atid=543653">SF
|
2618 |
+
BUG-1208654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205442&group_id=75348&atid=543653">SF
|
2619 |
+
BUG-1205442</a>] There was an error in the page unload on some cases
|
2620 |
+
that has been fixed. </li>
|
2621 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1209708">SF
|
2622 |
+
BUG-1209708</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1214125">SF
|
2623 |
+
BUG-1214125</a>] The undo on IE is now working correctly when the user starts
|
2624 |
+
typing. </li>
|
2625 |
+
<li>The preview now loads "Full Page" editing correctly. It also uses the
|
2626 |
+
same XHTML code produced by the final output. </li>
|
2627 |
+
<li>The "Templates" dialog was not working on some very specific (and strange)
|
2628 |
+
occasions over IE. </li>
|
2629 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1199631&group_id=75348">SF
|
2630 |
+
BUG-1199631</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171944&group_id=75348&atid=543653">SF
|
2631 |
+
BUG-1171944</a>] A new option is available to avoid a bad IE behavior that shows
|
2632 |
+
the horizontal scrollbar even when not needed. You can now force the vertical scrollbar
|
2633 |
+
to be always visible. Just set the "IEForceVScroll" configuration option
|
2634 |
+
to "true". Thanks to Grant Bartlett. </li>
|
2635 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212026&group_id=75348&atid=543655">SF
|
2636 |
+
Patch-1212026</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1228860&group_id=75348&atid=543653">SF
|
2637 |
+
BUG-1228860</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1211775&group_id=75348&atid=543653">SF
|
2638 |
+
BUG-1211775</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1199824">SF
|
2639 |
+
BUG-1199824</a>] An error in the Packager has been corrected. </li>
|
2640 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1163669">SF
|
2641 |
+
BUG-1163669</a>] The XHTML processor now adds a space before the closing slash of
|
2642 |
+
tags that don't have a closing tag, like <br />. </li>
|
2643 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1213733&group_id=75348&atid=543653">SF
|
2644 |
+
BUG-1213733</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1216866&group_id=75348&atid=543653">SF
|
2645 |
+
BUG-1216866</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1209673&group_id=75348&atid=543653">SF
|
2646 |
+
BUG-1209673</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155454&group_id=75348&atid=543653">SF
|
2647 |
+
BUG-1155454</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1187936&group_id=75348&atid=543653">SF
|
2648 |
+
BUG-1187936</a> ] Now, on Gecko, the source is opened in a
|
2649 |
+
dialog window to avoid fatal errors (Gecko bugs). </li>
|
2650 |
+
<li>Some pages have been changed to avoid importing errors on Plone. Thanks to Arthur
|
2651 |
+
Kalmenson. </li>
|
2652 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1171606&group_id=75348&atid=543653">SF
|
2653 |
+
BUG-1171606</a>] There is a bug on IE that makes the editor to not work if
|
2654 |
+
the instance name matches a meta tag name. Fixed. </li>
|
2655 |
+
<li>On Firefox, the source code is now opened in a dialog box, to avoid error on pages
|
2656 |
+
with more than one editor. </li>
|
2657 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1225703&group_id=75348&atid=543655">SF
|
2658 |
+
Patch-1225703</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1214941&group_id=75348&atid=543653">SF
|
2659 |
+
BUG-1214941</a>] The "ForcePasteAsPlainText" configuration option
|
2660 |
+
is now working correctly on Gecko browsers. Thanks to Manuel Polo. </li>
|
2661 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228836&group_id=75348&atid=543653">SF
|
2662 |
+
BUG-1228836</a>] The "Show Table Borders" feature is now working on Gecko
|
2663 |
+
browsers. </li>
|
2664 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1212529&group_id=75348&atid=543655">SF
|
2665 |
+
Patch-1212529</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212517&group_id=75348&atid=543653">SF
|
2666 |
+
BUG-1212517</a>] The default File Browser now accepts connectors with querystring
|
2667 |
+
parameters (with "?"). Thanks to Tomas Jucius. </li>
|
2668 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1233318&group_id=75348&atid=543653">SF
|
2669 |
+
BUG-1233318</a>] A JavaScript error thrown when using the Print command has been
|
2670 |
+
fixed. </li>
|
2671 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229696&group_id=75348&atid=543653">SF
|
2672 |
+
BUG-1229696</a>] A regular expression has been escaped to avoid problems when opening
|
2673 |
+
the code in some editors. It has been moved to a dialog window. </li>
|
2674 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1231978&group_id=75348&atid=543653">SF
|
2675 |
+
BUG-1231978</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1228939&group_id=75348&atid=543653">SF
|
2676 |
+
BUG-1228939</a>] The Preview window is now using the Content Type and Base href.
|
2677 |
+
</li>
|
2678 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF
|
2679 |
+
BUG-1232056</a>] The anchor icon is now working correctly on IE. </li>
|
2680 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1232056&group_id=75348&atid=543653">SF
|
2681 |
+
BUG-1202468</a>] The anchor icon is now available on Gecko too. </li>
|
2682 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236279&group_id=75348&atid=543653">SF
|
2683 |
+
BUG-1236279</a>] A security warning has been corrected when using the File Browser
|
2684 |
+
over HTTPS. </li>
|
2685 |
+
<li>The ASP implementation now avoid errors when setting the editor value to null values.
|
2686 |
+
</li>
|
2687 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1237359&group_id=75348&atid=543653">SF
|
2688 |
+
BUG-1237359</a>] The trailing <BR> added by Gecko at the end of the source
|
2689 |
+
is now removed. </li>
|
2690 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1170828">SF
|
2691 |
+
BUG-1170828</a>] No more &nbsp; is added to the source when using the "New
|
2692 |
+
Page" button. </li>
|
2693 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1165264&group_id=75348&atid=543653">SF
|
2694 |
+
BUG-1165264</a>] A new configuration option has been included to force the
|
2695 |
+
editor to ignore empty paragraph values (<p>&nbsp;</p>), returning
|
2696 |
+
empty (""). </li>
|
2697 |
+
<li>No more &nbsp; is added when creating a table or adding columns, rows or cells.
|
2698 |
+
</li>
|
2699 |
+
<li>The <TD> tags are now included in the FillEmptyBlocks configuration handling.
|
2700 |
+
</li>
|
2701 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1224829&group_id=75348&atid=543653">SF
|
2702 |
+
BUG-1224829</a>] A small bug in the "Find" dialog has been fixed. </li>
|
2703 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1221307&group_id=75348&atid=543653">SF
|
2704 |
+
BUG-1221307</a>] A small bug in the "Image" dialog has been fixed. </li>
|
2705 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1219981&group_id=75348&atid=543653">SF
|
2706 |
+
BUG-1219981</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155726&group_id=75348&atid=543653">SF
|
2707 |
+
BUG-1155726</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1178473&group_id=75348&atid=543653">SF
|
2708 |
+
BUG-1178473</a>] It is handling the <FORM>, <TEXTAREA> and <SELECT>
|
2709 |
+
tags "name" attribute correctly. Thanks to thc33. </li>
|
2710 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205403&group_id=75348&atid=543653">SF
|
2711 |
+
BUG-1205403</a>] The checkbox and radio button values are now handled correctly
|
2712 |
+
in their dialog windows. Thanks to thc33. </li>
|
2713 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1236626&group_id=75348&atid=543653">SF
|
2714 |
+
BUG-1236626</a>] The toolbar now doesn't need to collapse when unloading the page
|
2715 |
+
(IE only). </li>
|
2716 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1212559&group_id=75348&atid=543653">SF
|
2717 |
+
BUG-1212559</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1017231&group_id=75348&atid=543653">SF
|
2718 |
+
BUG-1017231</a>] The "Save" button now calls the "onsubmit"
|
2719 |
+
event before posting the form. The submit can be cancelled if the onsubmit returns
|
2720 |
+
"false". </li>
|
2721 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1215823&group_id=75348&atid=543653">SF
|
2722 |
+
BUG-1215823</a>] The editor now works correctly on Firefox if it values is set to
|
2723 |
+
"<p></p>". </li>
|
2724 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1217546&group_id=75348&atid=543653">SF
|
2725 |
+
BUG-1217546</a>] No error is thrown when "pasting as plain text" and no
|
2726 |
+
text is available for pasting (as an image for example). </li>
|
2727 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1207031&group_id=75348&atid=543653">SF
|
2728 |
+
BUG-1207031</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1223978">SF
|
2729 |
+
BUG-1223978</a>] The context menu is now available in the source view. </li>
|
2730 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&atid=543653&func=detail&aid=1213871">SF
|
2731 |
+
BUG-1213871</a>] Undo has been added to table creation and table operation commands.
|
2732 |
+
</li>
|
2733 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1205211&group_id=75348&atid=543653">SF
|
2734 |
+
BUG-1205211</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1229941&group_id=75348&atid=543653">SF
|
2735 |
+
BUG-1229941</a>] Small bug in the mcpuk file browser have been corrected.</li>
|
2736 |
+
</ul>
|
2737 |
+
<p>
|
2738 |
+
* This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/">
|
2739 |
+
Infineon Technologies AG</a>.<br />
|
2740 |
+
** This version has been partially sponsored by <a href="http://www.visualsoft.co.uk">
|
2741 |
+
Visualsoft</a> <a href="http://www.visualsoft.co.uk/websolutions.html">Web Solutions</a>.<br />
|
2742 |
+
*** This version has been partially sponsored by <a target="_blank" href="http://www.webcrossing.com">
|
2743 |
+
Web Crossing, Inc</a>.</p>
|
2744 |
+
<h3>
|
2745 |
+
Version 2.0 FC (Final Candidate)</h3>
|
2746 |
+
<p>
|
2747 |
+
New Features and Improvements:</p>
|
2748 |
+
<ul>
|
2749 |
+
<li>A new tab called "<strong>Link</strong>" is available in the<strong> Image
|
2750 |
+
Dialog</strong> window. In this way you can insert or modify the image link directly
|
2751 |
+
from that dialog.* </li>
|
2752 |
+
<li>The new "<strong>Templates</strong>" command is now available. Now the
|
2753 |
+
user can select from a list of pre-build HTML and fill the editor with it. Take
|
2754 |
+
a look at the "_docs" for more info.** </li>
|
2755 |
+
<li>The <a target="_blank" href="http://mcpuk.net/fbxp/">mcpuk's</a> File Browser for
|
2756 |
+
PHP has been included in the package. He became the official developer of the File
|
2757 |
+
Manager for FCKeditor, so we can expect good news in the future. </li>
|
2758 |
+
<li>New configuration options are available to <strong>hide tabs</strong> from the <strong>
|
2759 |
+
Image</strong> Dialog and <strong>Link</strong> Dialog windows: LinkDlgHideTarget,
|
2760 |
+
LinkDlgHideAdvanced, ImageDlgHideLink and ImageDlgHideAdvanced. </li>
|
2761 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1189442&group_id=75348&atid=543653">SF
|
2762 |
+
BUG-1189442</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1187164&group_id=75348&atid=543653">SF
|
2763 |
+
BUG-1187164</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185905&group_id=75348&atid=543653">SF
|
2764 |
+
BUG-1185905</a>] It is now possible to configure the editor to <strong>not convert Greek</strong>
|
2765 |
+
or special <strong>Latin </strong>letters to ther specific HTML entities. You
|
2766 |
+
can also configure it to not convert any character at all. Take a look at the "ProcessHTMLEntities",
|
2767 |
+
"IncludeLatinEntities" and "IncludeGreekEntities" configuration
|
2768 |
+
options. </li>
|
2769 |
+
<li>New language files are available:
|
2770 |
+
<ul>
|
2771 |
+
<li><strong>Basque</strong> (by Ibon Igartua) </li>
|
2772 |
+
<li><strong>English (Australia / United Kingdom)</strong> (by Christopher Dawes) </li>
|
2773 |
+
<li><strong>Ukrainian</strong> (by Alexander Pervak)</li>
|
2774 |
+
</ul>
|
2775 |
+
</li>
|
2776 |
+
<li>The version and date information have been removed from the files headers to avoid
|
2777 |
+
unecessary diffs in source control systems when new versions are released (from
|
2778 |
+
now on). </li>
|
2779 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1159854&group_id=75348&atid=543655">SF
|
2780 |
+
Patch-1159854</a>] Ther HTML output rendered by the server side integration files
|
2781 |
+
are now XHTML compatible. </li>
|
2782 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181823&group_id=75348&atid=543653">SF
|
2783 |
+
BUG-1181823</a>] It is now possible to set the desired DOCTYPE to use when edit
|
2784 |
+
HTML fragments (not in Full Page mode). </li>
|
2785 |
+
<li>There is now an optional way to implement different "mouse over" effects
|
2786 |
+
to the buttons when they are "on" of "off".</li>
|
2787 |
+
</ul>
|
2788 |
+
<p>
|
2789 |
+
Fixed Bugs:</p>
|
2790 |
+
<ul>
|
2791 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162200&group_id=75348&atid=543653">SF
|
2792 |
+
BUG-1162200</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161633&group_id=75348&atid=543653">SF
|
2793 |
+
BUG-1161633</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050293&group_id=75348&atid=543653">SF
|
2794 |
+
BUG-1050293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1058948&group_id=75348&atid=543653">SF
|
2795 |
+
BUG-1058948</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1109120&group_id=75348&atid=543653">SF
|
2796 |
+
BUG-1109120</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155408&group_id=75348&atid=543653">SF
|
2797 |
+
BUG-1155408</a>] The IE memory leak bug has been solved. The
|
2798 |
+
code has been completely reviewed and many memory usage improvements have been done.
|
2799 |
+
</li>
|
2800 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1179645&group_id=75348&atid=543653">SF
|
2801 |
+
BUG-1179645</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1183252&group_id=75348&atid=543653">SF
|
2802 |
+
BUG-1183252</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF
|
2803 |
+
BUG-1181647</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155627&group_id=75348&atid=543653">SF
|
2804 |
+
BUG-1155627</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155782&group_id=75348&atid=543653">SF
|
2805 |
+
BUG-1155782</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155750&group_id=75348&atid=543653">SF
|
2806 |
+
BUG-1155750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157166&group_id=75348&atid=543653">SF
|
2807 |
+
BUG-1157166</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157857&group_id=75348&atid=543653">SF
|
2808 |
+
BUG-1157857</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158121&group_id=75348&atid=543653">SF
|
2809 |
+
BUG-1158121</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1177153&group_id=75348&atid=543653">SF
|
2810 |
+
BUG-1177153</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1175847&group_id=75348&atid=543653">SF
|
2811 |
+
BUG-1175847</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1155747&group_id=75348&atid=543653">SF
|
2812 |
+
BUG-1155747</a>] There was a loading
|
2813 |
+
problem in Gecko browsers in some cases. It has been solved. </li>
|
2814 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1161147&group_id=75348&atid=543653">SF
|
2815 |
+
BUG-1161147</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1157635&group_id=75348&atid=543653">SF
|
2816 |
+
BUG-1157635</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149805&group_id=75348&atid=543653">SF
|
2817 |
+
BUG-1149805</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124600&group_id=75348&atid=543653">SF
|
2818 |
+
BUG-1124600</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1117535&group_id=75348&atid=543653">SF
|
2819 |
+
BUG-1117535</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118145&group_id=75348&atid=543653">SF
|
2820 |
+
BUG-1118145</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098113&group_id=75348&atid=543653">SF
|
2821 |
+
BUG-1098113</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092272&group_id=75348&atid=543653">SF
|
2822 |
+
BUG-1092272</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086416&group_id=75348&atid=543653">SF
|
2823 |
+
BUG-1086416</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027952&group_id=75348&atid=543653">SF
|
2824 |
+
BUG-1027952</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=978441&group_id=75348&atid=543653">SF
|
2825 |
+
BUG-978441</a> ] A custom Undo/Redo system
|
2826 |
+
has been implemented for IE. </li>
|
2827 |
+
<li>The editor startup execution is now made in the right order (so configurations override
|
2828 |
+
works correctly). </li>
|
2829 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166779&group_id=75348&atid=543653">SF
|
2830 |
+
BUG-1166779</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1166651&group_id=75348&atid=543653">SF
|
2831 |
+
BUG-1166651</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066198&group_id=75348&atid=543653">SF
|
2832 |
+
BUG-1066198</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090388&group_id=75348&atid=543653">SF
|
2833 |
+
BUG-1090388</a> ] No more "illegible" characters in the
|
2834 |
+
toolbar when "ClearType" is active. </li>
|
2835 |
+
<li>It is now possible to set the "width" style of the BODY tag in the EditorAreaCSS
|
2836 |
+
to limit the editing area size. </li>
|
2837 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1113620&group_id=75348&atid=543653">SF
|
2838 |
+
BUG-1113620</a>] In IE, the editor doesn't generate new entries in the browser history
|
2839 |
+
anymore. </li>
|
2840 |
+
<li>The editor now uses the same method used on version RC2 to load its contents on
|
2841 |
+
Gecko. It is now possible to have more than one editor in the page. This change
|
2842 |
+
has a negative impact: the BaseHref property is not working. </li>
|
2843 |
+
<li>Changes have been made to make the editor work with PHP versions older than 2.1.0.
|
2844 |
+
</li>
|
2845 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1190835&group_id=75348&atid=543653">SF
|
2846 |
+
BUG-1190835</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1196547&group_id=75348">SF
|
2847 |
+
BUG-1196547</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156863&group_id=75348&atid=543653">SF
|
2848 |
+
BUG-1156863</a>] The "Insert Horizontal Line" command is now working
|
2849 |
+
correctly. Thanks to Hector Raul Colonia Coral. </li>
|
2850 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101861&group_id=75348&atid=543653">SF
|
2851 |
+
BUG-1101861</a>] The editor now shows a normal textarea correctly (as expected)
|
2852 |
+
on Safari browsers (and all "like Gecko" browsers). Thanks to Bob Paul.
|
2853 |
+
</li>
|
2854 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1182224&group_id=75348&atid=543653">SF
|
2855 |
+
BUG-1182224</a>] The PHP connector can now handle file extensions in upper case, like
|
2856 |
+
JPG or Gif, correctly. Thanks to Georg Ivancsic. </li>
|
2857 |
+
<li>The "sample06.html" is now working correctly with Gecko browsers. </li>
|
2858 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156660&group_id=75348&atid=543653">SF
|
2859 |
+
BUG-1156660</a>] Some fixes have been applied to the Universal Keyboard. Thanks
|
2860 |
+
to Abdul-Aziz Al-Oraij. </li>
|
2861 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1192881&group_id=75348&atid=543653">SF
|
2862 |
+
BUG-1192881</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185006&group_id=75348&atid=543653">SF
|
2863 |
+
BUG-1185006</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1156068&group_id=75348&atid=543653">SF
|
2864 |
+
BUG-1156068</a>] The "Browse Server" button is now working correctly
|
2865 |
+
for the Background Image in the "Document Properties" dialog window (full
|
2866 |
+
page editing). The active "BaseHref" is also set to the preview window.
|
2867 |
+
</li>
|
2868 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1191704&group_id=75348&atid=543653">SF
|
2869 |
+
BUG-1191704</a>] Invalid HTML tags (according to the W3C naming standards for XHTML)
|
2870 |
+
are ignored with no errors. </li>
|
2871 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1185911&group_id=75348&atid=543653">SF
|
2872 |
+
BUG-1185911</a>] The Greek language file name has been corrected to "el.js".
|
2873 |
+
</li>
|
2874 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF
|
2875 |
+
BUG-1181572</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1158421&group_id=75348&atid=543653">SF
|
2876 |
+
BUG-1158421</a>] The "Print" button is now active on startup. </li>
|
2877 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1181572&group_id=75348&atid=543653">SF
|
2878 |
+
BUG-1165219</a>] No error occours when the user defines just one color to the FontColors
|
2879 |
+
on "in page" configurations. </li>
|
2880 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1162957&group_id=75348&atid=543653">SF
|
2881 |
+
BUG-1162957</a>] The small problem with Zope (ZPT) has been solved. </li>
|
2882 |
+
<li>Some small RTL / LTR corrections has been done in the interface and the Farsi language
|
2883 |
+
has been added to the Universal Keyboard. Thanks to Silver Baghdasarian.</li>
|
2884 |
+
</ul>
|
2885 |
+
<p>
|
2886 |
+
* This version has been partially sponsored by the <a href="http://www.hamilton.edu">
|
2887 |
+
Hamilton College</a>.<br />
|
2888 |
+
** This version has been partially sponsored by <a target="_blank" href="http://www.infineon.com/">
|
2889 |
+
Infineon Technologies AG</a>.</p>
|
2890 |
+
<h3>
|
2891 |
+
Version 2.0 RC3 (Release Candidate 3)</h3>
|
2892 |
+
<p>
|
2893 |
+
New Features and Improvements:</p>
|
2894 |
+
<ul>
|
2895 |
+
<li>The editor now offers native <strong>Perl integration</strong>! Thanks and welcome
|
2896 |
+
to Takashi Yamaguchi, our official Perl developer. </li>
|
2897 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026584&group_id=75348&atid=543656">SF
|
2898 |
+
Feature-1026584</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1112692&group_id=75348&atid=543656">SF
|
2899 |
+
Feature-1112692</a>] <strong>Formatting </strong>has been introduced to the
|
2900 |
+
<strong>Source View</strong>. The output HTML can also be formatted. You can choose
|
2901 |
+
to use spaces or tab for indentation. See the configuration file. </li>
|
2902 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1031492&group_id=75348&atid=543656">SF
|
2903 |
+
Feature-1031492</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004293&group_id=75348&atid=543656">SF
|
2904 |
+
Feature-1004293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=784281&group_id=75348&atid=543656">SF
|
2905 |
+
Feature-784281</a>] It is now possible to edit <strong>full HTML pages</strong>
|
2906 |
+
with the editor. Use the "FullPage" configuration setting to activate
|
2907 |
+
it. </li>
|
2908 |
+
<li>The new toolbar command, "<strong>Document Properties</strong>" is
|
2909 |
+
available to edit document header info, title, colors, background, etc... Full page
|
2910 |
+
editing must be enabled. </li>
|
2911 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151448&group_id=75348&atid=543656">SF
|
2912 |
+
Feature-1151448</a>] <strong>Spell Check</strong> is now available. You can use
|
2913 |
+
<strong>ieSpell</strong> or <strong>Speller Pages</strong> right from FCKeditor.
|
2914 |
+
More info about configuration can be found in the _docs folder. </li>
|
2915 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041686&group_id=75348&atid=543656">SF
|
2916 |
+
Feature-1041686</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086386&group_id=75348&atid=543656">SF
|
2917 |
+
Feature-1086386</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124602&group_id=75348&atid=543656">SF
|
2918 |
+
Feature-1124602</a>] New "<strong>Insert Anchor</strong>" command
|
2919 |
+
has been introduced. (The anchor icon is visible only over IE for now). </li>
|
2920 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1123816&group_id=75348&atid=543656">SF
|
2921 |
+
Feature-1123816</a>] It is now possible to configure the editor to <strong>show "fake"
|
2922 |
+
table borders</strong> when the border size is set to zero. (It is working only
|
2923 |
+
on IE for now). </li>
|
2924 |
+
<li><strong>Numbered</strong> and <strong>Bulleted</strong> lists can now be <strong>
|
2925 |
+
configured</strong> . Just right click on then. </li>
|
2926 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088608&group_id=75348&atid=543656">SF
|
2927 |
+
Feature-1088608</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1144047&group_id=75348&atid=543656">SF
|
2928 |
+
Feature-1144047</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149808&group_id=75348&atid=543656">SF
|
2929 |
+
Feature-1149808</a>] A new configuration setting is available, "<strong>BaseHref</strong>
|
2930 |
+
", to set the URL used to resolve relative links. </li>
|
2931 |
+
<li>It is now possible to set the <strong>content language direction</strong> .
|
2932 |
+
See the "FCKConfig.ContentLangDirection" configurations setting. </li>
|
2933 |
+
<li>All <strong>Field Commands</strong> available on version 1.6 have been upgraded
|
2934 |
+
and included in this version: <strong>form</strong>, <strong>checkbox</strong>,
|
2935 |
+
<strong>radio button</strong>, <strong>text field</strong>, text <strong>area</strong>,
|
2936 |
+
<strong>select field</strong>, <strong>button</strong>, <strong>image button</strong>
|
2937 |
+
and <strong>hidden field</strong> . </li>
|
2938 |
+
<li><strong>Context menu</strong> options (right-click) has been added for: <strong>
|
2939 |
+
anchors</strong>, <strong>select field</strong>, <strong>textarea</strong>, <strong>
|
2940 |
+
checkbox</strong>, <strong>radio button</strong>, <strong>text field</strong>,
|
2941 |
+
<strong>hidden field</strong>, <strong>textarea</strong>, <strong>button</strong>,
|
2942 |
+
<strong>image button</strong>, <strong>form</strong>, <strong>bulleted list</strong>
|
2943 |
+
and <strong>numbered list</strong> . </li>
|
2944 |
+
<li>The "<strong>Universal Keyboard</strong>" has been converted from version
|
2945 |
+
1.6 to this one and it's now available. </li>
|
2946 |
+
<li>It is now possible to <strong>configure</strong> the items to be shown in the <strong>
|
2947 |
+
context menu</strong> . Just use the FCKConfig.ContextMenu option at fckconfig.js.
|
2948 |
+
</li>
|
2949 |
+
<li>A new configuration (FillEmptyBlocks) is available to force the editor to <strong>
|
2950 |
+
automatically insert a &nbsp;</strong> on empty block elements (p, div, pre,
|
2951 |
+
h1, etc...) to avoid differences from the editing and the final result. (Actually,
|
2952 |
+
the editor automatically "grows" empty elements to make the user able
|
2953 |
+
to enter text on it). Attention: the extra &nbsp; will be added when switching
|
2954 |
+
from WYSIWYG to Source View, so the user may see an additional space on empty blocks.
|
2955 |
+
(XHTML support must be enabled). </li>
|
2956 |
+
<li>It is now possible to configure the <strong>toolbar</strong> to "<strong>break</strong>
|
2957 |
+
" between two toolbar strips. Just insert a "/" between then. Take
|
2958 |
+
a look at fckconfig.js for a sample. </li>
|
2959 |
+
<li>New Language files are available:
|
2960 |
+
<ul>
|
2961 |
+
<li><strong>Brazilian Portuguese</strong> (by Carlos Alberto Tomatis Loth) </li>
|
2962 |
+
<li><strong>Bulgarian</strong> (by Miroslav Ivanov) </li>
|
2963 |
+
<li><strong>Esperanto</strong> (by Tim Morley) </li>
|
2964 |
+
<li><strong>Galician</strong> (by Fernando Riveiro Lopez) </li>
|
2965 |
+
<li><strong>Japanese</strong> ( by Takashi Yamaguchi) </li>
|
2966 |
+
<li><strong>Persian</strong> (by Hamed Taj-Abadi) </li>
|
2967 |
+
<li><strong>Romanian</strong> (by Adrian Nicoara) </li>
|
2968 |
+
<li><strong>Slovak</strong> (by Gabriel Kiss) </li>
|
2969 |
+
<li><strong>Thai </strong>(by Audy Charin Arsakit) </li>
|
2970 |
+
<li><strong>Turkish</strong> (by Reha Biçer) </li>
|
2971 |
+
<li>The Chinese Traditional has been set as the default (zn) instead of zn-tw.</li>
|
2972 |
+
</ul>
|
2973 |
+
</li>
|
2974 |
+
<li>Warning: All toolbar image images have been changed. The "button." prefix
|
2975 |
+
has been removed. If you have your custom skin, please rename your files. </li>
|
2976 |
+
<li>A new plugin is available in the package: "<strong>Placeholders</strong>".
|
2977 |
+
In this way you can insert non editable tags in your document to be processed on
|
2978 |
+
server side (very specific usage). </li>
|
2979 |
+
<li>The ASPX files are no longer available in this package. They have been moved to
|
2980 |
+
the FCKeditor.Net package. In this way the ASP.Net integration is much better organized.
|
2981 |
+
</li>
|
2982 |
+
<li>The FCKeditor.Packager program is now part of the main package. It is not anymore distributed
|
2983 |
+
separately. </li>
|
2984 |
+
<li>The PHP connector now sets the uploaded file permissions (chmod) to 0777. </li>
|
2985 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090215&group_id=75348&atid=543655">SF
|
2986 |
+
Patch-1090215</a>] It's now possible to give back more info from your custom image
|
2987 |
+
browser calling the SetUrl( url [, width] [, height] [, alt] ). Thanks to Ben Noblet.
|
2988 |
+
</li>
|
2989 |
+
<li>The package files now maintain their original "Last Modified" date, so
|
2990 |
+
incremental FTP uploads can be used to update to new versions of the editor
|
2991 |
+
(from now on). </li>
|
2992 |
+
<li>The "Source" view now forces its contents to be written in "Left
|
2993 |
+
to Right" direction even when the editor interface language is running a RTL
|
2994 |
+
language (like Arabic, Hebrew or Persian). </li>
|
2995 |
+
</ul>
|
2996 |
+
<p>
|
2997 |
+
Fixed Bugs:</p>
|
2998 |
+
<ul>
|
2999 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1124220&group_id=75348&atid=543653">SF
|
3000 |
+
BUG-1124220</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1119894&group_id=75348&atid=543653">SF
|
3001 |
+
BUG-1119894</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090986&group_id=75348&atid=543653">SF
|
3002 |
+
BUG-1090986</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100408&group_id=75348&atid=543653">SF
|
3003 |
+
BUG-1100408</a>] The editor now works correctly when starting with an
|
3004 |
+
empty value and switching to the Source mode. </li>
|
3005 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1119380&group_id=75348&atid=543653">SF
|
3006 |
+
BUG-1119380</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1115750&group_id=75348&atid=543653">SF
|
3007 |
+
BUG-1115750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1101808&group_id=75348&atid=543653">SF
|
3008 |
+
BUG-1101808</a>] The problem with the scrollbar and the toolbar combos (Style,
|
3009 |
+
Font, etc...) over Mac has been fixed. </li>
|
3010 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098460&group_id=75348&atid=543653">SF
|
3011 |
+
BUG-1098460</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076544&group_id=75348&atid=543653">SF
|
3012 |
+
BUG-1076544</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077845&group_id=75348&atid=543653">SF
|
3013 |
+
BUG-1077845</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092395&group_id=75348&atid=543653">SF
|
3014 |
+
BUG-1092395</a>] A new upload class has been included for the ASP File
|
3015 |
+
Manager Connector. It uses the "ADODB.Stream" object. Many thanks to "NetRube".
|
3016 |
+
</li>
|
3017 |
+
<li>I small correction has been made to the ColdFusion integration files. Thanks to
|
3018 |
+
Hendrik Kramer. </li>
|
3019 |
+
<li>There was a very specific problem when the editor was running over a FRAME executed
|
3020 |
+
on another domain. </li>
|
3021 |
+
<li>The performance problem on Gecko while typing quickly has been solved. </li>
|
3022 |
+
<li>The <br type= "_moz">is not anymore shown on XHTML source. </li>
|
3023 |
+
<li>It has been introduced a mechanism to avoid automatic contents duplication on very
|
3024 |
+
specific occasions (bad formatted HTML). </li>
|
3025 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146407&group_id=75348&atid=543653">SF
|
3026 |
+
BUG-1146407</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1145800&group_id=75348&atid=543653">SF
|
3027 |
+
BUG-1145800</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1118803&group_id=75348&atid=543653">SF
|
3028 |
+
BUG-1118803</a> ] Other issues in the XHTML processor have been solved.
|
3029 |
+
</li>
|
3030 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1143969&group_id=75348&atid=543653">SF
|
3031 |
+
BUG-1143969</a>] The editor now accepts the "accept-charset" attribute
|
3032 |
+
in the FORM tag (IE specific bug). </li>
|
3033 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1122742&group_id=75348&atid=543653">SF
|
3034 |
+
BUG-1122742</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089548&group_id=75348&atid=543653">SF
|
3035 |
+
BUG-1089548</a> ] Now, the contents of the SCRIPT and STYLE tags remain untouched.
|
3036 |
+
</li>
|
3037 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1114748&group_id=75348&atid=543653">SF
|
3038 |
+
BUG-1114748</a>] The PHP File Manager Connector now sets the new folders permissions
|
3039 |
+
(chmod) to 0777 correctly. </li>
|
3040 |
+
<li>The PHP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/php/config.php)
|
3041 |
+
to set some security preferences. </li>
|
3042 |
+
<li>The ASP File Manager Connector now has a configuration file (editor/filemanager/browser/default/connectors/asp/config.asp)
|
3043 |
+
to set some security preferences. </li>
|
3044 |
+
<li>A small bug in the toolbar rendering (strips auto position) has been corrected.
|
3045 |
+
</li>
|
3046 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093732&group_id=75348&atid=543653">SF
|
3047 |
+
BUG-1093732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1091377&group_id=75348&atid=543653">SF
|
3048 |
+
BUG-1091377</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083044&group_id=75348&atid=543653">SF
|
3049 |
+
BUG-1083044</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1096307&group_id=75348&atid=543653">SF
|
3050 |
+
BUG-1096307</a>] The configurations are now encoded so a user can use
|
3051 |
+
values that has special chars (&=/). </li>
|
3052 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1103688&group_id=75348&atid=543653">SF
|
3053 |
+
BUG-1103688</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1092331&group_id=75348&atid=543653">SF
|
3054 |
+
BUG-1092331</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088220&group_id=75348&atid=543653">SF
|
3055 |
+
BUG-1088220</a>] PHP samples now use PHP_SELF to automatically discover
|
3056 |
+
the editor's base path. </li>
|
3057 |
+
<li>Some small wrapping problems with some labels in the Image and Table dialog windows
|
3058 |
+
have been fixed. </li>
|
3059 |
+
<li>All .js files are now encoded in UTF-8 format with the BOM (byte order mask) to
|
3060 |
+
avoid some errors on specific Linux installations. </li>
|
3061 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114449&group_id=75348&atid=543653">SF
|
3062 |
+
BUG-1114449</a>] The editor packager program has been modified so now it is possible
|
3063 |
+
to use the source files to run the editor as described in the documentation. The
|
3064 |
+
new packager must be downloaded. </li>
|
3065 |
+
<li>A small problem with the editor focus while in source mode has been corrected.
|
3066 |
+
Thanks to Eric (ric1607). </li>
|
3067 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1108167&group_id=75348&atid=543653">SF
|
3068 |
+
BUG-1108167</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085149&group_id=75348&atid=543653">SF
|
3069 |
+
BUG-1085149</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1151296&group_id=75348&atid=543653">SF
|
3070 |
+
BUG-1151296</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082433&group_id=75348&atid=543653">SF
|
3071 |
+
BUG-1082433</a>] No more IFRAMEs without src attribute. Now it points
|
3072 |
+
to a blank page located in the editor's package. In this way we avoid security warnings
|
3073 |
+
when using the editor over HTTPS. Thanks to Guillermo Bozovich. </li>
|
3074 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1117779&group_id=75348&atid=543653">SF
|
3075 |
+
BUG-1117779</a>] The editor now works well if you have more than one element named
|
3076 |
+
"submit" on its form (even if it is not correct to have this situation).
|
3077 |
+
</li>
|
3078 |
+
<li>The XHTML processor was duplicating the text on some specific situation. It has
|
3079 |
+
been fixed. </li>
|
3080 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090213&group_id=75348&atid=543655">SF
|
3081 |
+
Patch-1090213</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1098929&group_id=75348&atid=543653">SF
|
3082 |
+
Patch-1098929</a>] With ASP, the editor now works correctly on pages using "Option
|
3083 |
+
Explicit". Thanks to Ben Noblet. </li>
|
3084 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1100759&group_id=75348&atid=543653">SF
|
3085 |
+
BUG-1100759</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029125&group_id=75348&atid=543653">SF
|
3086 |
+
BUG-1029125</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=966130&group_id=75348&atid=543653">SF
|
3087 |
+
BUG-966130</a>] The editor was not working with old IE 5.5 browsers. There
|
3088 |
+
was a problem with the XML parser. It has been fixed. </li>
|
3089 |
+
<li>The localization engine is now working correctly over IE 5.5 browsers. </li>
|
3090 |
+
<li>Some commands where not working well over IE 5.5 (emoticons, image,...). It has
|
3091 |
+
been fixed. </li>
|
3092 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1146441&group_id=75348&atid=543653">SF
|
3093 |
+
BUG-1146441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1149777&group_id=75348&atid=543653">SF
|
3094 |
+
BUG-1149777</a>] The editor now uses the TEXTAREA id in the ReplaceTextarea
|
3095 |
+
function. If the id is now found, it uses the "name". The docs have been
|
3096 |
+
updated. </li>
|
3097 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1144297&group_id=75348&atid=543653">SF
|
3098 |
+
BUG-1144297</a>] Some corrections have been made to the Dutch language file. Thanks
|
3099 |
+
to Erwin Dondorp. </li>
|
3100 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1121365&group_id=75348&atid=543653">SF
|
3101 |
+
BUG-1121365</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1090102&group_id=75348&atid=543653">SF
|
3102 |
+
BUG-1090102</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152171&group_id=75348&atid=543653">SF
|
3103 |
+
BUG-1152171</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102907&group_id=75348&atid=543653">SF
|
3104 |
+
BUG-1102907</a>] There is no problem now to start the editor with values
|
3105 |
+
like "<div></div>" or "<p></p>". </li>
|
3106 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=1114059&group_id=75348&atid=543653">SF
|
3107 |
+
BUG-1114059</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1041861&group_id=75348&atid=543653">SF
|
3108 |
+
BUG-1041861</a>] The click on the disabled options in the Context Menu has no
|
3109 |
+
effects now. </li>
|
3110 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1152617&group_id=75348&atid=543653">SF
|
3111 |
+
BUG-1152617</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1102441&group_id=75348&atid=543653">SF
|
3112 |
+
BUG-1102441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1095312&group_id=75348&atid=543653">SF
|
3113 |
+
BUG-1095312</a>] Some problems when setting the editor source to very specific
|
3114 |
+
values has been fixed. </li>
|
3115 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1093514&group_id=75348&atid=543653">SF
|
3116 |
+
BUG-1093514</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1089204&group_id=75348&atid=543653">SF
|
3117 |
+
BUG-1089204</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077609&group_id=75348&atid=543653">SF
|
3118 |
+
BUG-1077609</a>] The editor now runs correctly if called directly (locally) without
|
3119 |
+
a server installation (just opening the HTML sample files). </li>
|
3120 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088248&group_id=75348&atid=543653">SF
|
3121 |
+
BUG-1088248</a>] The editor now uses a different method to load its contents. In
|
3122 |
+
this way the URLs remain untouched. </li>
|
3123 |
+
<li>The PHP integration file now detects Internet Explorer 5.5 correctly.</li>
|
3124 |
+
</ul>
|
3125 |
+
<h3>
|
3126 |
+
Version 2.0 RC2 (Release Candidate 2)</h3>
|
3127 |
+
<ul>
|
3128 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF
|
3129 |
+
Feature-1042034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075961&group_id=75348&atid=543656">SF
|
3130 |
+
Feature-1075961</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083200&group_id=75348&atid=543656">SF
|
3131 |
+
Feature-1083200</a>] A new dialog window for the <strong>table cell properties</strong>
|
3132 |
+
is now available (right-click). </li>
|
3133 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF
|
3134 |
+
Feature-1042034</a>] The new "<strong>Split Cell</strong> ", to split
|
3135 |
+
a table cell in two columns, has been introduced (right-click). </li>
|
3136 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1042034&group_id=75348&atid=543656">SF
|
3137 |
+
Feature-1042034</a>] The new "<strong>Merge Cells</strong>", to merge
|
3138 |
+
table cells (in the same row), has been introduced (right-click). </li>
|
3139 |
+
<li>The "fake" <strong>TAB key support</strong> (available by default over
|
3140 |
+
Gecko browsers is now available over IE too. You can set the number of spaces to
|
3141 |
+
add setting the FCKConfig.TabSpaces configuration setting. Set it to 0 (zero) to
|
3142 |
+
disable this feature (IE). </li>
|
3143 |
+
<li>It now possible to tell IE to send a <strong><BR></strong> when the user presses
|
3144 |
+
the <strong>Enter key</strong>. Take a look at the FCKConfig.UseBROnCarriageReturn
|
3145 |
+
configuration setting. </li>
|
3146 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085422&group_id=75348&atid=543656">SF
|
3147 |
+
Feature-1085422</a>] <strong>ColdFusion</strong>: The <strong>File Manager connector</strong>
|
3148 |
+
is now available! (Thanks to Hendrik Kramer). </li>
|
3149 |
+
<li>The editor is now available in <strong>29 languages!</strong> The new language files
|
3150 |
+
available are:
|
3151 |
+
<ul>
|
3152 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1067775&group_id=75348&atid=543656">SF
|
3153 |
+
Feature-1067775</a>] <strong>Chinese Simplified and Traditional</strong> (Taiwan
|
3154 |
+
and Hong Kong) (by NetRube). </li>
|
3155 |
+
<li><strong>Czech</strong> (by David Horák). </li>
|
3156 |
+
<li><strong>Danish</strong> (by Jesper Michelsen). </li>
|
3157 |
+
<li><strong>Dutch</strong> (by Bram Crins). </li>
|
3158 |
+
<li><strong>German</strong> (by Maik Unruh). </li>
|
3159 |
+
<li><strong>Portuguese</strong> (Portugal) (by Francisco Pereira). </li>
|
3160 |
+
<li><strong>Russian</strong> (by Andrey Grebnev). </li>
|
3161 |
+
<li><strong>Slovenian</strong> (by Boris Volaric).</li>
|
3162 |
+
</ul>
|
3163 |
+
</li>
|
3164 |
+
<li>Updates to the <strong>French</strong> language files (by Hubert Garrido). </li>
|
3165 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085816&group_id=75348&atid=543653">SF
|
3166 |
+
BUG-1085816</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083743&group_id=75348&atid=543653">SF
|
3167 |
+
BUG-1083743</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078783&group_id=75348&atid=543653">SF
|
3168 |
+
BUG-1078783</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF
|
3169 |
+
BUG-1077861</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077861&group_id=75348&atid=543653">SF
|
3170 |
+
BUG-1037404</a>] Many small bugs in the XHTML processor
|
3171 |
+
has been corrected (workarounds to browser specific bugs). These are some things
|
3172 |
+
to consider regarding the changes:
|
3173 |
+
<ul>
|
3174 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1083744&group_id=75348&atid=543653">SF
|
3175 |
+
BUG-1083744</a>] On Gecko browsers, any element attribute that the name starts with
|
3176 |
+
"_moz" will be ignored. </li>
|
3177 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1060073&group_id=75348&atid=543653">SF
|
3178 |
+
BUG-1060073</a>] The <STYLE> and <SCRIPT> elements contents will be
|
3179 |
+
handled as is, without CDATA tag surrounding. This may break XHTML validation. In
|
3180 |
+
any case the use of external files for scripts and styles is recommended (W3C recommendation).</li>
|
3181 |
+
</ul>
|
3182 |
+
</li>
|
3183 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1088310&group_id=75348&atid=543653">SF
|
3184 |
+
BUG-1088310</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1078837&group_id=75348&atid=543653">SF
|
3185 |
+
BUG-1078837</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF
|
3186 |
+
BUG-999792</a>] URLs now remain untouched when initializing the editor or
|
3187 |
+
switching from WYSYWYG to Source and vice versa. </li>
|
3188 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082323&group_id=75348&atid=543653">SF
|
3189 |
+
BUG-1082323</a>] The problem in the ASP and PHP connectors when handling non
|
3190 |
+
"strange" chars in file names has been corrected. </li>
|
3191 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1085034&group_id=75348&atid=543653">SF
|
3192 |
+
BUG-1085034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1076796&group_id=75348&atid=543653">SF
|
3193 |
+
BUG-1076796</a>] Some bugs in the PHP connector have been corrected. </li>
|
3194 |
+
<li>A problem with the "Format" command on IE browsers on languages different
|
3195 |
+
of English has been solved. The negative side of this correction is that due to
|
3196 |
+
a IE bad design it is not possible to update the "Format" combo while
|
3197 |
+
moving throw the text (context sensitive). </li>
|
3198 |
+
<li>On Gecko browsers, when selecting an image and executing the "New Page"
|
3199 |
+
command, the image handles still appear, even if the image is not available anymore
|
3200 |
+
(this is a Gecko bug). When clicking in a "phanton" randle, the browser
|
3201 |
+
crashes. It doesn't happen (the crash) anymore. </li>
|
3202 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1082197&group_id=75348&atid=543653">SF
|
3203 |
+
BUG-1082197</a>] On ASP, the bug in the browser detection system for Gecko browsers
|
3204 |
+
has been corrected. Thanks to Alex Varga. </li>
|
3205 |
+
<li>Again on ASP, the browser detection for IE had some problems on servers that use
|
3206 |
+
comma for decimal separators on numbers. It has been corrected. Thanks to Agrotic.
|
3207 |
+
</li>
|
3208 |
+
<li>No error is thrown now when non existing language is configured in the
|
3209 |
+
editor. The English language file is loaded in that case. </li>
|
3210 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1077747&group_id=75348&atid=543653">SF
|
3211 |
+
BUG-1077747</a>] The missing images on the Office2003 and Silver skins are now included
|
3212 |
+
in the package. </li>
|
3213 |
+
<li>On some Gecko browsers, the dialog window was not loading correctly. I couldn't
|
3214 |
+
reproduce the problem, but a fix has been applied based on users tests. </li>
|
3215 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1004078&group_id=75348&atid=543653">SF
|
3216 |
+
BUG-1004078</a>] ColdFusion: The "config" structure/hash table with keys
|
3217 |
+
and values is in ColdFusion not(!) case sensitive. All keys returned by ColdFusion
|
3218 |
+
are in upper case format. Because the FCKeditor configuration keys must be case
|
3219 |
+
sensitive, we had to match all structure/hash keys with a list of the correct configuration
|
3220 |
+
names in mixed case. This has been added to the fckeditor.cfc and fckeditor.cfm.
|
3221 |
+
</li>
|
3222 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1075166&group_id=75348&atid=543653">SF
|
3223 |
+
BUG-1075166</a>] ColdFusion: The "fallback" variant of the texteditor
|
3224 |
+
(<textarea>) has a bug in the fckeditor.cfm. This has been fixed. </li>
|
3225 |
+
<li>A typo in the Polish language file has been corrected. Thanks to Pawel Tomicki.
|
3226 |
+
</li>
|
3227 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1086370&group_id=75348&atid=543653">SF
|
3228 |
+
BUG-1086370</a>] A small coding type in the Link dialog window has been corrected.
|
3229 |
+
</li>
|
3230 |
+
</ul>
|
3231 |
+
<h3>
|
3232 |
+
Version 2.0 RC1 (Release Candidate 1)</h3>
|
3233 |
+
<ul>
|
3234 |
+
<li><strong>ASP</strong> support is now available (including the File Manager connector).
|
3235 |
+
</li>
|
3236 |
+
<li><strong>PHP</strong> support is now available (including the File Manager connector).
|
3237 |
+
</li>
|
3238 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1063217&group_id=75348&atid=543656">SF
|
3239 |
+
Feature-1063217</a>] The new advanced <strong>Style</strong> command is available
|
3240 |
+
in the toolbar: full preview, context sensitive, style definitions are loaded from
|
3241 |
+
a XML file (see documentation for more instructions). </li>
|
3242 |
+
<li>The <strong>Font Format</strong>, <strong>Font Name</strong> and <strong>Font Size</strong>
|
3243 |
+
toolbar command now show a <strong>preview</strong> of the available options. </li>
|
3244 |
+
<li>The new <strong>Find</strong> and <strong>Replace</strong> features has been introduced.
|
3245 |
+
</li>
|
3246 |
+
<li>A new <strong>Plug-in</strong> system has been developed. Now it is quite easy to
|
3247 |
+
customize the editor to your needs. (Take a look at the html/sample06.html file).
|
3248 |
+
</li>
|
3249 |
+
<li>The editor now handles <strong>HTML entities</strong> in the right way (XHTML support
|
3250 |
+
must be set to "true"). It handles all entities defined in the W3C XHTML
|
3251 |
+
DTD file. </li>
|
3252 |
+
<li>A new "_docs" folder has been introduced for the <strong>documentation</strong>.
|
3253 |
+
It is not yet complete, but I hope the community will help us to fill it better.
|
3254 |
+
</li>
|
3255 |
+
<li>It is now possible (even if it is not recommended by the W3C) to force the use of
|
3256 |
+
simple ampersands (&) on attributes (like the links href) instead of its entity
|
3257 |
+
&amp;. Just set FCKConfig.ForceSimpleAmpersand = true in the configuration
|
3258 |
+
file. </li>
|
3259 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026866&group_id=75348&atid=543656">SF
|
3260 |
+
Feature-1026866</a>] The "<strong>EditorAreaCSS</strong>" configuration
|
3261 |
+
option has been introduced. In this way you can set the CSS to use in the editor
|
3262 |
+
(editable area). </li>
|
3263 |
+
<li>The editing area is not anymore clipped if the toolbar is too large and exceeds
|
3264 |
+
the window width. </li>
|
3265 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064902&group_id=75348&atid=543653">SF
|
3266 |
+
BUG-1064902</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033933&group_id=75348&atid=543653">SF
|
3267 |
+
BUG-1033933</a>] The editor <strong>interface</strong> is now completely <strong>localizable</strong>.
|
3268 |
+
The version ships with 19 languages including: <b>Arabic</b>, <b>Bosnian</b>, <b>Catalan</b>,
|
3269 |
+
<b>English</b>, <b>Spanish</b>, <b>Estonian</b>, <b>Finnish</b>, <b>French</b>,
|
3270 |
+
<b>Greek</b>, <b>Hebrew</b>, <b>Croatian</b>, <b>Italian</b>, <b>Korean</b>, <b>Lithuanian</b>,
|
3271 |
+
<b>Norwegian</b>, <strong>Polish</strong>, <strong>Serbian (Cyrillic)</strong>,
|
3272 |
+
<strong>Serbian (Latin)</strong> and <strong>Swedish</strong>.</li>
|
3273 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1027858&group_id=75348&atid=543653">SF
|
3274 |
+
BUG-1027858</a>] Firefox 1.0 PR introduced a bug that made the editor
|
3275 |
+
stop working on it. A workaround has been developed to fix the problem. </li>
|
3276 |
+
<li>There was a positioning problem over IE with the color panel. It has been corrected.
|
3277 |
+
</li>
|
3278 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049842&group_id=75348&atid=543653">SF
|
3279 |
+
BUG-1049842</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1033832&group_id=75348&atid=543653">SF
|
3280 |
+
BUG-1033832</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028623&group_id=75348&atid=543653">SF
|
3281 |
+
BUG-1028623</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1026610&group_id=75348&atid=543653">SF
|
3282 |
+
BUG-1026610</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1064498&group_id=75348&atid=543653">SF
|
3283 |
+
BUG-1064498</a>] The combo commands in the toolbar were not opening
|
3284 |
+
in the right way. It has been fixed. </li>
|
3285 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1053399&group_id=75348&atid=543653">SF
|
3286 |
+
BUG-1053399</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965318&group_id=75348&atid=543653">SF
|
3287 |
+
BUG-965318</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018296&group_id=75348&atid=543653">SF
|
3288 |
+
BUG-1018296</a>] The toolbar buttons icons were not showing on some IE and
|
3289 |
+
Firefox/Mac installations. It has been fixed. </li>
|
3290 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054621&group_id=75348&atid=543653">SF
|
3291 |
+
BUG-1054621</a>] Color pickers are now working with the "office2003" and
|
3292 |
+
"silver" skins. </li>
|
3293 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1054108&group_id=75348&atid=543653">SF
|
3294 |
+
BUG-1054108</a>] IE doesn’t recognize the "&apos;" entity for
|
3295 |
+
apostrophes, so a workaround has been developed to replace it with "&#39;"
|
3296 |
+
(its numeric entity representation). </li>
|
3297 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983434&group_id=75348&atid=543653">SF
|
3298 |
+
BUG-983434</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=983398&group_id=75348&atid=543653">SF
|
3299 |
+
BUG-983398</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1028103&group_id=75348&atid=543653">SF
|
3300 |
+
BUG-1028103</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1072496&group_id=75348&atid=543653">SF
|
3301 |
+
BUG-1072496</a>] The problem with elements with name "submit"
|
3302 |
+
inside the editor's form has been solved. </li>
|
3303 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1018743&group_id=75348&atid=543653">SF
|
3304 |
+
BUG-1018743</a>] The problem with Gecko when collapsing the toolbar while in source
|
3305 |
+
mode has been fixed. </li>
|
3306 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1065268&group_id=75348">SF
|
3307 |
+
BUG-1065268</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034354&group_id=75348&atid=543653">SF
|
3308 |
+
BUG-1034354</a>] The XHTML processor now doesn’t use the minimized tag
|
3309 |
+
syntax (like <br/>) for empty elements that are not marked as EMPTY in the
|
3310 |
+
W3C XHTML DTD specifications. </li>
|
3311 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029654&group_id=75348&atid=543653">SF
|
3312 |
+
BUG-1029654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046500&group_id=75348&atid=543653">SF
|
3313 |
+
BUG-1046500</a>] Due to a bug on Gecko there was a problem when creating links.
|
3314 |
+
It has been fixed. </li>
|
3315 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1065973&group_id=75348&atid=543653">SF
|
3316 |
+
BUG-1065973</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=999792&group_id=75348&atid=543653">SF
|
3317 |
+
BUG-999792</a>] The editor now handles relative URLs in IE. In effect IE transform
|
3318 |
+
all relative URLs to absolute links, pointing to the site the editor is running.
|
3319 |
+
So now the editor removes the protocol and host part of the link if it matches the
|
3320 |
+
running server. </li>
|
3321 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1071824&group_id=75348&atid=543653">SF
|
3322 |
+
BUG-1071824</a>] The color dialog box bug has been fixed. </li>
|
3323 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052856&group_id=75348&atid=543653">SF
|
3324 |
+
BUG-1052856</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046493&group_id=75348&atid=543653">SF
|
3325 |
+
BUG-1046493</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1023530&group_id=75348&atid=543653">SF
|
3326 |
+
BUG-1023530</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1025978&group_id=75348&atid=543653">SF
|
3327 |
+
BUG-1025978</a>] The editor now doesn’t throw an error if no selection
|
3328 |
+
was made and the create link command is used. </li>
|
3329 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036756&group_id=75348&atid=543653">SF
|
3330 |
+
BUG-1036756</a>] The XHTML processor has been reviewed. </li>
|
3331 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1029101&group_id=75348&atid=543653">SF
|
3332 |
+
BUG-1029101</a>] The Paste from Word feature is working correctly. </li>
|
3333 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1034623&group_id=75348&atid=543653">SF
|
3334 |
+
BUG-1034623</a>] There is an IE bug when setting the editor value to "<p><hr></p>".
|
3335 |
+
A workaround has been developed. </li>
|
3336 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1052695&group_id=75348&atid=543653">SF
|
3337 |
+
BUG-1052695</a>] There are some rendering differences between Netscape and Mozilla.
|
3338 |
+
(Actually that is a bug on both browsers). A workaround has been developed to solve
|
3339 |
+
it. </li>
|
3340 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1073053&group_id=75348&atid=543653">SF
|
3341 |
+
BUG-1073053</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1050394&group_id=75348&atid=543653">SF
|
3342 |
+
BUG-1050394</a>] The editor doesn’t throw errors when hidden. </li>
|
3343 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1066321&group_id=75348&atid=543653">SF
|
3344 |
+
BUG-1066321</a>] Scrollbars should not appear on dialog boxes (at least for the
|
3345 |
+
Image and Link ones). </li>
|
3346 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1046490&group_id=75348&atid=543653">SF
|
3347 |
+
BUG-1046490</a>] Dialogs now are forced to show on foreground over Mac. </li>
|
3348 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=1073955&group_id=75348">SF
|
3349 |
+
BUG-1073955</a>] A small bug in the image dialog window has been corrected. </li>
|
3350 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1049534&group_id=75348&atid=543653">SF
|
3351 |
+
BUG-1049534</a>] The Resources Browser window is now working well over Gecko browsers.
|
3352 |
+
</li>
|
3353 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1036675&group_id=75348&atid=543653">SF
|
3354 |
+
BUG-1036675</a>] The Resources Browser window now displays the server error on bad
|
3355 |
+
installations.</li>
|
3356 |
+
</ul>
|
3357 |
+
<h3>
|
3358 |
+
Version 2.0 Beta 2</h3>
|
3359 |
+
<ul>
|
3360 |
+
<li>There is a new configuration - "<strong>GeckoUseSPAN</strong>" - that
|
3361 |
+
can be used to tell Gecko browsers to use <SPAN style...> or <B>, <I>
|
3362 |
+
and <U> for the bold, italic and underline commands. </li>
|
3363 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1002622&group_id=75348&atid=543656">SF
|
3364 |
+
Feature-1002622</a>] New <strong>Text Color</strong> and <strong>Background Color</strong>
|
3365 |
+
commands have been added to the editor. </li>
|
3366 |
+
<li>On Gecko browsers, a message is shown when, because of security settings, the
|
3367 |
+
user is not able to cut, copy or paste data from the clipboard using the
|
3368 |
+
toolbar buttons or the context menu. </li>
|
3369 |
+
<li>The new "<strong>Paste as Plain Text</strong> " command has been introduced.
|
3370 |
+
</li>
|
3371 |
+
<li>The new "<strong>Paste from Word</strong> " command has been introduced.
|
3372 |
+
</li>
|
3373 |
+
<li>A new configuration named "StartupFocus" can be used to tell the
|
3374 |
+
editor to get the focus when the page is loaded. </li>
|
3375 |
+
<li>All <strong>Java </strong>integration files has been moved to a new separated package.
|
3376 |
+
</li>
|
3377 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1016781&group_id=75348&atid=543653">SF
|
3378 |
+
BUG-1016781</a>] <strong>Table operations</strong> are now working when right click
|
3379 |
+
inside a table. The following commands has been introduced: <strong>Insert Row</strong>,
|
3380 |
+
<strong>Delete Row</strong>, <strong>Insert Column</strong>, <strong>Delete Column</strong>,
|
3381 |
+
<strong>Insert Cell</strong> and <strong>Delete Cells</strong> . </li>
|
3382 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=965067&group_id=75348&atid=543653">SF
|
3383 |
+
BUG-965067</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1010379&group_id=75348&atid=543653">SF
|
3384 |
+
BUG-1010379</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=977713&group_id=75348&atid=543653">SF
|
3385 |
+
BUG-977713</a>] XHTML support was not working with FireFox, blocking the
|
3386 |
+
editor when submitting data. It has been fixed. </li>
|
3387 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1007547&group_id=75348&atid=543653">SF
|
3388 |
+
BUG-1007547</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=974595&group_id=75348&atid=543653">SF
|
3389 |
+
BUG-974595</a> ] The "FCKLang not defined" error when loading
|
3390 |
+
has been fixed. </li>
|
3391 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=1021028&group_id=75348&atid=543653">SF
|
3392 |
+
BUG-1021028</a>] If the editor doesn't have the focus, some commands were been executed
|
3393 |
+
outside the editor in the place where the focus is. It has been fixed. </li>
|
3394 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=981191&group_id=75348&atid=543653">SF
|
3395 |
+
BUG-981191</a>] We are now using <!--- ---> for ColdFusion comments.</li>
|
3396 |
+
</ul>
|
3397 |
+
<h3>
|
3398 |
+
Version 2.0 Beta 1</h3>
|
3399 |
+
<p>
|
3400 |
+
This is the first beta of the 2.x series. It brings a lot of new and important things.
|
3401 |
+
Beta versions will be released until all features available on version 1.x will
|
3402 |
+
be introduced in the 2.0.<br />
|
3403 |
+
<br />
|
3404 |
+
<strong>Note:</strong> As it is a beta, it is not yet completely developed. Future
|
3405 |
+
versions can bring new features that can break backward compatibility with this
|
3406 |
+
version.
|
3407 |
+
</p>
|
3408 |
+
<ul>
|
3409 |
+
<li>Gecko browsers (<strong>Mozilla</strong> and <strong>Netscape</strong>) support.
|
3410 |
+
</li>
|
3411 |
+
<li><strong>Quick startup</strong> response times. </li>
|
3412 |
+
<li>Complete <strong>XHTML</strong> 1.0 support. </li>
|
3413 |
+
<li><strong>Advanced link</strong> dialog box:
|
3414 |
+
<ul>
|
3415 |
+
<li>Target selection. </li>
|
3416 |
+
<li>Popup configurator. </li>
|
3417 |
+
<li>E-Mail link. </li>
|
3418 |
+
<li>Anchor selector. </li>
|
3419 |
+
</ul>
|
3420 |
+
</li>
|
3421 |
+
<li>New <strong>File Manager</strong>. </li>
|
3422 |
+
<li>New dialog box system, with <strong>tabbed dialogs</strong> support. </li>
|
3423 |
+
<li>New <strong>context menus</strong> with icons. </li>
|
3424 |
+
<li>New toolbar with "expand/collapse" feature. </li>
|
3425 |
+
<li><strong>Skins</strong> support. </li>
|
3426 |
+
<li><strong>Right to left languages</strong> support. </li>
|
3427 |
+
</ul>
|
3428 |
+
<h3>
|
3429 |
+
Version 1.6.1</h3>
|
3430 |
+
<ul>
|
3431 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=862364&group_id=75348&atid=543653">SF
|
3432 |
+
BUG-862364</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=812733&group_id=75348&atid=543653">SF
|
3433 |
+
BUG-812733</a>] There was a problem when the user tried to delete the last row,
|
3434 |
+
collumn or cell in a table. It has been corrected.* </li>
|
3435 |
+
<li>New Estonian language file. Thanks to Kristjan Kivikangur </li>
|
3436 |
+
<li>New Croatian language file. Thanks to Alex Varga. </li>
|
3437 |
+
<li>Updated language file for Czech. Thanks to Plachow. </li>
|
3438 |
+
<li>Updated language file for Chineze (zh-cn). Thanks to Yanglin. </li>
|
3439 |
+
<li>Updated language file for Catalan. Thanks to Jordi Cerdan.</li>
|
3440 |
+
</ul>
|
3441 |
+
<p>
|
3442 |
+
* This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec,
|
3443 |
+
LLC</a>.</p>
|
3444 |
+
<h3>
|
3445 |
+
Version 1.6</h3>
|
3446 |
+
<ul>
|
3447 |
+
<li><strong>Context Menu</strong> support for <strong>form</strong> elements.* </li>
|
3448 |
+
<li>New <strong>"Selection Field" command</strong> with advanced dialog box
|
3449 |
+
for options definitions.* </li>
|
3450 |
+
<li>New <strong>"Image Button" command</strong> is available.* </li>
|
3451 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936196&group_id=75348&atid=543656">SF
|
3452 |
+
Feature-936196</a>] Many form elements <strong>bugs has been fixed</strong> and
|
3453 |
+
<strong>many improvements</strong> has been done.* </li>
|
3454 |
+
<li>New <strong>Java Integration Module</strong>. There is a complete Java API and Tag
|
3455 |
+
Library implementations. Take a look at the _jsp directory. Thanks to Simone Chiaretta
|
3456 |
+
and Hao Jiang. </li>
|
3457 |
+
<li>The <strong>Word Spell Checker</strong> can be used. To be able to run it, your
|
3458 |
+
browser security configuration "Initialize and script ActiveX controls not
|
3459 |
+
marked as safe" must be set to "Enable" or "Prompt". And
|
3460 |
+
easier and more secure way to do that is to add your site in the list of trusted
|
3461 |
+
sites. IeSpell can still be used. Take a look at the fck_config.js file for some
|
3462 |
+
configuration options. Thanks to EdwardRF. </li>
|
3463 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=748807&group_id=75348&atid=543656">SF
|
3464 |
+
Feature-748807</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=801030&group_id=75348&atid=543656">SF
|
3465 |
+
Feature-801030</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=880684&group_id=75348&atid=543656">SF
|
3466 |
+
Feature-880684</a>] New "<strong>Anchor" command</strong>, including
|
3467 |
+
context menu support. Thanks to G.Meijer. </li>
|
3468 |
+
<li>Special characters are replaced with their decimal HTML entities when the XHMTL
|
3469 |
+
support is enabled (only over IE5.5+). </li>
|
3470 |
+
<li>New <strong>Office 2003 Style</strong> toolbar icons are available. Just uncomment
|
3471 |
+
the config.ToolbarImagesPath key in the fck_config.js file. Thanks to Abdul-Aziz
|
3472 |
+
A. Al-Oraij. <strong>Attention</strong>: the default toolbar items have been moved
|
3473 |
+
to the "images/toolbar/default" directory. </li>
|
3474 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=934566&group_id=75348&atid=543655">SF
|
3475 |
+
Patch-934566</a>] <strong>Double click support</strong> for Images, Tables, Links,
|
3476 |
+
Anchors and all Form elements. Thanks to Top Man. </li>
|
3477 |
+
<li>New <strong>"New Page" command</strong> to start a typing from scratch.
|
3478 |
+
Thanks to Abdul-Aziz A. Al-Oraij. </li>
|
3479 |
+
<li>New <strong>"Replace" command</strong>. Thanks to Abdul-Aziz A. Al-Oraij.
|
3480 |
+
</li>
|
3481 |
+
<li>New <strong>"Advanced Font Style" command</strong>. Thanks to Abdul-Aziz
|
3482 |
+
A. Al-Oraij. </li>
|
3483 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=738193&group_id=75348&atid=543656">SF
|
3484 |
+
Feature-738193</a>] New <strong>"Save" command</strong>. It can be used
|
3485 |
+
to simulate a save action, but in fact it just submits the form where the editor
|
3486 |
+
is placed in. Thanks to Abdul-Aziz A. Al-Oraij. </li>
|
3487 |
+
<li>New <strong>"Universal Keyboard" command</strong>. This 22 charsets are
|
3488 |
+
available: Arabic, Belarusian, Bulgarian, Croatian, Czech, Danish, Finnish, French,
|
3489 |
+
Greek, Hebrew, Hungarian, Diacritical, Macedonian, Norwegian, Polish, Russian, Serbian
|
3490 |
+
(Cyrillic), Serbian (Latin), Slovak, Spanish, Ukrainian and Vietnamese. Includes
|
3491 |
+
a keystroke listener to type Arabic on none Arabic OS or machine. Thanks to Abdul-Aziz
|
3492 |
+
A. Al-Oraij. </li>
|
3493 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=935358&group_id=75348&atid=543655">SF
|
3494 |
+
Patch-935358</a>] New <strong>"Preview" command</strong>. Context menu
|
3495 |
+
option is included and can be deactivated throw the config.ShowPreviewContextMenu
|
3496 |
+
configuration. Thanks to Ben Ramsey. </li>
|
3497 |
+
<li>New "<strong>Table Auto Format</strong>" context menu command. Hack a
|
3498 |
+
little the fck_config.js and the fck_editorarea.css files. Thanks to Alexandros
|
3499 |
+
Lezos. </li>
|
3500 |
+
<li>New "<strong>Bulleted List Properties</strong> " context menu to define
|
3501 |
+
its type and class. Thanks to Alexandros Lezos. </li>
|
3502 |
+
<li>The <strong>image dialog</strong> box has been a <strong>redesigned</strong> . Thanks
|
3503 |
+
to Mark Fierling. </li>
|
3504 |
+
<li>Images now always have the <strong>"alt" attribute</strong> set, even
|
3505 |
+
when it's value is empty. Thanks to Andreas Barnet. </li>
|
3506 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=942250&group_id=75348&atid=543655">SF
|
3507 |
+
Patch-942250</a>] You can set on fck_config.js to <strong>automatically clean Word</strong>
|
3508 |
+
pasting operations without a user confirmation. </li>
|
3509 |
+
<li>Forms element dialogs and other localization pending labels has been updated. </li>
|
3510 |
+
<li>A new <strong>Lithuanian</strong> language file is available. Thanks to Tauras Paliulis.
|
3511 |
+
</li>
|
3512 |
+
<li>A new <strong>Hebrew</strong> language file is available. Thanks to Ophir Radnitz.
|
3513 |
+
</li>
|
3514 |
+
<li>A new <strong>Serbian</strong> language file is available. Thanks to Zoran Subic.
|
3515 |
+
</li>
|
3516 |
+
<li><strong>Danish</strong> language file updates. Thanks to Flemming Jensen. </li>
|
3517 |
+
<li><strong>Catalan</strong> language file updates. Thanks to Jordi Cerdan. </li>
|
3518 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=936514&group_id=75348&atid=543655">SF
|
3519 |
+
Patch-936514</a>] [<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=918716&group_id=75348">SF
|
3520 |
+
BUG-918716</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=931037&group_id=75348&atid=543653">SF
|
3521 |
+
BUG-931037</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=865864&group_id=75348&atid=543653">SF
|
3522 |
+
BUG-865864</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=915410&group_id=75348&atid=543653">SF
|
3523 |
+
BUG-915410</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918716&group_id=75348&atid=543653">SF
|
3524 |
+
BUG-918716</a>] Some <strong>languages files</strong> were not
|
3525 |
+
saved on <strong>UTF-8</strong> format causing some javascript errors on loading
|
3526 |
+
the editor or making "undefined" to show on editor labels. This problem
|
3527 |
+
was solved. </li>
|
3528 |
+
<li>Updates on the testsubmit.php file. Thanks to Geat and Gabriel Schillaci </li>
|
3529 |
+
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=924620&group_id=75348">SF
|
3530 |
+
BUG-924620</a>] There was a problem when setting a name to an editor instance when
|
3531 |
+
the name is used by another tag. For example when using "description"
|
3532 |
+
as the name in a page with the <META name="description"> tag. </li>
|
3533 |
+
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=935018&group_id=75348&atid=543653">SF
|
3534 |
+
BUG-935018</a>] The "buletted" typo has been corrected. </li>
|
3535 |
+
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=902122&group_id=75348&atid=543653">SF
|
3536 |
+
BUG-902122</a>] Wrong css and js file references have been corrected. </li>
|
3537 |
+
<li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&aid=918942&group_id=75348&atid=543653">SF
|
3538 |
+
BUG-918942</a>] All dialog boxes now accept Enter and Escape keys as Ok and Cancel
|
3539 |
+
buttons.</li>
|
3540 |
+
</ul>
|
3541 |
+
<p>
|
3542 |
+
* This version has been partially sponsored by <a href="http://www.genuitec.com/">Genuitec,
|
3543 |
+
LLC</a>.</p>
|
3544 |
+
<h3>
|
3545 |
+
Version 1.5</h3>
|
3546 |
+
<ul>
|
3547 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF
|
3548 |
+
Feature-913777</a>] <strong>New Form Commands</strong> are now available! Special
|
3549 |
+
thanks to G.Meijer. </li>
|
3550 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=861149&group_id=75348&atid=543656">SF
|
3551 |
+
Feature-861149</a>] <strong>Print Command</strong> is now available! </li>
|
3552 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=743546&group_id=75348">SF
|
3553 |
+
BUG-743546</a>] The <strong>XHTML content duplication problem </strong>has been
|
3554 |
+
<strong>solved</strong> . Thanks to Paul Hutchison. </li>
|
3555 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=875853&group_id=75348">SF
|
3556 |
+
BUG-875853</a>] The <strong>image dialog box</strong> now gives precedence for width
|
3557 |
+
and height values set as styles. In this way a user can change the size of the image
|
3558 |
+
directly inside the editor and the changes will be reflected in the dialog box.
|
3559 |
+
</li>
|
3560 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543656&aid=913777&group_id=75348">SF
|
3561 |
+
Feature-788368</a>] The sample <strong>file upload </strong>manager for ASPX now
|
3562 |
+
uses <strong>guids</strong> for the file name generation. In this way a support
|
3563 |
+
XML file is not needed anymore. </li>
|
3564 |
+
<li>It's possible now to <strong>programmatically change the Base Path</strong> of the
|
3565 |
+
editor if it's installed in a directory different of "/FCKeditor/". Something
|
3566 |
+
like this:<br />
|
3567 |
+
oFCKeditor.BasePath = '/FCKeditor/' ;<br />
|
3568 |
+
Take a look at the _test directory for samples. </li>
|
3569 |
+
<li>There was a little bug in the TAB feature that moved the insertion point if there
|
3570 |
+
were any object (images, tables) in the content. It has been fixed. </li>
|
3571 |
+
<li>The problem with <strong>accented and international characters</strong> on the PHP
|
3572 |
+
test page was solved. </li>
|
3573 |
+
<li>A new <strong>Chinese (Taiwan)</strong> language file is available. Thanks to Nil.
|
3574 |
+
</li>
|
3575 |
+
<li>A new <strong>Slovenian</strong> language file is available. Thanks to Pavel Rotar.
|
3576 |
+
</li>
|
3577 |
+
<li>A new <strong>Catalan</strong> language file is available. Thanks to Jordi Cerdan.
|
3578 |
+
</li>
|
3579 |
+
<li>A new <strong>Arabic</strong> language file is available. Thanks to Abdul-Aziz A.
|
3580 |
+
Al-Oraij. </li>
|
3581 |
+
<li>Small corrections on the <strong>Norwegian</strong> language file. </li>
|
3582 |
+
<li>A Java version for the test results (testsubmit.jsp) is now available. Thanks to
|
3583 |
+
Pritpal Dhaliwal. </li>
|
3584 |
+
<li>When using JavaScript to create a editor instance it's possible now to easily get
|
3585 |
+
the editor's value calling oFCKeditor.GetValue() (eg.). Better JavaScript API interfaces
|
3586 |
+
will be available on version 2.0. </li>
|
3587 |
+
<li>If <strong>XHTML</strong> is enabled the editor cleans the HTML before showing it
|
3588 |
+
on the Source View, so the exact result can be viewed by the user. This option can
|
3589 |
+
be activated setting config.EnableSourceXHTML = true in the fck_config.js file.
|
3590 |
+
</li>
|
3591 |
+
<li>The <strong>JS integration object</strong> now escapes all configuration settings,
|
3592 |
+
in this way a user can use <strong>reserved chars</strong> on it. For example:
|
3593 |
+
<br />
|
3594 |
+
oFCKeditor.Config["ImageBrowserURL"] = '/imgs/browse.asp?filter=abc*.jpg&userid=1';
|
3595 |
+
</li>
|
3596 |
+
<li>A minimal browse server sample is now available in ASP. Thanks to Andreas Barnet.
|
3597 |
+
</li>
|
3598 |
+
</ul>
|
3599 |
+
<h3>
|
3600 |
+
Version 1.4</h3>
|
3601 |
+
<ul>
|
3602 |
+
<li><strong>ATTENTION: For PHP users</strong>: The editor was changed and now uses <strong>
|
3603 |
+
htmlspecialchars</strong> instead of <strong>htmlentities</strong> when handling
|
3604 |
+
the initial value. It should works well, but please make some tests before upgrading
|
3605 |
+
definitively. If there is any problem just uncomment the line in the fckeditor.php
|
3606 |
+
file (and send me a message!). </li>
|
3607 |
+
<li>The editor is now integrated with <strong>ieSpell</strong> (<a href="http://www.iespell.com">http://www.iespell.com</a>)
|
3608 |
+
for <strong>Spell Checking</strong>. You can configure the download URL in then
|
3609 |
+
fck_config.js file. Thanks to Sanjay Sharma. (ieSpell is free for personal use but
|
3610 |
+
must be paid for commercial use) </li>
|
3611 |
+
<li><strong>Table</strong> and <strong>table cell</strong> dialogs has been changed.
|
3612 |
+
Now you can <strong>select the class</strong> you want to be applied. Thanks to
|
3613 |
+
Alexander Lezos. </li>
|
3614 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=865378&group_id=75348&atid=543656">SF
|
3615 |
+
Feature-865378</a>]A new <strong>upload support is available for ASP</strong>. It
|
3616 |
+
uses the /UserImages/ folder in the root of the web site as the files container
|
3617 |
+
and a counter controlled by the upload.cnt file. Both must have write permissions
|
3618 |
+
set to the IUSR_xxx user. Thanks to Trax and Juanjo. </li>
|
3619 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=798128&group_id=75348&atid=543655">SF
|
3620 |
+
Patch-798128</a>] The user (programmer) can now define a <strong>custom separator</strong>
|
3621 |
+
for the list items of a combo in the toolbar. Thanks to Wulff D. Heiss. </li>
|
3622 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=741963&group_id=75348&atid=543656">SF
|
3623 |
+
Feature-741963</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=878941&group_id=75348&atid=543656">SF
|
3624 |
+
Feature-878941</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=869389&group_id=75348&atid=543655">SF
|
3625 |
+
Patch-869389</a>] A minimal support for a “fake” <strong>TAB is now available</strong>,
|
3626 |
+
even if HTML has no support for TAB. Now when the user presses the TAB key a configurable
|
3627 |
+
number of spaces (&nbsp;) is added. Take a look at config.TabSpaces on the fck_config.js
|
3628 |
+
file. No action is performed if it is set to zero. The default value is 4. Thanks
|
3629 |
+
to Phil Hassey. </li>
|
3630 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF
|
3631 |
+
BUG-782779</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=790939&group_id=75348&atid=543653">SF
|
3632 |
+
BUG-790939</a>] The problem with big images has been corrected. Thanks to Raver.
|
3633 |
+
</li>
|
3634 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF
|
3635 |
+
BUG-862975</a>] Now the editor does nothing if no image is selected in the image
|
3636 |
+
dialog box and the OK button is hit. </li>
|
3637 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=851609&group_id=75348&atid=543653">SF
|
3638 |
+
BUG-851609</a>] The problem with ASP and null values has been solved. </li>
|
3639 |
+
<li><strong>Norwegean</strong> language pack. Thanks to Martin Kronstad. </li>
|
3640 |
+
<li><strong>Hungarian</strong> language pack. Thanks to Balázs Szabó.
|
3641 |
+
</li>
|
3642 |
+
<li><strong>Bosnian</strong> language pack. Thanks to Trax. </li>
|
3643 |
+
<li><strong>Japanese</strong> language pack. Thanks to Kato Yuichiro. </li>
|
3644 |
+
<li>Updates on the <strong>Polish</strong> language pack. Thanks to Norbert Neubauer.
|
3645 |
+
</li>
|
3646 |
+
<li>The <strong>Chinese (Taiwan)</strong> (zh-tw) has been removed from the package
|
3647 |
+
because it's corrupt. I'm sorry. I hope someone could send me a good version soon.
|
3648 |
+
</li>
|
3649 |
+
</ul>
|
3650 |
+
<h3>
|
3651 |
+
Version 1.3.1</h3>
|
3652 |
+
<ul>
|
3653 |
+
<li>It's now possible to configure the editor the insert a <strong><BR> tag instead
|
3654 |
+
of <P></strong> when the user presses the <strong><Enter></strong> key.
|
3655 |
+
Take a look at the fck_config.js configuration file for the "<strong>UseBROnCarriageReturn</strong>"
|
3656 |
+
key. This option is disabled by default. </li>
|
3657 |
+
<li><strong>Icelandic</strong> language pack. Thanks to Andri Óskarsson. </li>
|
3658 |
+
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853374&group_id=75348">SF
|
3659 |
+
BUG-853374</a>] On IE 5.0 there was a little error introduced with version 1.3 on
|
3660 |
+
initialization. It was corrected. </li>
|
3661 |
+
<li>[<a href="https://sourceforge.net/tracker/?func=detail&atid=543653&aid=853372&group_id=75348">SF
|
3662 |
+
BUG-853372</a>] On IE 5.0 there was a little error introduced with version 1.3 when
|
3663 |
+
setting the focus in the editor. It was corrected. </li>
|
3664 |
+
<li>Minor errors on the language file for <strong>english</strong> has been corrected.
|
3665 |
+
Thanks to Anders Madsen. </li>
|
3666 |
+
<li>Minor errors on the language file for <strong>danish</strong> has been corrected.
|
3667 |
+
Thanks to Martin Johansen. </li>
|
3668 |
+
</ul>
|
3669 |
+
<h3>
|
3670 |
+
Version 1.3</h3>
|
3671 |
+
<ul>
|
3672 |
+
<li>Language support for <strong>Danish, Polish, Simple Chinese, Slovak, Swedish and
|
3673 |
+
Turkish</strong>. </li>
|
3674 |
+
<li>Language updates for <strong>Romanian</strong>. </li>
|
3675 |
+
<li>It's now possible to <strong>override</strong> any of the <strong>editor's configurations</strong>
|
3676 |
+
(for now it's implemented just for JavaScript, ASPX and HTC modules). See _test/test.html
|
3677 |
+
for a sample. I'm now waiting for the Community for the ASP, CFM and PHP versions.
|
3678 |
+
</li>
|
3679 |
+
<li>A new method is available for <strong>PHP</strong> users. It's called <strong>ReturnFCKeditor</strong>.
|
3680 |
+
It works exactly like CreateFCKeditor, but it <strong>returns a string with the HTML</strong>
|
3681 |
+
for the editor instead of output it (echo). This feature is useful for people who
|
3682 |
+
are working with Smarty Templates or something like that. Thanks to Timothy J. Finucane.
|
3683 |
+
</li>
|
3684 |
+
<li>Many people have had problems with <strong>international characters</strong> over
|
3685 |
+
<strong>PHP</strong>. I had also the same problem. PHP have strange problems with
|
3686 |
+
character encoding. The code hasn't been changed but just saved again with Western
|
3687 |
+
European encoding. <strong>Now it works well</strong> in my system.<br />
|
3688 |
+
Take a look also at the "default_charset" configuration option at the
|
3689 |
+
php.ini file. It doesn't seem to be an editor's problem but a PHP issue. </li>
|
3690 |
+
<li>The "<strong>testsubmit.php</strong>" file now strips the "<strong>Magic
|
3691 |
+
Quotes</strong> " that are automatically added by PHP on form posts. </li>
|
3692 |
+
<li>A <strong>new language</strong> integration module is available for <strong>ASP/Jscript</strong>.
|
3693 |
+
Thanks to Dimiter Naydenov. </li>
|
3694 |
+
<li><strong>New configuration</strong> options are available to <strong>customize the
|
3695 |
+
Target</strong> combo box in the <strong>Insert/Modify Link</strong> dialog box.
|
3696 |
+
Now you can hide it, or set which options are available in the combo box. Take a
|
3697 |
+
look at the fck_config.js file. </li>
|
3698 |
+
<li>The <strong>Text as Plain Text</strong> toolbar <strong>icon</strong> has been changed
|
3699 |
+
<strong>to avoid confusion</strong> with the Normal Paste or. Thanks to Kaupo Kalda.
|
3700 |
+
</li>
|
3701 |
+
<li>The file <strong>dhtmled.cab has been removed</strong> from the package. It's not
|
3702 |
+
needed to the editor to work and caused some confusion for a few users. </li>
|
3703 |
+
<li>The <strong>editor's content</strong> now <strong>doesn't loose the focus</strong>
|
3704 |
+
when the user clicks with the mouse in a toolbar button. </li>
|
3705 |
+
<li>On <strong>drag-and-drop</strong> operations the data to be inserted in the editor
|
3706 |
+
is now <strong>converted to plain text</strong> when the "<strong>ForcePasteAsPlainText</strong>"
|
3707 |
+
configuration is set to <strong>true</strong>. </li>
|
3708 |
+
<li>The <strong>image browser</strong> sample in PHP now <strong>sorts the files</strong>
|
3709 |
+
by name. Thanks to Sergey Lupashko. </li>
|
3710 |
+
<li>Two <strong>new configuration</strong> options are available to <strong>turn on/off
|
3711 |
+
by default</strong> the "<strong>Show Borders</strong>" and "<strong>Show
|
3712 |
+
Details</strong>" commands. </li>
|
3713 |
+
<li>Some <strong>characters have been removed</strong> from the "<strong>Insert
|
3714 |
+
Special Chars</strong>" dialog box because they were causing encoding problems
|
3715 |
+
in some languages. Thanks to Abomb Hua. </li>
|
3716 |
+
<li><strong>JSP</strong> versions of the <strong>image and file upload and browsing</strong>
|
3717 |
+
features. Thanks to Simone Chiaretta.</li>
|
3718 |
+
</ul>
|
3719 |
+
<h3>
|
3720 |
+
Version 1.2.4</h3>
|
3721 |
+
<ul>
|
3722 |
+
<li>Language support for <strong>Spanish, Finnish, Romanian and Korean</strong>. </li>
|
3723 |
+
<li>Language updates for <strong>German</strong>. </li>
|
3724 |
+
<li>New <strong>Zoom</strong> toolbar option. (<a href="https://sourceforge.net/forum/forum.php?thread_id=904116&forum_id=257180">Thanks
|
3725 |
+
to "mtn_roadie"</a>)</li>
|
3726 |
+
</ul>
|
3727 |
+
<h3>
|
3728 |
+
Version 1.2.2</h3>
|
3729 |
+
<ul>
|
3730 |
+
<li>Language support for <strong>French</strong>. </li>
|
3731 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=782779&group_id=75348&atid=543653">SF
|
3732 |
+
BUG-782779</a>] Version 1.2 introduced a bug on the image dialog window: when changing
|
3733 |
+
the image, no update was done. This bug is now fixed. </li>
|
3734 |
+
</ul>
|
3735 |
+
<h3>
|
3736 |
+
Version 1.2</h3>
|
3737 |
+
<ul>
|
3738 |
+
<li>Enhancements to the <strong>Word cleaning</strong> feature (Thanks to Karl von Randow).
|
3739 |
+
</li>
|
3740 |
+
<li>The <strong>Table dialog box</strong> now handles the Style width and height set
|
3741 |
+
in the table (Thanks to Roberto Arruda). There where many problems on prior version
|
3742 |
+
when people changed manually the table's size, dragging the size handles, and then
|
3743 |
+
it was not possible to set a new size using the table dialog box. </li>
|
3744 |
+
<li>For the <strong>Image dialog box:</strong>
|
3745 |
+
<ul>
|
3746 |
+
<li>No image is shown in the preview pane if no image has been set. </li>
|
3747 |
+
<li>If no HSpace is set in the image a "-1" value was shown in the dialog
|
3748 |
+
box. Now, nothing is shown if the value is negative. </li>
|
3749 |
+
</ul>
|
3750 |
+
</li>
|
3751 |
+
<li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&aid=739630&group_id=75348&atid=543653">SF
|
3752 |
+
BUG-739630</a>] Image with link lost the link when changing its properties. The
|
3753 |
+
problem is solved. </li>
|
3754 |
+
<li>Due to some problems in the XHTML cleaning (content duplication when the source
|
3755 |
+
HTML is dirty and malformed), the <strong>XHTML support is turned off by default</strong>
|
3756 |
+
from this version. You can still change this behavior and turn it on in the configuration
|
3757 |
+
file. </li>
|
3758 |
+
<li>Some little updates on the <strong>English </strong>language file. </li>
|
3759 |
+
<li>A few addition of missing entries on all languages files (translations for these
|
3760 |
+
changes are pending). </li>
|
3761 |
+
<li>Language files has been added for the following languages:
|
3762 |
+
<ul>
|
3763 |
+
<li><strong>Brazilian Portuguese</strong> (pt-br) </li>
|
3764 |
+
<li><strong>Czech</strong> (cz) </li>
|
3765 |
+
<li><strong>Dutch</strong> (nl) </li>
|
3766 |
+
<li><strong>Russian</strong> (ru) </li>
|
3767 |
+
<li><strong>Chinese (Taiwan)</strong> (zh-tw) </li>
|
3768 |
+
<li><strong>Greek</strong> (gr) </li>
|
3769 |
+
<li><strong>German</strong> (de)</li>
|
3770 |
+
</ul>
|
3771 |
+
</li>
|
3772 |
+
</ul>
|
3773 |
+
<h3>
|
3774 |
+
Version 1.1</h3>
|
3775 |
+
<ul>
|
3776 |
+
<li>The "<strong>Multi Language</strong>" system is now available. This version
|
3777 |
+
ships with English and Italian versions completed. Other languages will be available
|
3778 |
+
soon. The editor automatically detects the client language and sets all labels,
|
3779 |
+
tooltips and dialog boxes to it, if available. The auto detection and the default
|
3780 |
+
language can be set in the <strong>fck_config.file</strong>. </li>
|
3781 |
+
<li>Two files can now be created to isolate customizations code from the original source
|
3782 |
+
code of the editor: <strong>fckeditor.config.js</strong> and <strong>fckeditor.custom.js</strong>.
|
3783 |
+
Create these files in the root folder of your web site, if needed. The first one
|
3784 |
+
can be used to add or override configurations set on fck_config.js. The second one
|
3785 |
+
is used for custom actions and behaviors. </li>
|
3786 |
+
<li>A problem with relative links and images like "/test/test.doc" has been
|
3787 |
+
solved. In prior versions, only with XHTML support enabled, the URL was changed
|
3788 |
+
to something like "http://www.mysite.xxx/test/test.doc" (The domain was
|
3789 |
+
automatically added). Now the XHTML cleaning procedure gets the URLs exactly how
|
3790 |
+
they are defined in the editor’s HTML. </li>
|
3791 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=742168&group_id=75348&atid=543653">SF
|
3792 |
+
BUG-742168</a>] Mouse drag and drop from toolbar buttons has been disabled. </li>
|
3793 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=768210&group_id=75348&atid=543653">SF
|
3794 |
+
BUG-768210</a>] HTML entities, like <strong>&lt;</strong>, were not load correctly.
|
3795 |
+
The problem is solved. </li>
|
3796 |
+
<li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&aid=748812&group_id=75348&atid=543653">SF
|
3797 |
+
BUG-748812</a>] The link dialog window doesn't open when the link button is grayed.
|
3798 |
+
</li>
|
3799 |
+
</ul>
|
3800 |
+
<h3>
|
3801 |
+
Version 1.0</h3>
|
3802 |
+
<ul>
|
3803 |
+
<li>Three new options are available in the configuration file to set what file types
|
3804 |
+
are allowed / denied to be uploaded from the "Insert Link" and "Insert
|
3805 |
+
Image" dialog boxes. </li>
|
3806 |
+
<li>Upload options, for links and images, are automatically hidden on IE 5.0 browsers
|
3807 |
+
(it's not compatible). </li>
|
3808 |
+
<li>[SF BUG-734894] Fixed a problem on XHTML cleaning: the value on INPUT fields were
|
3809 |
+
lost. </li>
|
3810 |
+
<li>[SF BUG-713797] Fixed some image dialog errors when trying to set image properties
|
3811 |
+
when no image is available. </li>
|
3812 |
+
<li>[SF BUG-736414] Developed a workaround for a DHTML control bug when loading in the
|
3813 |
+
editor some HTML started with <p><hr></p>. </li>
|
3814 |
+
<li>[SF BUG-737143] Paste from Word cleaning changed to solve some IE 5.0 errors. This
|
3815 |
+
feature is still not available over IE 5.0. </li>
|
3816 |
+
<li>[SF BUG-737233] CSS mappings are now OK on the PHP image browser module. </li>
|
3817 |
+
<li>[SF BUG-737495] The image preview in the image dialog box is now working correctly.
|
3818 |
+
</li>
|
3819 |
+
<li>[SF BUG-737532] The editor automatically switches to WYSIWYG mode when the form
|
3820 |
+
is posted. </li>
|
3821 |
+
<li>[SF BUG-739571] The editor is now working well over Opera (as for Netscape, a TEXTAREA
|
3822 |
+
is shown). </li>
|
3823 |
+
</ul>
|
3824 |
+
<h3>
|
3825 |
+
Version 1.0 Final Candidate</h3>
|
3826 |
+
<ul>
|
3827 |
+
<li>A new dialog box for the "Link" command is available. Now you can upload
|
3828 |
+
and browse the server exactly like the image dialog box. It's also possible to define
|
3829 |
+
the link title and target window (_blank, _self, _parent and _top). As with the
|
3830 |
+
image dialog box, a sample (and simple) file server browser is available. </li>
|
3831 |
+
<li>A new configuration option is available to force every paste action to be handled
|
3832 |
+
as plain text. See "config.ForcePasteAsPlainText" in fck_config.js. </li>
|
3833 |
+
<li>A new Toolbar button is available: "Paste from Word". It automatically
|
3834 |
+
cleans the clipboard content before pasting (removesWord styles, classes, xml stuff,
|
3835 |
+
etc...). This command is available for IE 5.5 and more. For IE 5.0 users, a message
|
3836 |
+
is displayed advising that the text will not be cleaned before pasting. </li>
|
3837 |
+
<li>The editor automatically detects Word clipboard data on pasting operations and asks
|
3838 |
+
the user to clean it before pasting. This option is turned on by default but it
|
3839 |
+
can be configured. See "config.AutoDetectPasteFromWord" in fck_config.js.
|
3840 |
+
</li>
|
3841 |
+
<li>Table properties are now available in cells' right click context menu. </li>
|
3842 |
+
<li>It's now possible to edit cells advanced properties from it's right click context
|
3843 |
+
menu. </li>
|
3844 |
+
</ul>
|
3845 |
+
<h3>
|
3846 |
+
Version 1.0 Release Candidate 1 (RC1)</h3>
|
3847 |
+
<ul>
|
3848 |
+
<li>Some performance improvements. </li>
|
3849 |
+
<li>The file dhtmled.cab has been added to the package for clients ho needs to install
|
3850 |
+
the Microsoft DHTML Editor component. </li>
|
3851 |
+
<li>[SF BUG-713952] The format command options are localized, so it depends on the IE
|
3852 |
+
language to work. Until version 0.9.5 it was working only over English IE browsers.
|
3853 |
+
Now the options are load dynamically on the client using the client's language.
|
3854 |
+
</li>
|
3855 |
+
<li>[SF BUG-712103] The style command is localized, so it depends on the IE language
|
3856 |
+
to work. Until version 0.9.5 it was working only over English IE browsers. Now it
|
3857 |
+
configures itself using the client's language. </li>
|
3858 |
+
<li>[SF BUG-726137] On version 0.9.5, some commands (special chars, image, emoticons,
|
3859 |
+
...) remove the next available character before inserting the required content even
|
3860 |
+
if no selection was made in the editor. Now the editor replaces only the selected
|
3861 |
+
content (if available). </li>
|
3862 |
+
</ul>
|
3863 |
+
<h3>
|
3864 |
+
Version 0.9.5 beta</h3>
|
3865 |
+
<ul>
|
3866 |
+
<li>XHTML support is now available! It can be enabled/disabled in the fck_config.js
|
3867 |
+
file. </li>
|
3868 |
+
<li>"Show Table Borders" option: show borders for tables with borders size
|
3869 |
+
set to zero. </li>
|
3870 |
+
<li>"Show Details" option: show hidden elements (comments, scripts, paragraphs,
|
3871 |
+
line breaks) </li>
|
3872 |
+
<li>IE behavior integration module. Thanks to Daniel Shryock. </li>
|
3873 |
+
<li>"Find" option: to find text in the document. </li>
|
3874 |
+
<li>More performance enhancements. </li>
|
3875 |
+
<li>New testsubmit.php file. Thansk to Jim Michaels. </li>
|
3876 |
+
<li>Two initial PHP upload manager implementations (not working yet). Thanks to Frederic
|
3877 |
+
Tyndiuk and Christian Liljedahl. </li>
|
3878 |
+
<li>Initial PHP image browser implementation (not working yet). Thanks to Frederic Tyndiuk.
|
3879 |
+
</li>
|
3880 |
+
<li>Initial CFM upload manager implementation. Thanks to John Watson. </li>
|
3881 |
+
</ul>
|
3882 |
+
<h3>
|
3883 |
+
Version 0.9.4 beta</h3>
|
3884 |
+
<ul>
|
3885 |
+
<li>ColdFusion module integration is now available! Thanks to John Watson. </li>
|
3886 |
+
<li>"Insert Smiley" toolbar option! Thanks to Fredox. Take a look at fck_config.js
|
3887 |
+
for configuration options. </li>
|
3888 |
+
<li>"Paste as plain text" toolbar option! </li>
|
3889 |
+
<li>Right click support for links (edit / remove). </li>
|
3890 |
+
<li>Buttons now are shown in gray when disabled. </li>
|
3891 |
+
<li>Buttons are shown just when the image is downloaded (no more "red x" while
|
3892 |
+
waiting for it). </li>
|
3893 |
+
<li>The toolbar background color can be set with a CSS style (see fck_editor.css). </li>
|
3894 |
+
<li>Toolbar images have been reviewed:
|
3895 |
+
<ul>
|
3896 |
+
<li>Now they are transparent. </li>
|
3897 |
+
<li>No more over...gif for every button (so the editor loads quicker). </li>
|
3898 |
+
<li>Buttons states are controlled with CSS styles. (see fck_editor.css).</li>
|
3899 |
+
</ul>
|
3900 |
+
</li>
|
3901 |
+
<li>Internet Explorer 5.0 compatibility, except for the image uploading popup. </li>
|
3902 |
+
<li>Optimizations when loading the editor. </li>
|
3903 |
+
<li>[SF BUG-709544] - Toolbar buttons wait for the images to be downloaded to start
|
3904 |
+
watching and responding the user actions (turn buttons on/off when the user changes
|
3905 |
+
position inside the editor). </li>
|
3906 |
+
<li>JavaScript integration is now Object Oriented. CreateFCKeditor function is not available
|
3907 |
+
anymore. Take a look in test.html. </li>
|
3908 |
+
<li>Two new configuration options, ImageBrowser and ImageUpload, are available to turn
|
3909 |
+
on and off the image upload and image browsing options in the Image dialog box.
|
3910 |
+
This options can be hidden for a specific editor instance throw specific URL parameter
|
3911 |
+
in the editor’s IFRAME (upload=true/false&browse=true/false). All specific
|
3912 |
+
language integration modules handle this option. For sample see the _test directory.
|
3913 |
+
</li>
|
3914 |
+
</ul>
|
3915 |
+
</body>
|
3916 |
+
</html>
|
fckeditor/editor/_source/classes/fckcontextmenu.js
CHANGED
@@ -1,223 +1,223 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* FCKContextMenu Class: renders an control a context menu.
|
22 |
-
*/
|
23 |
-
|
24 |
-
var FCKContextMenu = function( parentWindow, langDir )
|
25 |
-
{
|
26 |
-
this.CtrlDisable = false ;
|
27 |
-
|
28 |
-
var oPanel = this._Panel = new FCKPanel( parentWindow ) ;
|
29 |
-
oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ;
|
30 |
-
oPanel.IsContextMenu = true ;
|
31 |
-
|
32 |
-
// The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla
|
33 |
-
// so we stop the start of the dragging
|
34 |
-
if ( FCKBrowserInfo.IsGecko )
|
35 |
-
oPanel.Document.addEventListener( 'draggesture', function(e) {e.preventDefault(); return false;}, true ) ;
|
36 |
-
|
37 |
-
var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ;
|
38 |
-
oMenuBlock.Panel = oPanel ;
|
39 |
-
oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ;
|
40 |
-
|
41 |
-
this._Redraw = true ;
|
42 |
-
}
|
43 |
-
|
44 |
-
|
45 |
-
FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow )
|
46 |
-
{
|
47 |
-
if ( !FCKBrowserInfo.IsIE )
|
48 |
-
{
|
49 |
-
this._Document = mouseClickWindow.document ;
|
50 |
-
if ( FCKBrowserInfo.IsOpera && !( 'oncontextmenu' in document.createElement('foo') ) )
|
51 |
-
{
|
52 |
-
this._Document.addEventListener( 'mousedown', FCKContextMenu_Document_OnMouseDown, false ) ;
|
53 |
-
this._Document.addEventListener( 'mouseup', FCKContextMenu_Document_OnMouseUp, false ) ;
|
54 |
-
}
|
55 |
-
this._Document.addEventListener( 'contextmenu', FCKContextMenu_Document_OnContextMenu, false ) ;
|
56 |
-
}
|
57 |
-
}
|
58 |
-
|
59 |
-
/**
|
60 |
-
The customData parameter is just a value that will be send to the command that is executed,
|
61 |
-
so it's possible to reuse the same command for several items just by assigning different data for each one.
|
62 |
-
*/
|
63 |
-
FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData )
|
64 |
-
{
|
65 |
-
var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ;
|
66 |
-
this._Redraw = true ;
|
67 |
-
return oItem ;
|
68 |
-
}
|
69 |
-
|
70 |
-
FCKContextMenu.prototype.AddSeparator = function()
|
71 |
-
{
|
72 |
-
this._MenuBlock.AddSeparator() ;
|
73 |
-
this._Redraw = true ;
|
74 |
-
}
|
75 |
-
|
76 |
-
FCKContextMenu.prototype.RemoveAllItems = function()
|
77 |
-
{
|
78 |
-
this._MenuBlock.RemoveAllItems() ;
|
79 |
-
this._Redraw = true ;
|
80 |
-
}
|
81 |
-
|
82 |
-
FCKContextMenu.prototype.AttachToElement = function( element )
|
83 |
-
{
|
84 |
-
if ( FCKBrowserInfo.IsIE )
|
85 |
-
FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu, this ) ;
|
86 |
-
else
|
87 |
-
element._FCKContextMenu = this ;
|
88 |
-
}
|
89 |
-
|
90 |
-
function FCKContextMenu_Document_OnContextMenu( e )
|
91 |
-
{
|
92 |
-
if ( FCKConfig.BrowserContextMenu )
|
93 |
-
return true ;
|
94 |
-
|
95 |
-
var el = e.target ;
|
96 |
-
|
97 |
-
while ( el )
|
98 |
-
{
|
99 |
-
if ( el._FCKContextMenu )
|
100 |
-
{
|
101 |
-
if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) )
|
102 |
-
return true ;
|
103 |
-
|
104 |
-
FCKTools.CancelEvent( e ) ;
|
105 |
-
FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ;
|
106 |
-
return false ;
|
107 |
-
}
|
108 |
-
el = el.parentNode ;
|
109 |
-
}
|
110 |
-
return true ;
|
111 |
-
}
|
112 |
-
|
113 |
-
var FCKContextMenu_OverrideButton ;
|
114 |
-
|
115 |
-
function FCKContextMenu_Document_OnMouseDown( e )
|
116 |
-
{
|
117 |
-
if( !e || e.button != 2 )
|
118 |
-
return false ;
|
119 |
-
|
120 |
-
if ( FCKConfig.BrowserContextMenu )
|
121 |
-
return true ;
|
122 |
-
|
123 |
-
var el = e.target ;
|
124 |
-
|
125 |
-
while ( el )
|
126 |
-
{
|
127 |
-
if ( el._FCKContextMenu )
|
128 |
-
{
|
129 |
-
if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) )
|
130 |
-
return true ;
|
131 |
-
|
132 |
-
var overrideButton = FCKContextMenu_OverrideButton ;
|
133 |
-
if( !overrideButton )
|
134 |
-
{
|
135 |
-
var doc = FCKTools.GetElementDocument( e.target ) ;
|
136 |
-
overrideButton = FCKContextMenu_OverrideButton = doc.createElement('input') ;
|
137 |
-
overrideButton.type = 'button' ;
|
138 |
-
var buttonHolder = doc.createElement('p') ;
|
139 |
-
doc.body.appendChild( buttonHolder ) ;
|
140 |
-
buttonHolder.appendChild( overrideButton ) ;
|
141 |
-
}
|
142 |
-
|
143 |
-
overrideButton.style.cssText = 'position:absolute;top:' + ( e.clientY - 2 ) +
|
144 |
-
'px;left:' + ( e.clientX - 2 ) +
|
145 |
-
'px;width:5px;height:5px;opacity:0.01' ;
|
146 |
-
}
|
147 |
-
el = el.parentNode ;
|
148 |
-
}
|
149 |
-
return false ;
|
150 |
-
}
|
151 |
-
|
152 |
-
function FCKContextMenu_Document_OnMouseUp( e )
|
153 |
-
{
|
154 |
-
if ( FCKConfig.BrowserContextMenu )
|
155 |
-
return true ;
|
156 |
-
|
157 |
-
var overrideButton = FCKContextMenu_OverrideButton ;
|
158 |
-
|
159 |
-
if ( overrideButton )
|
160 |
-
{
|
161 |
-
var parent = overrideButton.parentNode ;
|
162 |
-
parent.parentNode.removeChild( parent ) ;
|
163 |
-
FCKContextMenu_OverrideButton = undefined ;
|
164 |
-
|
165 |
-
if( e && e.button == 2 )
|
166 |
-
{
|
167 |
-
FCKContextMenu_Document_OnContextMenu( e ) ;
|
168 |
-
return false ;
|
169 |
-
}
|
170 |
-
}
|
171 |
-
return true ;
|
172 |
-
}
|
173 |
-
|
174 |
-
function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el )
|
175 |
-
{
|
176 |
-
if ( ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) || FCKConfig.BrowserContextMenu )
|
177 |
-
return true ;
|
178 |
-
|
179 |
-
var eTarget = el || this ;
|
180 |
-
|
181 |
-
if ( fckContextMenu.OnBeforeOpen )
|
182 |
-
fckContextMenu.OnBeforeOpen.call( fckContextMenu, eTarget ) ;
|
183 |
-
|
184 |
-
if ( fckContextMenu._MenuBlock.Count() == 0 )
|
185 |
-
return false ;
|
186 |
-
|
187 |
-
if ( fckContextMenu._Redraw )
|
188 |
-
{
|
189 |
-
fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ;
|
190 |
-
fckContextMenu._Redraw = false ;
|
191 |
-
}
|
192 |
-
|
193 |
-
// This will avoid that the content of the context menu can be dragged in IE
|
194 |
-
// as the content of the panel is recreated we need to do it every time
|
195 |
-
FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ;
|
196 |
-
|
197 |
-
var x = 0 ;
|
198 |
-
var y = 0 ;
|
199 |
-
if ( FCKBrowserInfo.IsIE )
|
200 |
-
{
|
201 |
-
x = ev.screenX ;
|
202 |
-
y = ev.screenY ;
|
203 |
-
}
|
204 |
-
else if ( FCKBrowserInfo.IsSafari )
|
205 |
-
{
|
206 |
-
x = ev.clientX ;
|
207 |
-
y = ev.clientY ;
|
208 |
-
}
|
209 |
-
else
|
210 |
-
{
|
211 |
-
x = ev.pageX ;
|
212 |
-
y = ev.pageY ;
|
213 |
-
}
|
214 |
-
fckContextMenu._Panel.Show( x, y, ev.currentTarget || null ) ;
|
215 |
-
|
216 |
-
return false ;
|
217 |
-
}
|
218 |
-
|
219 |
-
function FCKContextMenu_MenuBlock_OnClick( menuItem, contextMenu )
|
220 |
-
{
|
221 |
-
contextMenu._Panel.Hide() ;
|
222 |
-
FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ;
|
223 |
-
}
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* FCKContextMenu Class: renders an control a context menu.
|
22 |
+
*/
|
23 |
+
|
24 |
+
var FCKContextMenu = function( parentWindow, langDir )
|
25 |
+
{
|
26 |
+
this.CtrlDisable = false ;
|
27 |
+
|
28 |
+
var oPanel = this._Panel = new FCKPanel( parentWindow ) ;
|
29 |
+
oPanel.AppendStyleSheet( FCKConfig.SkinEditorCSS ) ;
|
30 |
+
oPanel.IsContextMenu = true ;
|
31 |
+
|
32 |
+
// The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla
|
33 |
+
// so we stop the start of the dragging
|
34 |
+
if ( FCKBrowserInfo.IsGecko )
|
35 |
+
oPanel.Document.addEventListener( 'draggesture', function(e) {e.preventDefault(); return false;}, true ) ;
|
36 |
+
|
37 |
+
var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ;
|
38 |
+
oMenuBlock.Panel = oPanel ;
|
39 |
+
oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ;
|
40 |
+
|
41 |
+
this._Redraw = true ;
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow )
|
46 |
+
{
|
47 |
+
if ( !FCKBrowserInfo.IsIE )
|
48 |
+
{
|
49 |
+
this._Document = mouseClickWindow.document ;
|
50 |
+
if ( FCKBrowserInfo.IsOpera && !( 'oncontextmenu' in document.createElement('foo') ) )
|
51 |
+
{
|
52 |
+
this._Document.addEventListener( 'mousedown', FCKContextMenu_Document_OnMouseDown, false ) ;
|
53 |
+
this._Document.addEventListener( 'mouseup', FCKContextMenu_Document_OnMouseUp, false ) ;
|
54 |
+
}
|
55 |
+
this._Document.addEventListener( 'contextmenu', FCKContextMenu_Document_OnContextMenu, false ) ;
|
56 |
+
}
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
The customData parameter is just a value that will be send to the command that is executed,
|
61 |
+
so it's possible to reuse the same command for several items just by assigning different data for each one.
|
62 |
+
*/
|
63 |
+
FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData )
|
64 |
+
{
|
65 |
+
var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled, customData ) ;
|
66 |
+
this._Redraw = true ;
|
67 |
+
return oItem ;
|
68 |
+
}
|
69 |
+
|
70 |
+
FCKContextMenu.prototype.AddSeparator = function()
|
71 |
+
{
|
72 |
+
this._MenuBlock.AddSeparator() ;
|
73 |
+
this._Redraw = true ;
|
74 |
+
}
|
75 |
+
|
76 |
+
FCKContextMenu.prototype.RemoveAllItems = function()
|
77 |
+
{
|
78 |
+
this._MenuBlock.RemoveAllItems() ;
|
79 |
+
this._Redraw = true ;
|
80 |
+
}
|
81 |
+
|
82 |
+
FCKContextMenu.prototype.AttachToElement = function( element )
|
83 |
+
{
|
84 |
+
if ( FCKBrowserInfo.IsIE )
|
85 |
+
FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu, this ) ;
|
86 |
+
else
|
87 |
+
element._FCKContextMenu = this ;
|
88 |
+
}
|
89 |
+
|
90 |
+
function FCKContextMenu_Document_OnContextMenu( e )
|
91 |
+
{
|
92 |
+
if ( FCKConfig.BrowserContextMenu )
|
93 |
+
return true ;
|
94 |
+
|
95 |
+
var el = e.target ;
|
96 |
+
|
97 |
+
while ( el )
|
98 |
+
{
|
99 |
+
if ( el._FCKContextMenu )
|
100 |
+
{
|
101 |
+
if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) )
|
102 |
+
return true ;
|
103 |
+
|
104 |
+
FCKTools.CancelEvent( e ) ;
|
105 |
+
FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ;
|
106 |
+
return false ;
|
107 |
+
}
|
108 |
+
el = el.parentNode ;
|
109 |
+
}
|
110 |
+
return true ;
|
111 |
+
}
|
112 |
+
|
113 |
+
var FCKContextMenu_OverrideButton ;
|
114 |
+
|
115 |
+
function FCKContextMenu_Document_OnMouseDown( e )
|
116 |
+
{
|
117 |
+
if( !e || e.button != 2 )
|
118 |
+
return false ;
|
119 |
+
|
120 |
+
if ( FCKConfig.BrowserContextMenu )
|
121 |
+
return true ;
|
122 |
+
|
123 |
+
var el = e.target ;
|
124 |
+
|
125 |
+
while ( el )
|
126 |
+
{
|
127 |
+
if ( el._FCKContextMenu )
|
128 |
+
{
|
129 |
+
if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) )
|
130 |
+
return true ;
|
131 |
+
|
132 |
+
var overrideButton = FCKContextMenu_OverrideButton ;
|
133 |
+
if( !overrideButton )
|
134 |
+
{
|
135 |
+
var doc = FCKTools.GetElementDocument( e.target ) ;
|
136 |
+
overrideButton = FCKContextMenu_OverrideButton = doc.createElement('input') ;
|
137 |
+
overrideButton.type = 'button' ;
|
138 |
+
var buttonHolder = doc.createElement('p') ;
|
139 |
+
doc.body.appendChild( buttonHolder ) ;
|
140 |
+
buttonHolder.appendChild( overrideButton ) ;
|
141 |
+
}
|
142 |
+
|
143 |
+
overrideButton.style.cssText = 'position:absolute;top:' + ( e.clientY - 2 ) +
|
144 |
+
'px;left:' + ( e.clientX - 2 ) +
|
145 |
+
'px;width:5px;height:5px;opacity:0.01' ;
|
146 |
+
}
|
147 |
+
el = el.parentNode ;
|
148 |
+
}
|
149 |
+
return false ;
|
150 |
+
}
|
151 |
+
|
152 |
+
function FCKContextMenu_Document_OnMouseUp( e )
|
153 |
+
{
|
154 |
+
if ( FCKConfig.BrowserContextMenu )
|
155 |
+
return true ;
|
156 |
+
|
157 |
+
var overrideButton = FCKContextMenu_OverrideButton ;
|
158 |
+
|
159 |
+
if ( overrideButton )
|
160 |
+
{
|
161 |
+
var parent = overrideButton.parentNode ;
|
162 |
+
parent.parentNode.removeChild( parent ) ;
|
163 |
+
FCKContextMenu_OverrideButton = undefined ;
|
164 |
+
|
165 |
+
if( e && e.button == 2 )
|
166 |
+
{
|
167 |
+
FCKContextMenu_Document_OnContextMenu( e ) ;
|
168 |
+
return false ;
|
169 |
+
}
|
170 |
+
}
|
171 |
+
return true ;
|
172 |
+
}
|
173 |
+
|
174 |
+
function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el )
|
175 |
+
{
|
176 |
+
if ( ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) || FCKConfig.BrowserContextMenu )
|
177 |
+
return true ;
|
178 |
+
|
179 |
+
var eTarget = el || this ;
|
180 |
+
|
181 |
+
if ( fckContextMenu.OnBeforeOpen )
|
182 |
+
fckContextMenu.OnBeforeOpen.call( fckContextMenu, eTarget ) ;
|
183 |
+
|
184 |
+
if ( fckContextMenu._MenuBlock.Count() == 0 )
|
185 |
+
return false ;
|
186 |
+
|
187 |
+
if ( fckContextMenu._Redraw )
|
188 |
+
{
|
189 |
+
fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ;
|
190 |
+
fckContextMenu._Redraw = false ;
|
191 |
+
}
|
192 |
+
|
193 |
+
// This will avoid that the content of the context menu can be dragged in IE
|
194 |
+
// as the content of the panel is recreated we need to do it every time
|
195 |
+
FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ;
|
196 |
+
|
197 |
+
var x = 0 ;
|
198 |
+
var y = 0 ;
|
199 |
+
if ( FCKBrowserInfo.IsIE )
|
200 |
+
{
|
201 |
+
x = ev.screenX ;
|
202 |
+
y = ev.screenY ;
|
203 |
+
}
|
204 |
+
else if ( FCKBrowserInfo.IsSafari )
|
205 |
+
{
|
206 |
+
x = ev.clientX ;
|
207 |
+
y = ev.clientY ;
|
208 |
+
}
|
209 |
+
else
|
210 |
+
{
|
211 |
+
x = ev.pageX ;
|
212 |
+
y = ev.pageY ;
|
213 |
+
}
|
214 |
+
fckContextMenu._Panel.Show( x, y, ev.currentTarget || null ) ;
|
215 |
+
|
216 |
+
return false ;
|
217 |
+
}
|
218 |
+
|
219 |
+
function FCKContextMenu_MenuBlock_OnClick( menuItem, contextMenu )
|
220 |
+
{
|
221 |
+
contextMenu._Panel.Hide() ;
|
222 |
+
FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ;
|
223 |
+
}
|
fckeditor/editor/_source/classes/fckdataprocessor.js
CHANGED
@@ -1,119 +1,119 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* The Data Processor is responsible for transforming the input and output data
|
22 |
-
* in the editor. For more info:
|
23 |
-
* http://dev.fckeditor.net/wiki/Components/DataProcessor
|
24 |
-
*
|
25 |
-
* The default implementation offers the base XHTML compatibility features of
|
26 |
-
* FCKeditor. Further Data Processors may be implemented for other purposes.
|
27 |
-
*
|
28 |
-
*/
|
29 |
-
|
30 |
-
var FCKDataProcessor = function()
|
31 |
-
{}
|
32 |
-
|
33 |
-
FCKDataProcessor.prototype =
|
34 |
-
{
|
35 |
-
/*
|
36 |
-
* Returns a string representing the HTML format of "data". The returned
|
37 |
-
* value will be loaded in the editor.
|
38 |
-
* The HTML must be from <html> to </html>, including <head>, <body> and
|
39 |
-
* eventually the DOCTYPE.
|
40 |
-
* Note: HTML comments may already be part of the data because of the
|
41 |
-
* pre-processing made with ProtectedSource.
|
42 |
-
* @param {String} data The data to be converted in the
|
43 |
-
* DataProcessor specific format.
|
44 |
-
*/
|
45 |
-
ConvertToHtml : function( data )
|
46 |
-
{
|
47 |
-
// The default data processor must handle two different cases depending
|
48 |
-
// on the FullPage setting. Custom Data Processors will not be
|
49 |
-
// compatible with FullPage, much probably.
|
50 |
-
if ( FCKConfig.FullPage )
|
51 |
-
{
|
52 |
-
// Save the DOCTYPE.
|
53 |
-
FCK.DocTypeDeclaration = data.match( FCKRegexLib.DocTypeTag ) ;
|
54 |
-
|
55 |
-
// Check if the <body> tag is available.
|
56 |
-
if ( !FCKRegexLib.HasBodyTag.test( data ) )
|
57 |
-
data = '<body>' + data + '</body>' ;
|
58 |
-
|
59 |
-
// Check if the <html> tag is available.
|
60 |
-
if ( !FCKRegexLib.HtmlOpener.test( data ) )
|
61 |
-
data = '<html dir="' + FCKConfig.ContentLangDirection + '">' + data + '</html>' ;
|
62 |
-
|
63 |
-
// Check if the <head> tag is available.
|
64 |
-
if ( !FCKRegexLib.HeadOpener.test( data ) )
|
65 |
-
data = data.replace( FCKRegexLib.HtmlOpener, '$&<head><title></title></head>' ) ;
|
66 |
-
|
67 |
-
return data ;
|
68 |
-
}
|
69 |
-
else
|
70 |
-
{
|
71 |
-
var html =
|
72 |
-
FCKConfig.DocType +
|
73 |
-
'<html dir="' + FCKConfig.ContentLangDirection + '"' ;
|
74 |
-
|
75 |
-
// On IE, if you are using a DOCTYPE different of HTML 4 (like
|
76 |
-
// XHTML), you must force the vertical scroll to show, otherwise
|
77 |
-
// the horizontal one may appear when the page needs vertical scrolling.
|
78 |
-
// TODO : Check it with IE7 and make it IE6- if it is the case.
|
79 |
-
if ( FCKBrowserInfo.IsIE && FCKConfig.DocType.length > 0 && !FCKRegexLib.Html4DocType.test( FCKConfig.DocType ) )
|
80 |
-
html += ' style="overflow-y: scroll"' ;
|
81 |
-
|
82 |
-
html += '><head><title></title></head>' +
|
83 |
-
'<body' + FCKConfig.GetBodyAttributes() + '>' +
|
84 |
-
data +
|
85 |
-
'</body></html>' ;
|
86 |
-
|
87 |
-
return html ;
|
88 |
-
}
|
89 |
-
},
|
90 |
-
|
91 |
-
/*
|
92 |
-
* Converts a DOM (sub-)tree to a string in the data format.
|
93 |
-
* @param {Object} rootNode The node that contains the DOM tree to be
|
94 |
-
* converted to the data format.
|
95 |
-
* @param {Boolean} excludeRoot Indicates that the root node must not
|
96 |
-
* be included in the conversion, only its children.
|
97 |
-
* @param {Boolean} format Indicates that the data must be formatted
|
98 |
-
* for human reading. Not all Data Processors may provide it.
|
99 |
-
*/
|
100 |
-
ConvertToDataFormat : function( rootNode, excludeRoot, ignoreIfEmptyParagraph, format )
|
101 |
-
{
|
102 |
-
var data = FCKXHtml.GetXHTML( rootNode, !excludeRoot, format ) ;
|
103 |
-
|
104 |
-
if ( ignoreIfEmptyParagraph && FCKRegexLib.EmptyOutParagraph.test( data ) )
|
105 |
-
return '' ;
|
106 |
-
|
107 |
-
return data ;
|
108 |
-
},
|
109 |
-
|
110 |
-
/*
|
111 |
-
* Makes any necessary changes to a piece of HTML for insertion in the
|
112 |
-
* editor selection position.
|
113 |
-
* @param {String} html The HTML to be fixed.
|
114 |
-
*/
|
115 |
-
FixHtml : function( html )
|
116 |
-
{
|
117 |
-
return html ;
|
118 |
-
}
|
119 |
-
} ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* The Data Processor is responsible for transforming the input and output data
|
22 |
+
* in the editor. For more info:
|
23 |
+
* http://dev.fckeditor.net/wiki/Components/DataProcessor
|
24 |
+
*
|
25 |
+
* The default implementation offers the base XHTML compatibility features of
|
26 |
+
* FCKeditor. Further Data Processors may be implemented for other purposes.
|
27 |
+
*
|
28 |
+
*/
|
29 |
+
|
30 |
+
var FCKDataProcessor = function()
|
31 |
+
{}
|
32 |
+
|
33 |
+
FCKDataProcessor.prototype =
|
34 |
+
{
|
35 |
+
/*
|
36 |
+
* Returns a string representing the HTML format of "data". The returned
|
37 |
+
* value will be loaded in the editor.
|
38 |
+
* The HTML must be from <html> to </html>, including <head>, <body> and
|
39 |
+
* eventually the DOCTYPE.
|
40 |
+
* Note: HTML comments may already be part of the data because of the
|
41 |
+
* pre-processing made with ProtectedSource.
|
42 |
+
* @param {String} data The data to be converted in the
|
43 |
+
* DataProcessor specific format.
|
44 |
+
*/
|
45 |
+
ConvertToHtml : function( data )
|
46 |
+
{
|
47 |
+
// The default data processor must handle two different cases depending
|
48 |
+
// on the FullPage setting. Custom Data Processors will not be
|
49 |
+
// compatible with FullPage, much probably.
|
50 |
+
if ( FCKConfig.FullPage )
|
51 |
+
{
|
52 |
+
// Save the DOCTYPE.
|
53 |
+
FCK.DocTypeDeclaration = data.match( FCKRegexLib.DocTypeTag ) ;
|
54 |
+
|
55 |
+
// Check if the <body> tag is available.
|
56 |
+
if ( !FCKRegexLib.HasBodyTag.test( data ) )
|
57 |
+
data = '<body>' + data + '</body>' ;
|
58 |
+
|
59 |
+
// Check if the <html> tag is available.
|
60 |
+
if ( !FCKRegexLib.HtmlOpener.test( data ) )
|
61 |
+
data = '<html dir="' + FCKConfig.ContentLangDirection + '">' + data + '</html>' ;
|
62 |
+
|
63 |
+
// Check if the <head> tag is available.
|
64 |
+
if ( !FCKRegexLib.HeadOpener.test( data ) )
|
65 |
+
data = data.replace( FCKRegexLib.HtmlOpener, '$&<head><title></title></head>' ) ;
|
66 |
+
|
67 |
+
return data ;
|
68 |
+
}
|
69 |
+
else
|
70 |
+
{
|
71 |
+
var html =
|
72 |
+
FCKConfig.DocType +
|
73 |
+
'<html dir="' + FCKConfig.ContentLangDirection + '"' ;
|
74 |
+
|
75 |
+
// On IE, if you are using a DOCTYPE different of HTML 4 (like
|
76 |
+
// XHTML), you must force the vertical scroll to show, otherwise
|
77 |
+
// the horizontal one may appear when the page needs vertical scrolling.
|
78 |
+
// TODO : Check it with IE7 and make it IE6- if it is the case.
|
79 |
+
if ( FCKBrowserInfo.IsIE && FCKConfig.DocType.length > 0 && !FCKRegexLib.Html4DocType.test( FCKConfig.DocType ) )
|
80 |
+
html += ' style="overflow-y: scroll"' ;
|
81 |
+
|
82 |
+
html += '><head><title></title></head>' +
|
83 |
+
'<body' + FCKConfig.GetBodyAttributes() + '>' +
|
84 |
+
data +
|
85 |
+
'</body></html>' ;
|
86 |
+
|
87 |
+
return html ;
|
88 |
+
}
|
89 |
+
},
|
90 |
+
|
91 |
+
/*
|
92 |
+
* Converts a DOM (sub-)tree to a string in the data format.
|
93 |
+
* @param {Object} rootNode The node that contains the DOM tree to be
|
94 |
+
* converted to the data format.
|
95 |
+
* @param {Boolean} excludeRoot Indicates that the root node must not
|
96 |
+
* be included in the conversion, only its children.
|
97 |
+
* @param {Boolean} format Indicates that the data must be formatted
|
98 |
+
* for human reading. Not all Data Processors may provide it.
|
99 |
+
*/
|
100 |
+
ConvertToDataFormat : function( rootNode, excludeRoot, ignoreIfEmptyParagraph, format )
|
101 |
+
{
|
102 |
+
var data = FCKXHtml.GetXHTML( rootNode, !excludeRoot, format ) ;
|
103 |
+
|
104 |
+
if ( ignoreIfEmptyParagraph && FCKRegexLib.EmptyOutParagraph.test( data ) )
|
105 |
+
return '' ;
|
106 |
+
|
107 |
+
return data ;
|
108 |
+
},
|
109 |
+
|
110 |
+
/*
|
111 |
+
* Makes any necessary changes to a piece of HTML for insertion in the
|
112 |
+
* editor selection position.
|
113 |
+
* @param {String} html The HTML to be fixed.
|
114 |
+
*/
|
115 |
+
FixHtml : function( html )
|
116 |
+
{
|
117 |
+
return html ;
|
118 |
+
}
|
119 |
+
} ;
|
fckeditor/editor/_source/classes/fckdocumentfragment_gecko.js
CHANGED
@@ -1,53 +1,53 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This is a generic Document Fragment object. It is not intended to provide
|
22 |
-
* the W3C implementation, but is a way to fix the missing of a real Document
|
23 |
-
* Fragment in IE (where document.createDocumentFragment() returns a normal
|
24 |
-
* document instead), giving a standard interface for it.
|
25 |
-
* (IE Implementation)
|
26 |
-
*/
|
27 |
-
|
28 |
-
var FCKDocumentFragment = function( parentDocument, baseDocFrag )
|
29 |
-
{
|
30 |
-
this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ;
|
31 |
-
}
|
32 |
-
|
33 |
-
FCKDocumentFragment.prototype =
|
34 |
-
{
|
35 |
-
|
36 |
-
// Append the contents of this Document Fragment to another element.
|
37 |
-
AppendTo : function( targetNode )
|
38 |
-
{
|
39 |
-
targetNode.appendChild( this.RootNode ) ;
|
40 |
-
},
|
41 |
-
|
42 |
-
AppendHtml : function( html )
|
43 |
-
{
|
44 |
-
var eTmpDiv = this.RootNode.ownerDocument.createElement( 'div' ) ;
|
45 |
-
eTmpDiv.innerHTML = html ;
|
46 |
-
FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
|
47 |
-
},
|
48 |
-
|
49 |
-
InsertAfterNode : function( existingNode )
|
50 |
-
{
|
51 |
-
FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ;
|
52 |
-
}
|
53 |
-
}
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* This is a generic Document Fragment object. It is not intended to provide
|
22 |
+
* the W3C implementation, but is a way to fix the missing of a real Document
|
23 |
+
* Fragment in IE (where document.createDocumentFragment() returns a normal
|
24 |
+
* document instead), giving a standard interface for it.
|
25 |
+
* (IE Implementation)
|
26 |
+
*/
|
27 |
+
|
28 |
+
var FCKDocumentFragment = function( parentDocument, baseDocFrag )
|
29 |
+
{
|
30 |
+
this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ;
|
31 |
+
}
|
32 |
+
|
33 |
+
FCKDocumentFragment.prototype =
|
34 |
+
{
|
35 |
+
|
36 |
+
// Append the contents of this Document Fragment to another element.
|
37 |
+
AppendTo : function( targetNode )
|
38 |
+
{
|
39 |
+
targetNode.appendChild( this.RootNode ) ;
|
40 |
+
},
|
41 |
+
|
42 |
+
AppendHtml : function( html )
|
43 |
+
{
|
44 |
+
var eTmpDiv = this.RootNode.ownerDocument.createElement( 'div' ) ;
|
45 |
+
eTmpDiv.innerHTML = html ;
|
46 |
+
FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
|
47 |
+
},
|
48 |
+
|
49 |
+
InsertAfterNode : function( existingNode )
|
50 |
+
{
|
51 |
+
FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ;
|
52 |
+
}
|
53 |
+
}
|
fckeditor/editor/_source/classes/fckdocumentfragment_ie.js
CHANGED
@@ -1,58 +1,58 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This is a generic Document Fragment object. It is not intended to provide
|
22 |
-
* the W3C implementation, but is a way to fix the missing of a real Document
|
23 |
-
* Fragment in IE (where document.createDocumentFragment() returns a normal
|
24 |
-
* document instead), giving a standard interface for it.
|
25 |
-
* (IE Implementation)
|
26 |
-
*/
|
27 |
-
|
28 |
-
var FCKDocumentFragment = function( parentDocument )
|
29 |
-
{
|
30 |
-
this._Document = parentDocument ;
|
31 |
-
this.RootNode = parentDocument.createElement( 'div' ) ;
|
32 |
-
}
|
33 |
-
|
34 |
-
// Append the contents of this Document Fragment to another node.
|
35 |
-
FCKDocumentFragment.prototype =
|
36 |
-
{
|
37 |
-
|
38 |
-
AppendTo : function( targetNode )
|
39 |
-
{
|
40 |
-
FCKDomTools.MoveChildren( this.RootNode, targetNode ) ;
|
41 |
-
},
|
42 |
-
|
43 |
-
AppendHtml : function( html )
|
44 |
-
{
|
45 |
-
var eTmpDiv = this._Document.createElement( 'div' ) ;
|
46 |
-
eTmpDiv.innerHTML = html ;
|
47 |
-
FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
|
48 |
-
},
|
49 |
-
|
50 |
-
InsertAfterNode : function( existingNode )
|
51 |
-
{
|
52 |
-
var eRoot = this.RootNode ;
|
53 |
-
var eLast ;
|
54 |
-
|
55 |
-
while( ( eLast = eRoot.lastChild ) )
|
56 |
-
FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ;
|
57 |
-
}
|
58 |
-
} ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* This is a generic Document Fragment object. It is not intended to provide
|
22 |
+
* the W3C implementation, but is a way to fix the missing of a real Document
|
23 |
+
* Fragment in IE (where document.createDocumentFragment() returns a normal
|
24 |
+
* document instead), giving a standard interface for it.
|
25 |
+
* (IE Implementation)
|
26 |
+
*/
|
27 |
+
|
28 |
+
var FCKDocumentFragment = function( parentDocument )
|
29 |
+
{
|
30 |
+
this._Document = parentDocument ;
|
31 |
+
this.RootNode = parentDocument.createElement( 'div' ) ;
|
32 |
+
}
|
33 |
+
|
34 |
+
// Append the contents of this Document Fragment to another node.
|
35 |
+
FCKDocumentFragment.prototype =
|
36 |
+
{
|
37 |
+
|
38 |
+
AppendTo : function( targetNode )
|
39 |
+
{
|
40 |
+
FCKDomTools.MoveChildren( this.RootNode, targetNode ) ;
|
41 |
+
},
|
42 |
+
|
43 |
+
AppendHtml : function( html )
|
44 |
+
{
|
45 |
+
var eTmpDiv = this._Document.createElement( 'div' ) ;
|
46 |
+
eTmpDiv.innerHTML = html ;
|
47 |
+
FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ;
|
48 |
+
},
|
49 |
+
|
50 |
+
InsertAfterNode : function( existingNode )
|
51 |
+
{
|
52 |
+
var eRoot = this.RootNode ;
|
53 |
+
var eLast ;
|
54 |
+
|
55 |
+
while( ( eLast = eRoot.lastChild ) )
|
56 |
+
FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ;
|
57 |
+
}
|
58 |
+
} ;
|
fckeditor/editor/_source/classes/fckdomrange.js
CHANGED
@@ -1,935 +1,935 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Class for working with a selection range, much like the W3C DOM Range, but
|
22 |
-
* it is not intended to be an implementation of the W3C interface.
|
23 |
-
*/
|
24 |
-
|
25 |
-
var FCKDomRange = function( sourceWindow )
|
26 |
-
{
|
27 |
-
this.Window = sourceWindow ;
|
28 |
-
this._Cache = {} ;
|
29 |
-
}
|
30 |
-
|
31 |
-
FCKDomRange.prototype =
|
32 |
-
{
|
33 |
-
|
34 |
-
_UpdateElementInfo : function()
|
35 |
-
{
|
36 |
-
var innerRange = this._Range ;
|
37 |
-
|
38 |
-
if ( !innerRange )
|
39 |
-
this.Release( true ) ;
|
40 |
-
else
|
41 |
-
{
|
42 |
-
// For text nodes, the node itself is the StartNode.
|
43 |
-
var eStart = innerRange.startContainer ;
|
44 |
-
|
45 |
-
var oElementPath = new FCKElementPath( eStart ) ;
|
46 |
-
this.StartNode = eStart.nodeType == 3 ? eStart : eStart.childNodes[ innerRange.startOffset ] ;
|
47 |
-
this.StartContainer = eStart ;
|
48 |
-
this.StartBlock = oElementPath.Block ;
|
49 |
-
this.StartBlockLimit = oElementPath.BlockLimit ;
|
50 |
-
|
51 |
-
if ( innerRange.collapsed )
|
52 |
-
{
|
53 |
-
this.EndNode = this.StartNode ;
|
54 |
-
this.EndContainer = this.StartContainer ;
|
55 |
-
this.EndBlock = this.StartBlock ;
|
56 |
-
this.EndBlockLimit = this.StartBlockLimit ;
|
57 |
-
}
|
58 |
-
else
|
59 |
-
{
|
60 |
-
var eEnd = innerRange.endContainer ;
|
61 |
-
|
62 |
-
if ( eStart != eEnd )
|
63 |
-
oElementPath = new FCKElementPath( eEnd ) ;
|
64 |
-
|
65 |
-
// The innerRange.endContainer[ innerRange.endOffset ] is not
|
66 |
-
// usually part of the range, but the marker for the range end. So,
|
67 |
-
// let's get the previous available node as the real end.
|
68 |
-
var eEndNode = eEnd ;
|
69 |
-
if ( innerRange.endOffset == 0 )
|
70 |
-
{
|
71 |
-
while ( eEndNode && !eEndNode.previousSibling )
|
72 |
-
eEndNode = eEndNode.parentNode ;
|
73 |
-
|
74 |
-
if ( eEndNode )
|
75 |
-
eEndNode = eEndNode.previousSibling ;
|
76 |
-
}
|
77 |
-
else if ( eEndNode.nodeType == 1 )
|
78 |
-
eEndNode = eEndNode.childNodes[ innerRange.endOffset - 1 ] ;
|
79 |
-
|
80 |
-
this.EndNode = eEndNode ;
|
81 |
-
this.EndContainer = eEnd ;
|
82 |
-
this.EndBlock = oElementPath.Block ;
|
83 |
-
this.EndBlockLimit = oElementPath.BlockLimit ;
|
84 |
-
}
|
85 |
-
}
|
86 |
-
|
87 |
-
this._Cache = {} ;
|
88 |
-
},
|
89 |
-
|
90 |
-
CreateRange : function()
|
91 |
-
{
|
92 |
-
return new FCKW3CRange( this.Window.document ) ;
|
93 |
-
},
|
94 |
-
|
95 |
-
DeleteContents : function()
|
96 |
-
{
|
97 |
-
if ( this._Range )
|
98 |
-
{
|
99 |
-
this._Range.deleteContents() ;
|
100 |
-
this._UpdateElementInfo() ;
|
101 |
-
}
|
102 |
-
},
|
103 |
-
|
104 |
-
ExtractContents : function()
|
105 |
-
{
|
106 |
-
if ( this._Range )
|
107 |
-
{
|
108 |
-
var docFrag = this._Range.extractContents() ;
|
109 |
-
this._UpdateElementInfo() ;
|
110 |
-
return docFrag ;
|
111 |
-
}
|
112 |
-
return null ;
|
113 |
-
},
|
114 |
-
|
115 |
-
CheckIsCollapsed : function()
|
116 |
-
{
|
117 |
-
if ( this._Range )
|
118 |
-
return this._Range.collapsed ;
|
119 |
-
|
120 |
-
return false ;
|
121 |
-
},
|
122 |
-
|
123 |
-
Collapse : function( toStart )
|
124 |
-
{
|
125 |
-
if ( this._Range )
|
126 |
-
this._Range.collapse( toStart ) ;
|
127 |
-
|
128 |
-
this._UpdateElementInfo() ;
|
129 |
-
},
|
130 |
-
|
131 |
-
Clone : function()
|
132 |
-
{
|
133 |
-
var oClone = FCKTools.CloneObject( this ) ;
|
134 |
-
|
135 |
-
if ( this._Range )
|
136 |
-
oClone._Range = this._Range.cloneRange() ;
|
137 |
-
|
138 |
-
return oClone ;
|
139 |
-
},
|
140 |
-
|
141 |
-
MoveToNodeContents : function( targetNode )
|
142 |
-
{
|
143 |
-
if ( !this._Range )
|
144 |
-
this._Range = this.CreateRange() ;
|
145 |
-
|
146 |
-
this._Range.selectNodeContents( targetNode ) ;
|
147 |
-
|
148 |
-
this._UpdateElementInfo() ;
|
149 |
-
},
|
150 |
-
|
151 |
-
MoveToElementStart : function( targetElement )
|
152 |
-
{
|
153 |
-
this.SetStart(targetElement,1) ;
|
154 |
-
this.SetEnd(targetElement,1) ;
|
155 |
-
},
|
156 |
-
|
157 |
-
// Moves to the first editing point inside a element. For example, in a
|
158 |
-
// element tree like "<p><b><i></i></b> Text</p>", the start editing point
|
159 |
-
// is "<p><b><i>^</i></b> Text</p>" (inside <i>).
|
160 |
-
MoveToElementEditStart : function( targetElement )
|
161 |
-
{
|
162 |
-
var editableElement ;
|
163 |
-
|
164 |
-
while ( targetElement && targetElement.nodeType == 1 )
|
165 |
-
{
|
166 |
-
if ( FCKDomTools.CheckIsEditable( targetElement ) )
|
167 |
-
editableElement = targetElement ;
|
168 |
-
else if ( editableElement )
|
169 |
-
break ; // If we already found an editable element, stop the loop.
|
170 |
-
|
171 |
-
targetElement = targetElement.firstChild ;
|
172 |
-
}
|
173 |
-
|
174 |
-
if ( editableElement )
|
175 |
-
this.MoveToElementStart( editableElement ) ;
|
176 |
-
},
|
177 |
-
|
178 |
-
InsertNode : function( node )
|
179 |
-
{
|
180 |
-
if ( this._Range )
|
181 |
-
this._Range.insertNode( node ) ;
|
182 |
-
},
|
183 |
-
|
184 |
-
CheckIsEmpty : function()
|
185 |
-
{
|
186 |
-
if ( this.CheckIsCollapsed() )
|
187 |
-
return true ;
|
188 |
-
|
189 |
-
// Inserts the contents of the range in a div tag.
|
190 |
-
var eToolDiv = this.Window.document.createElement( 'div' ) ;
|
191 |
-
this._Range.cloneContents().AppendTo( eToolDiv ) ;
|
192 |
-
|
193 |
-
FCKDomTools.TrimNode( eToolDiv ) ;
|
194 |
-
|
195 |
-
return ( eToolDiv.innerHTML.length == 0 ) ;
|
196 |
-
},
|
197 |
-
|
198 |
-
/**
|
199 |
-
* Checks if the start boundary of the current range is "visually" (like a
|
200 |
-
* selection caret) at the beginning of the block. It means that some
|
201 |
-
* things could be brefore the range, like spaces or empty inline elements,
|
202 |
-
* but it would still be considered at the beginning of the block.
|
203 |
-
*/
|
204 |
-
CheckStartOfBlock : function()
|
205 |
-
{
|
206 |
-
var cache = this._Cache ;
|
207 |
-
var bIsStartOfBlock = cache.IsStartOfBlock ;
|
208 |
-
|
209 |
-
if ( bIsStartOfBlock != undefined )
|
210 |
-
return bIsStartOfBlock ;
|
211 |
-
|
212 |
-
// Take the block reference.
|
213 |
-
var block = this.StartBlock || this.StartBlockLimit ;
|
214 |
-
|
215 |
-
var container = this._Range.startContainer ;
|
216 |
-
var offset = this._Range.startOffset ;
|
217 |
-
var currentNode ;
|
218 |
-
|
219 |
-
if ( offset > 0 )
|
220 |
-
{
|
221 |
-
// First, check the start container. If it is a text node, get the
|
222 |
-
// substring of the node value before the range offset.
|
223 |
-
if ( container.nodeType == 3 )
|
224 |
-
{
|
225 |
-
var textValue = container.nodeValue.substr( 0, offset ).Trim() ;
|
226 |
-
|
227 |
-
// If we have some text left in the container, we are not at
|
228 |
-
// the end for the block.
|
229 |
-
if ( textValue.length != 0 )
|
230 |
-
return cache.IsStartOfBlock = false ;
|
231 |
-
}
|
232 |
-
else
|
233 |
-
currentNode = container.childNodes[ offset - 1 ] ;
|
234 |
-
}
|
235 |
-
|
236 |
-
// We'll not have a currentNode if the container was a text node, or
|
237 |
-
// the offset is zero.
|
238 |
-
if ( !currentNode )
|
239 |
-
currentNode = FCKDomTools.GetPreviousSourceNode( container, true, null, block ) ;
|
240 |
-
|
241 |
-
while ( currentNode )
|
242 |
-
{
|
243 |
-
switch ( currentNode.nodeType )
|
244 |
-
{
|
245 |
-
case 1 :
|
246 |
-
// It's not an inline element.
|
247 |
-
if ( !FCKListsLib.InlineChildReqElements[ currentNode.nodeName.toLowerCase() ] )
|
248 |
-
return cache.IsStartOfBlock = false ;
|
249 |
-
|
250 |
-
break ;
|
251 |
-
|
252 |
-
case 3 :
|
253 |
-
// It's a text node with real text.
|
254 |
-
if ( currentNode.nodeValue.Trim().length > 0 )
|
255 |
-
return cache.IsStartOfBlock = false ;
|
256 |
-
}
|
257 |
-
|
258 |
-
currentNode = FCKDomTools.GetPreviousSourceNode( currentNode, false, null, block ) ;
|
259 |
-
}
|
260 |
-
|
261 |
-
return cache.IsStartOfBlock = true ;
|
262 |
-
},
|
263 |
-
|
264 |
-
/**
|
265 |
-
* Checks if the end boundary of the current range is "visually" (like a
|
266 |
-
* selection caret) at the end of the block. It means that some things
|
267 |
-
* could be after the range, like spaces, empty inline elements, or a
|
268 |
-
* single <br>, but it would still be considered at the end of the block.
|
269 |
-
*/
|
270 |
-
CheckEndOfBlock : function( refreshSelection )
|
271 |
-
{
|
272 |
-
var isEndOfBlock = this._Cache.IsEndOfBlock ;
|
273 |
-
|
274 |
-
if ( isEndOfBlock != undefined )
|
275 |
-
return isEndOfBlock ;
|
276 |
-
|
277 |
-
// Take the block reference.
|
278 |
-
var block = this.EndBlock || this.EndBlockLimit ;
|
279 |
-
|
280 |
-
var container = this._Range.endContainer ;
|
281 |
-
var offset = this._Range.endOffset ;
|
282 |
-
var currentNode ;
|
283 |
-
|
284 |
-
// First, check the end container. If it is a text node, get the
|
285 |
-
// substring of the node value after the range offset.
|
286 |
-
if ( container.nodeType == 3 )
|
287 |
-
{
|
288 |
-
var textValue = container.nodeValue ;
|
289 |
-
if ( offset < textValue.length )
|
290 |
-
{
|
291 |
-
textValue = textValue.substr( offset ) ;
|
292 |
-
|
293 |
-
// If we have some text left in the container, we are not at
|
294 |
-
// the end for the block.
|
295 |
-
if ( textValue.Trim().length != 0 )
|
296 |
-
return this._Cache.IsEndOfBlock = false ;
|
297 |
-
}
|
298 |
-
}
|
299 |
-
else
|
300 |
-
currentNode = container.childNodes[ offset ] ;
|
301 |
-
|
302 |
-
// We'll not have a currentNode if the container was a text node, of
|
303 |
-
// the offset is out the container children limits (after it probably).
|
304 |
-
if ( !currentNode )
|
305 |
-
currentNode = FCKDomTools.GetNextSourceNode( container, true, null, block ) ;
|
306 |
-
|
307 |
-
var hadBr = false ;
|
308 |
-
|
309 |
-
while ( currentNode )
|
310 |
-
{
|
311 |
-
switch ( currentNode.nodeType )
|
312 |
-
{
|
313 |
-
case 1 :
|
314 |
-
var nodeName = currentNode.nodeName.toLowerCase() ;
|
315 |
-
|
316 |
-
// It's an inline element.
|
317 |
-
if ( FCKListsLib.InlineChildReqElements[ nodeName ] )
|
318 |
-
break ;
|
319 |
-
|
320 |
-
// It is the first <br> found.
|
321 |
-
if ( nodeName == 'br' && !hadBr )
|
322 |
-
{
|
323 |
-
hadBr = true ;
|
324 |
-
break ;
|
325 |
-
}
|
326 |
-
|
327 |
-
return this._Cache.IsEndOfBlock = false ;
|
328 |
-
|
329 |
-
case 3 :
|
330 |
-
// It's a text node with real text.
|
331 |
-
if ( currentNode.nodeValue.Trim().length > 0 )
|
332 |
-
return this._Cache.IsEndOfBlock = false ;
|
333 |
-
}
|
334 |
-
|
335 |
-
currentNode = FCKDomTools.GetNextSourceNode( currentNode, false, null, block ) ;
|
336 |
-
}
|
337 |
-
|
338 |
-
if ( refreshSelection )
|
339 |
-
this.Select() ;
|
340 |
-
|
341 |
-
return this._Cache.IsEndOfBlock = true ;
|
342 |
-
},
|
343 |
-
|
344 |
-
// This is an "intrusive" way to create a bookmark. It includes <span> tags
|
345 |
-
// in the range boundaries. The advantage of it is that it is possible to
|
346 |
-
// handle DOM mutations when moving back to the bookmark.
|
347 |
-
// Attention: the inclusion of nodes in the DOM is a design choice and
|
348 |
-
// should not be changed as there are other points in the code that may be
|
349 |
-
// using those nodes to perform operations. See GetBookmarkNode.
|
350 |
-
// For performance, includeNodes=true if intended to SelectBookmark.
|
351 |
-
CreateBookmark : function( includeNodes )
|
352 |
-
{
|
353 |
-
// Create the bookmark info (random IDs).
|
354 |
-
var oBookmark =
|
355 |
-
{
|
356 |
-
StartId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'S',
|
357 |
-
EndId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'E'
|
358 |
-
} ;
|
359 |
-
|
360 |
-
var oDoc = this.Window.document ;
|
361 |
-
var eStartSpan ;
|
362 |
-
var eEndSpan ;
|
363 |
-
var oClone ;
|
364 |
-
|
365 |
-
// For collapsed ranges, add just the start marker.
|
366 |
-
if ( !this.CheckIsCollapsed() )
|
367 |
-
{
|
368 |
-
eEndSpan = oDoc.createElement( 'span' ) ;
|
369 |
-
eEndSpan.style.display = 'none' ;
|
370 |
-
eEndSpan.id = oBookmark.EndId ;
|
371 |
-
eEndSpan.setAttribute( '_fck_bookmark', true ) ;
|
372 |
-
|
373 |
-
// For IE, it must have something inside, otherwise it may be
|
374 |
-
// removed during DOM operations.
|
375 |
-
// if ( FCKBrowserInfo.IsIE )
|
376 |
-
eEndSpan.innerHTML = ' ' ;
|
377 |
-
|
378 |
-
oClone = this.Clone() ;
|
379 |
-
oClone.Collapse( false ) ;
|
380 |
-
oClone.InsertNode( eEndSpan ) ;
|
381 |
-
}
|
382 |
-
|
383 |
-
eStartSpan = oDoc.createElement( 'span' ) ;
|
384 |
-
eStartSpan.style.display = 'none' ;
|
385 |
-
eStartSpan.id = oBookmark.StartId ;
|
386 |
-
eStartSpan.setAttribute( '_fck_bookmark', true ) ;
|
387 |
-
|
388 |
-
// For IE, it must have something inside, otherwise it may be removed
|
389 |
-
// during DOM operations.
|
390 |
-
// if ( FCKBrowserInfo.IsIE )
|
391 |
-
eStartSpan.innerHTML = ' ' ;
|
392 |
-
|
393 |
-
oClone = this.Clone() ;
|
394 |
-
oClone.Collapse( true ) ;
|
395 |
-
oClone.InsertNode( eStartSpan ) ;
|
396 |
-
|
397 |
-
if ( includeNodes )
|
398 |
-
{
|
399 |
-
oBookmark.StartNode = eStartSpan ;
|
400 |
-
oBookmark.EndNode = eEndSpan ;
|
401 |
-
}
|
402 |
-
|
403 |
-
// Update the range position.
|
404 |
-
if ( eEndSpan )
|
405 |
-
{
|
406 |
-
this.SetStart( eStartSpan, 4 ) ;
|
407 |
-
this.SetEnd( eEndSpan, 3 ) ;
|
408 |
-
}
|
409 |
-
else
|
410 |
-
this.MoveToPosition( eStartSpan, 4 ) ;
|
411 |
-
|
412 |
-
return oBookmark ;
|
413 |
-
},
|
414 |
-
|
415 |
-
// This one should be a part of a hypothetic "bookmark" object.
|
416 |
-
GetBookmarkNode : function( bookmark, start )
|
417 |
-
{
|
418 |
-
var doc = this.Window.document ;
|
419 |
-
|
420 |
-
if ( start )
|
421 |
-
return bookmark.StartNode || doc.getElementById( bookmark.StartId ) ;
|
422 |
-
else
|
423 |
-
return bookmark.EndNode || doc.getElementById( bookmark.EndId ) ;
|
424 |
-
},
|
425 |
-
|
426 |
-
MoveToBookmark : function( bookmark, preserveBookmark )
|
427 |
-
{
|
428 |
-
var eStartSpan = this.GetBookmarkNode( bookmark, true ) ;
|
429 |
-
var eEndSpan = this.GetBookmarkNode( bookmark, false ) ;
|
430 |
-
|
431 |
-
this.SetStart( eStartSpan, 3 ) ;
|
432 |
-
|
433 |
-
if ( !preserveBookmark )
|
434 |
-
FCKDomTools.RemoveNode( eStartSpan ) ;
|
435 |
-
|
436 |
-
// If collapsed, the end span will not be available.
|
437 |
-
if ( eEndSpan )
|
438 |
-
{
|
439 |
-
this.SetEnd( eEndSpan, 3 ) ;
|
440 |
-
|
441 |
-
if ( !preserveBookmark )
|
442 |
-
FCKDomTools.RemoveNode( eEndSpan ) ;
|
443 |
-
}
|
444 |
-
else
|
445 |
-
this.Collapse( true ) ;
|
446 |
-
|
447 |
-
this._UpdateElementInfo() ;
|
448 |
-
},
|
449 |
-
|
450 |
-
// Non-intrusive bookmark algorithm
|
451 |
-
CreateBookmark2 : function()
|
452 |
-
{
|
453 |
-
// If there is no range then get out of here.
|
454 |
-
// It happens on initial load in Safari #962 and if the editor it's hidden also in Firefox
|
455 |
-
if ( ! this._Range )
|
456 |
-
return { "Start" : 0, "End" : 0 } ;
|
457 |
-
|
458 |
-
// First, we record down the offset values
|
459 |
-
var bookmark =
|
460 |
-
{
|
461 |
-
"Start" : [ this._Range.startOffset ],
|
462 |
-
"End" : [ this._Range.endOffset ]
|
463 |
-
} ;
|
464 |
-
// Since we're treating the document tree as normalized, we need to backtrack the text lengths
|
465 |
-
// of previous text nodes into the offset value.
|
466 |
-
var curStart = this._Range.startContainer.previousSibling ;
|
467 |
-
var curEnd = this._Range.endContainer.previousSibling ;
|
468 |
-
|
469 |
-
// Also note that the node that we use for "address base" would change during backtracking.
|
470 |
-
var addrStart = this._Range.startContainer ;
|
471 |
-
var addrEnd = this._Range.endContainer ;
|
472 |
-
while ( curStart && curStart.nodeType == 3 && addrStart.nodeType == 3 )
|
473 |
-
{
|
474 |
-
bookmark.Start[0] += curStart.length ;
|
475 |
-
addrStart = curStart ;
|
476 |
-
curStart = curStart.previousSibling ;
|
477 |
-
}
|
478 |
-
while ( curEnd && curEnd.nodeType == 3 && addrEnd.nodeType == 3 )
|
479 |
-
{
|
480 |
-
bookmark.End[0] += curEnd.length ;
|
481 |
-
addrEnd = curEnd ;
|
482 |
-
curEnd = curEnd.previousSibling ;
|
483 |
-
}
|
484 |
-
|
485 |
-
// If the object pointed to by the startOffset and endOffset are text nodes, we need
|
486 |
-
// to backtrack and add in the text offset to the bookmark addresses.
|
487 |
-
if ( addrStart.nodeType == 1 && addrStart.childNodes[bookmark.Start[0]] && addrStart.childNodes[bookmark.Start[0]].nodeType == 3 )
|
488 |
-
{
|
489 |
-
var curNode = addrStart.childNodes[bookmark.Start[0]] ;
|
490 |
-
var offset = 0 ;
|
491 |
-
while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 )
|
492 |
-
{
|
493 |
-
curNode = curNode.previousSibling ;
|
494 |
-
offset += curNode.length ;
|
495 |
-
}
|
496 |
-
addrStart = curNode ;
|
497 |
-
bookmark.Start[0] = offset ;
|
498 |
-
}
|
499 |
-
if ( addrEnd.nodeType == 1 && addrEnd.childNodes[bookmark.End[0]] && addrEnd.childNodes[bookmark.End[0]].nodeType == 3 )
|
500 |
-
{
|
501 |
-
var curNode = addrEnd.childNodes[bookmark.End[0]] ;
|
502 |
-
var offset = 0 ;
|
503 |
-
while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 )
|
504 |
-
{
|
505 |
-
curNode = curNode.previousSibling ;
|
506 |
-
offset += curNode.length ;
|
507 |
-
}
|
508 |
-
addrEnd = curNode ;
|
509 |
-
bookmark.End[0] = offset ;
|
510 |
-
}
|
511 |
-
|
512 |
-
// Then, we record down the precise position of the container nodes
|
513 |
-
// by walking up the DOM tree and counting their childNode index
|
514 |
-
bookmark.Start = FCKDomTools.GetNodeAddress( addrStart, true ).concat( bookmark.Start ) ;
|
515 |
-
bookmark.End = FCKDomTools.GetNodeAddress( addrEnd, true ).concat( bookmark.End ) ;
|
516 |
-
return bookmark;
|
517 |
-
},
|
518 |
-
|
519 |
-
MoveToBookmark2 : function( bookmark )
|
520 |
-
{
|
521 |
-
// Reverse the childNode counting algorithm in CreateBookmark2()
|
522 |
-
var curStart = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.Start.slice( 0, -1 ), true ) ;
|
523 |
-
var curEnd = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.End.slice( 0, -1 ), true ) ;
|
524 |
-
|
525 |
-
// Generate the W3C Range object and update relevant data
|
526 |
-
this.Release( true ) ;
|
527 |
-
this._Range = new FCKW3CRange( this.Window.document ) ;
|
528 |
-
var startOffset = bookmark.Start[ bookmark.Start.length - 1 ] ;
|
529 |
-
var endOffset = bookmark.End[ bookmark.End.length - 1 ] ;
|
530 |
-
while ( curStart.nodeType == 3 && startOffset > curStart.length )
|
531 |
-
{
|
532 |
-
if ( ! curStart.nextSibling || curStart.nextSibling.nodeType != 3 )
|
533 |
-
break ;
|
534 |
-
startOffset -= curStart.length ;
|
535 |
-
curStart = curStart.nextSibling ;
|
536 |
-
}
|
537 |
-
while ( curEnd.nodeType == 3 && endOffset > curEnd.length )
|
538 |
-
{
|
539 |
-
if ( ! curEnd.nextSibling || curEnd.nextSibling.nodeType != 3 )
|
540 |
-
break ;
|
541 |
-
endOffset -= curEnd.length ;
|
542 |
-
curEnd = curEnd.nextSibling ;
|
543 |
-
}
|
544 |
-
this._Range.setStart( curStart, startOffset ) ;
|
545 |
-
this._Range.setEnd( curEnd, endOffset ) ;
|
546 |
-
this._UpdateElementInfo() ;
|
547 |
-
},
|
548 |
-
|
549 |
-
MoveToPosition : function( targetElement, position )
|
550 |
-
{
|
551 |
-
this.SetStart( targetElement, position ) ;
|
552 |
-
this.Collapse( true ) ;
|
553 |
-
},
|
554 |
-
|
555 |
-
/*
|
556 |
-
* Moves the position of the start boundary of the range to a specific position
|
557 |
-
* relatively to a element.
|
558 |
-
* @position:
|
559 |
-
* 1 = After Start <target>^contents</target>
|
560 |
-
* 2 = Before End <target>contents^</target>
|
561 |
-
* 3 = Before Start ^<target>contents</target>
|
562 |
-
* 4 = After End <target>contents</target>^
|
563 |
-
*/
|
564 |
-
SetStart : function( targetElement, position, noInfoUpdate )
|
565 |
-
{
|
566 |
-
var oRange = this._Range ;
|
567 |
-
if ( !oRange )
|
568 |
-
oRange = this._Range = this.CreateRange() ;
|
569 |
-
|
570 |
-
switch( position )
|
571 |
-
{
|
572 |
-
case 1 : // After Start <target>^contents</target>
|
573 |
-
oRange.setStart( targetElement, 0 ) ;
|
574 |
-
break ;
|
575 |
-
|
576 |
-
case 2 : // Before End <target>contents^</target>
|
577 |
-
oRange.setStart( targetElement, targetElement.childNodes.length ) ;
|
578 |
-
break ;
|
579 |
-
|
580 |
-
case 3 : // Before Start ^<target>contents</target>
|
581 |
-
oRange.setStartBefore( targetElement ) ;
|
582 |
-
break ;
|
583 |
-
|
584 |
-
case 4 : // After End <target>contents</target>^
|
585 |
-
oRange.setStartAfter( targetElement ) ;
|
586 |
-
}
|
587 |
-
|
588 |
-
if ( !noInfoUpdate )
|
589 |
-
this._UpdateElementInfo() ;
|
590 |
-
},
|
591 |
-
|
592 |
-
/*
|
593 |
-
* Moves the position of the start boundary of the range to a specific position
|
594 |
-
* relatively to a element.
|
595 |
-
* @position:
|
596 |
-
* 1 = After Start <target>^contents</target>
|
597 |
-
* 2 = Before End <target>contents^</target>
|
598 |
-
* 3 = Before Start ^<target>contents</target>
|
599 |
-
* 4 = After End <target>contents</target>^
|
600 |
-
*/
|
601 |
-
SetEnd : function( targetElement, position, noInfoUpdate )
|
602 |
-
{
|
603 |
-
var oRange = this._Range ;
|
604 |
-
if ( !oRange )
|
605 |
-
oRange = this._Range = this.CreateRange() ;
|
606 |
-
|
607 |
-
switch( position )
|
608 |
-
{
|
609 |
-
case 1 : // After Start <target>^contents</target>
|
610 |
-
oRange.setEnd( targetElement, 0 ) ;
|
611 |
-
break ;
|
612 |
-
|
613 |
-
case 2 : // Before End <target>contents^</target>
|
614 |
-
oRange.setEnd( targetElement, targetElement.childNodes.length ) ;
|
615 |
-
break ;
|
616 |
-
|
617 |
-
case 3 : // Before Start ^<target>contents</target>
|
618 |
-
oRange.setEndBefore( targetElement ) ;
|
619 |
-
break ;
|
620 |
-
|
621 |
-
case 4 : // After End <target>contents</target>^
|
622 |
-
oRange.setEndAfter( targetElement ) ;
|
623 |
-
}
|
624 |
-
|
625 |
-
if ( !noInfoUpdate )
|
626 |
-
this._UpdateElementInfo() ;
|
627 |
-
},
|
628 |
-
|
629 |
-
Expand : function( unit )
|
630 |
-
{
|
631 |
-
var oNode, oSibling ;
|
632 |
-
|
633 |
-
switch ( unit )
|
634 |
-
{
|
635 |
-
// Expand the range to include all inline parent elements if we are
|
636 |
-
// are in their boundary limits.
|
637 |
-
// For example (where [ ] are the range limits):
|
638 |
-
// Before => Some <b>[<i>Some sample text]</i></b>.
|
639 |
-
// After => Some [<b><i>Some sample text</i></b>].
|
640 |
-
case 'inline_elements' :
|
641 |
-
// Expand the start boundary.
|
642 |
-
if ( this._Range.startOffset == 0 )
|
643 |
-
{
|
644 |
-
oNode = this._Range.startContainer ;
|
645 |
-
|
646 |
-
if ( oNode.nodeType != 1 )
|
647 |
-
oNode = oNode.previousSibling ? null : oNode.parentNode ;
|
648 |
-
|
649 |
-
if ( oNode )
|
650 |
-
{
|
651 |
-
while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] )
|
652 |
-
{
|
653 |
-
this._Range.setStartBefore( oNode ) ;
|
654 |
-
|
655 |
-
if ( oNode != oNode.parentNode.firstChild )
|
656 |
-
break ;
|
657 |
-
|
658 |
-
oNode = oNode.parentNode ;
|
659 |
-
}
|
660 |
-
}
|
661 |
-
}
|
662 |
-
|
663 |
-
// Expand the end boundary.
|
664 |
-
oNode = this._Range.endContainer ;
|
665 |
-
var offset = this._Range.endOffset ;
|
666 |
-
|
667 |
-
if ( ( oNode.nodeType == 3 && offset >= oNode.nodeValue.length ) || ( oNode.nodeType == 1 && offset >= oNode.childNodes.length ) || ( oNode.nodeType != 1 && oNode.nodeType != 3 ) )
|
668 |
-
{
|
669 |
-
if ( oNode.nodeType != 1 )
|
670 |
-
oNode = oNode.nextSibling ? null : oNode.parentNode ;
|
671 |
-
|
672 |
-
if ( oNode )
|
673 |
-
{
|
674 |
-
while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] )
|
675 |
-
{
|
676 |
-
this._Range.setEndAfter( oNode ) ;
|
677 |
-
|
678 |
-
if ( oNode != oNode.parentNode.lastChild )
|
679 |
-
break ;
|
680 |
-
|
681 |
-
oNode = oNode.parentNode ;
|
682 |
-
}
|
683 |
-
}
|
684 |
-
}
|
685 |
-
|
686 |
-
break ;
|
687 |
-
|
688 |
-
case 'block_contents' :
|
689 |
-
case 'list_contents' :
|
690 |
-
var boundarySet = FCKListsLib.BlockBoundaries ;
|
691 |
-
if ( unit == 'list_contents' || FCKConfig.EnterMode == 'br' )
|
692 |
-
boundarySet = FCKListsLib.ListBoundaries ;
|
693 |
-
|
694 |
-
if ( this.StartBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' )
|
695 |
-
this.SetStart( this.StartBlock, 1 ) ;
|
696 |
-
else
|
697 |
-
{
|
698 |
-
// Get the start node for the current range.
|
699 |
-
oNode = this._Range.startContainer ;
|
700 |
-
|
701 |
-
// If it is an element, get the node right before of it (in source order).
|
702 |
-
if ( oNode.nodeType == 1 )
|
703 |
-
{
|
704 |
-
var lastNode = oNode.childNodes[ this._Range.startOffset ] ;
|
705 |
-
if ( lastNode )
|
706 |
-
oNode = FCKDomTools.GetPreviousSourceNode( lastNode, true ) ;
|
707 |
-
else
|
708 |
-
oNode = oNode.lastChild || oNode ;
|
709 |
-
}
|
710 |
-
|
711 |
-
// We must look for the left boundary, relative to the range
|
712 |
-
// start, which is limited by a block element.
|
713 |
-
while ( oNode
|
714 |
-
&& ( oNode.nodeType != 1
|
715 |
-
|| ( oNode != this.StartBlockLimit
|
716 |
-
&& !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) )
|
717 |
-
{
|
718 |
-
this._Range.setStartBefore( oNode ) ;
|
719 |
-
oNode = oNode.previousSibling || oNode.parentNode ;
|
720 |
-
}
|
721 |
-
}
|
722 |
-
|
723 |
-
if ( this.EndBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' && this.EndBlock.nodeName.toLowerCase() != 'li' )
|
724 |
-
this.SetEnd( this.EndBlock, 2 ) ;
|
725 |
-
else
|
726 |
-
{
|
727 |
-
oNode = this._Range.endContainer ;
|
728 |
-
if ( oNode.nodeType == 1 )
|
729 |
-
oNode = oNode.childNodes[ this._Range.endOffset ] || oNode.lastChild ;
|
730 |
-
|
731 |
-
// We must look for the right boundary, relative to the range
|
732 |
-
// end, which is limited by a block element.
|
733 |
-
while ( oNode
|
734 |
-
&& ( oNode.nodeType != 1
|
735 |
-
|| ( oNode != this.StartBlockLimit
|
736 |
-
&& !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) )
|
737 |
-
{
|
738 |
-
this._Range.setEndAfter( oNode ) ;
|
739 |
-
oNode = oNode.nextSibling || oNode.parentNode ;
|
740 |
-
}
|
741 |
-
|
742 |
-
// In EnterMode='br', the end <br> boundary element must
|
743 |
-
// be included in the expanded range.
|
744 |
-
if ( oNode && oNode.nodeName.toLowerCase() == 'br' )
|
745 |
-
this._Range.setEndAfter( oNode ) ;
|
746 |
-
}
|
747 |
-
|
748 |
-
this._UpdateElementInfo() ;
|
749 |
-
}
|
750 |
-
},
|
751 |
-
|
752 |
-
/**
|
753 |
-
* Split the block element for the current range. It deletes the contents
|
754 |
-
* of the range and splits the block in the collapsed position, resulting
|
755 |
-
* in two sucessive blocks. The range is then positioned in the middle of
|
756 |
-
* them.
|
757 |
-
*
|
758 |
-
* It returns and object with the following properties:
|
759 |
-
* - PreviousBlock : a reference to the block element that preceeds
|
760 |
-
* the range after the split.
|
761 |
-
* - NextBlock : a reference to the block element that follows the
|
762 |
-
* range after the split.
|
763 |
-
* - WasStartOfBlock : a boolean indicating that the range was
|
764 |
-
* originaly at the start of the block.
|
765 |
-
* - WasEndOfBlock : a boolean indicating that the range was originaly
|
766 |
-
* at the end of the block.
|
767 |
-
*
|
768 |
-
* If the range was originaly at the start of the block, no split will happen
|
769 |
-
* and the PreviousBlock value will be null. The same is valid for the
|
770 |
-
* NextBlock value if the range was at the end of the block.
|
771 |
-
*/
|
772 |
-
SplitBlock : function( forceBlockTag )
|
773 |
-
{
|
774 |
-
var blockTag = forceBlockTag || FCKConfig.EnterMode ;
|
775 |
-
|
776 |
-
if ( !this._Range )
|
777 |
-
this.MoveToSelection() ;
|
778 |
-
|
779 |
-
// The range boundaries must be in the same "block limit" element.
|
780 |
-
if ( this.StartBlockLimit == this.EndBlockLimit )
|
781 |
-
{
|
782 |
-
// Get the current blocks.
|
783 |
-
var eStartBlock = this.StartBlock ;
|
784 |
-
var eEndBlock = this.EndBlock ;
|
785 |
-
var oElementPath = null ;
|
786 |
-
|
787 |
-
if ( blockTag != 'br' )
|
788 |
-
{
|
789 |
-
if ( !eStartBlock )
|
790 |
-
{
|
791 |
-
eStartBlock = this.FixBlock( true, blockTag ) ;
|
792 |
-
eEndBlock = this.EndBlock ; // FixBlock may have fixed the EndBlock too.
|
793 |
-
}
|
794 |
-
|
795 |
-
if ( !eEndBlock )
|
796 |
-
eEndBlock = this.FixBlock( false, blockTag ) ;
|
797 |
-
}
|
798 |
-
|
799 |
-
// Get the range position.
|
800 |
-
var bIsStartOfBlock = ( eStartBlock != null && this.CheckStartOfBlock() ) ;
|
801 |
-
var bIsEndOfBlock = ( eEndBlock != null && this.CheckEndOfBlock() ) ;
|
802 |
-
|
803 |
-
// Delete the current contents.
|
804 |
-
if ( !this.CheckIsEmpty() )
|
805 |
-
this.DeleteContents() ;
|
806 |
-
|
807 |
-
if ( eStartBlock && eEndBlock && eStartBlock == eEndBlock )
|
808 |
-
{
|
809 |
-
if ( bIsEndOfBlock )
|
810 |
-
{
|
811 |
-
oElementPath = new FCKElementPath( this.StartContainer ) ;
|
812 |
-
this.MoveToPosition( eEndBlock, 4 ) ;
|
813 |
-
eEndBlock = null ;
|
814 |
-
}
|
815 |
-
else if ( bIsStartOfBlock )
|
816 |
-
{
|
817 |
-
oElementPath = new FCKElementPath( this.StartContainer ) ;
|
818 |
-
this.MoveToPosition( eStartBlock, 3 ) ;
|
819 |
-
eStartBlock = null ;
|
820 |
-
}
|
821 |
-
else
|
822 |
-
{
|
823 |
-
// Extract the contents of the block from the selection point to the end of its contents.
|
824 |
-
this.SetEnd( eStartBlock, 2 ) ;
|
825 |
-
var eDocFrag = this.ExtractContents() ;
|
826 |
-
|
827 |
-
// Duplicate the block element after it.
|
828 |
-
eEndBlock = eStartBlock.cloneNode( false ) ;
|
829 |
-
eEndBlock.removeAttribute( 'id', false ) ;
|
830 |
-
|
831 |
-
// Place the extracted contents in the duplicated block.
|
832 |
-
eDocFrag.AppendTo( eEndBlock ) ;
|
833 |
-
|
834 |
-
FCKDomTools.InsertAfterNode( eStartBlock, eEndBlock ) ;
|
835 |
-
|
836 |
-
this.MoveToPosition( eStartBlock, 4 ) ;
|
837 |
-
|
838 |
-
// In Gecko, the last child node must be a bogus <br>.
|
839 |
-
// Note: bogus <br> added under <ul> or <ol> would cause lists to be incorrectly rendered.
|
840 |
-
if ( FCKBrowserInfo.IsGecko &&
|
841 |
-
! eStartBlock.nodeName.IEquals( ['ul', 'ol'] ) )
|
842 |
-
FCKTools.AppendBogusBr( eStartBlock ) ;
|
843 |
-
}
|
844 |
-
}
|
845 |
-
|
846 |
-
return {
|
847 |
-
PreviousBlock : eStartBlock,
|
848 |
-
NextBlock : eEndBlock,
|
849 |
-
WasStartOfBlock : bIsStartOfBlock,
|
850 |
-
WasEndOfBlock : bIsEndOfBlock,
|
851 |
-
ElementPath : oElementPath
|
852 |
-
} ;
|
853 |
-
}
|
854 |
-
|
855 |
-
return null ;
|
856 |
-
},
|
857 |
-
|
858 |
-
// Transform a block without a block tag in a valid block (orphan text in the body or td, usually).
|
859 |
-
FixBlock : function( isStart, blockTag )
|
860 |
-
{
|
861 |
-
// Bookmark the range so we can restore it later.
|
862 |
-
var oBookmark = this.CreateBookmark() ;
|
863 |
-
|
864 |
-
// Collapse the range to the requested ending boundary.
|
865 |
-
this.Collapse( isStart ) ;
|
866 |
-
|
867 |
-
// Expands it to the block contents.
|
868 |
-
this.Expand( 'block_contents' ) ;
|
869 |
-
|
870 |
-
// Create the fixed block.
|
871 |
-
var oFixedBlock = this.Window.document.createElement( blockTag ) ;
|
872 |
-
|
873 |
-
// Move the contents of the temporary range to the fixed block.
|
874 |
-
this.ExtractContents().AppendTo( oFixedBlock ) ;
|
875 |
-
FCKDomTools.TrimNode( oFixedBlock ) ;
|
876 |
-
|
877 |
-
// If the fixed block is empty (not counting bookmark nodes)
|
878 |
-
// Add a <br /> inside to expand it.
|
879 |
-
if ( FCKDomTools.CheckIsEmptyElement(oFixedBlock, function( element ) { return element.getAttribute('_fck_bookmark') != 'true' ; } )
|
880 |
-
&& FCKBrowserInfo.IsGeckoLike )
|
881 |
-
FCKTools.AppendBogusBr( oFixedBlock ) ;
|
882 |
-
|
883 |
-
// Insert the fixed block into the DOM.
|
884 |
-
this.InsertNode( oFixedBlock ) ;
|
885 |
-
|
886 |
-
// Move the range back to the bookmarked place.
|
887 |
-
this.MoveToBookmark( oBookmark ) ;
|
888 |
-
|
889 |
-
return oFixedBlock ;
|
890 |
-
},
|
891 |
-
|
892 |
-
Release : function( preserveWindow )
|
893 |
-
{
|
894 |
-
if ( !preserveWindow )
|
895 |
-
this.Window = null ;
|
896 |
-
|
897 |
-
this.StartNode = null ;
|
898 |
-
this.StartContainer = null ;
|
899 |
-
this.StartBlock = null ;
|
900 |
-
this.StartBlockLimit = null ;
|
901 |
-
this.EndNode = null ;
|
902 |
-
this.EndContainer = null ;
|
903 |
-
this.EndBlock = null ;
|
904 |
-
this.EndBlockLimit = null ;
|
905 |
-
this._Range = null ;
|
906 |
-
this._Cache = null ;
|
907 |
-
},
|
908 |
-
|
909 |
-
CheckHasRange : function()
|
910 |
-
{
|
911 |
-
return !!this._Range ;
|
912 |
-
},
|
913 |
-
|
914 |
-
GetTouchedStartNode : function()
|
915 |
-
{
|
916 |
-
var range = this._Range ;
|
917 |
-
var container = range.startContainer ;
|
918 |
-
|
919 |
-
if ( range.collapsed || container.nodeType != 1 )
|
920 |
-
return container ;
|
921 |
-
|
922 |
-
return container.childNodes[ range.startOffset ] || container ;
|
923 |
-
},
|
924 |
-
|
925 |
-
GetTouchedEndNode : function()
|
926 |
-
{
|
927 |
-
var range = this._Range ;
|
928 |
-
var container = range.endContainer ;
|
929 |
-
|
930 |
-
if ( range.collapsed || container.nodeType != 1 )
|
931 |
-
return container ;
|
932 |
-
|
933 |
-
return container.childNodes[ range.endOffset - 1 ] || container ;
|
934 |
-
}
|
935 |
-
} ;
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* Class for working with a selection range, much like the W3C DOM Range, but
|
22 |
+
* it is not intended to be an implementation of the W3C interface.
|
23 |
+
*/
|
24 |
+
|
25 |
+
var FCKDomRange = function( sourceWindow )
|
26 |
+
{
|
27 |
+
this.Window = sourceWindow ;
|
28 |
+
this._Cache = {} ;
|
29 |
+
}
|
30 |
+
|
31 |
+
FCKDomRange.prototype =
|
32 |
+
{
|
33 |
+
|
34 |
+
_UpdateElementInfo : function()
|
35 |
+
{
|
36 |
+
var innerRange = this._Range ;
|
37 |
+
|
38 |
+
if ( !innerRange )
|
39 |
+
this.Release( true ) ;
|
40 |
+
else
|
41 |
+
{
|
42 |
+
// For text nodes, the node itself is the StartNode.
|
43 |
+
var eStart = innerRange.startContainer ;
|
44 |
+
|
45 |
+
var oElementPath = new FCKElementPath( eStart ) ;
|
46 |
+
this.StartNode = eStart.nodeType == 3 ? eStart : eStart.childNodes[ innerRange.startOffset ] ;
|
47 |
+
this.StartContainer = eStart ;
|
48 |
+
this.StartBlock = oElementPath.Block ;
|
49 |
+
this.StartBlockLimit = oElementPath.BlockLimit ;
|
50 |
+
|
51 |
+
if ( innerRange.collapsed )
|
52 |
+
{
|
53 |
+
this.EndNode = this.StartNode ;
|
54 |
+
this.EndContainer = this.StartContainer ;
|
55 |
+
this.EndBlock = this.StartBlock ;
|
56 |
+
this.EndBlockLimit = this.StartBlockLimit ;
|
57 |
+
}
|
58 |
+
else
|
59 |
+
{
|
60 |
+
var eEnd = innerRange.endContainer ;
|
61 |
+
|
62 |
+
if ( eStart != eEnd )
|
63 |
+
oElementPath = new FCKElementPath( eEnd ) ;
|
64 |
+
|
65 |
+
// The innerRange.endContainer[ innerRange.endOffset ] is not
|
66 |
+
// usually part of the range, but the marker for the range end. So,
|
67 |
+
// let's get the previous available node as the real end.
|
68 |
+
var eEndNode = eEnd ;
|
69 |
+
if ( innerRange.endOffset == 0 )
|
70 |
+
{
|
71 |
+
while ( eEndNode && !eEndNode.previousSibling )
|
72 |
+
eEndNode = eEndNode.parentNode ;
|
73 |
+
|
74 |
+
if ( eEndNode )
|
75 |
+
eEndNode = eEndNode.previousSibling ;
|
76 |
+
}
|
77 |
+
else if ( eEndNode.nodeType == 1 )
|
78 |
+
eEndNode = eEndNode.childNodes[ innerRange.endOffset - 1 ] ;
|
79 |
+
|
80 |
+
this.EndNode = eEndNode ;
|
81 |
+
this.EndContainer = eEnd ;
|
82 |
+
this.EndBlock = oElementPath.Block ;
|
83 |
+
this.EndBlockLimit = oElementPath.BlockLimit ;
|
84 |
+
}
|
85 |
+
}
|
86 |
+
|
87 |
+
this._Cache = {} ;
|
88 |
+
},
|
89 |
+
|
90 |
+
CreateRange : function()
|
91 |
+
{
|
92 |
+
return new FCKW3CRange( this.Window.document ) ;
|
93 |
+
},
|
94 |
+
|
95 |
+
DeleteContents : function()
|
96 |
+
{
|
97 |
+
if ( this._Range )
|
98 |
+
{
|
99 |
+
this._Range.deleteContents() ;
|
100 |
+
this._UpdateElementInfo() ;
|
101 |
+
}
|
102 |
+
},
|
103 |
+
|
104 |
+
ExtractContents : function()
|
105 |
+
{
|
106 |
+
if ( this._Range )
|
107 |
+
{
|
108 |
+
var docFrag = this._Range.extractContents() ;
|
109 |
+
this._UpdateElementInfo() ;
|
110 |
+
return docFrag ;
|
111 |
+
}
|
112 |
+
return null ;
|
113 |
+
},
|
114 |
+
|
115 |
+
CheckIsCollapsed : function()
|
116 |
+
{
|
117 |
+
if ( this._Range )
|
118 |
+
return this._Range.collapsed ;
|
119 |
+
|
120 |
+
return false ;
|
121 |
+
},
|
122 |
+
|
123 |
+
Collapse : function( toStart )
|
124 |
+
{
|
125 |
+
if ( this._Range )
|
126 |
+
this._Range.collapse( toStart ) ;
|
127 |
+
|
128 |
+
this._UpdateElementInfo() ;
|
129 |
+
},
|
130 |
+
|
131 |
+
Clone : function()
|
132 |
+
{
|
133 |
+
var oClone = FCKTools.CloneObject( this ) ;
|
134 |
+
|
135 |
+
if ( this._Range )
|
136 |
+
oClone._Range = this._Range.cloneRange() ;
|
137 |
+
|
138 |
+
return oClone ;
|
139 |
+
},
|
140 |
+
|
141 |
+
MoveToNodeContents : function( targetNode )
|
142 |
+
{
|
143 |
+
if ( !this._Range )
|
144 |
+
this._Range = this.CreateRange() ;
|
145 |
+
|
146 |
+
this._Range.selectNodeContents( targetNode ) ;
|
147 |
+
|
148 |
+
this._UpdateElementInfo() ;
|
149 |
+
},
|
150 |
+
|
151 |
+
MoveToElementStart : function( targetElement )
|
152 |
+
{
|
153 |
+
this.SetStart(targetElement,1) ;
|
154 |
+
this.SetEnd(targetElement,1) ;
|
155 |
+
},
|
156 |
+
|
157 |
+
// Moves to the first editing point inside a element. For example, in a
|
158 |
+
// element tree like "<p><b><i></i></b> Text</p>", the start editing point
|
159 |
+
// is "<p><b><i>^</i></b> Text</p>" (inside <i>).
|
160 |
+
MoveToElementEditStart : function( targetElement )
|
161 |
+
{
|
162 |
+
var editableElement ;
|
163 |
+
|
164 |
+
while ( targetElement && targetElement.nodeType == 1 )
|
165 |
+
{
|
166 |
+
if ( FCKDomTools.CheckIsEditable( targetElement ) )
|
167 |
+
editableElement = targetElement ;
|
168 |
+
else if ( editableElement )
|
169 |
+
break ; // If we already found an editable element, stop the loop.
|
170 |
+
|
171 |
+
targetElement = targetElement.firstChild ;
|
172 |
+
}
|
173 |
+
|
174 |
+
if ( editableElement )
|
175 |
+
this.MoveToElementStart( editableElement ) ;
|
176 |
+
},
|
177 |
+
|
178 |
+
InsertNode : function( node )
|
179 |
+
{
|
180 |
+
if ( this._Range )
|
181 |
+
this._Range.insertNode( node ) ;
|
182 |
+
},
|
183 |
+
|
184 |
+
CheckIsEmpty : function()
|
185 |
+
{
|
186 |
+
if ( this.CheckIsCollapsed() )
|
187 |
+
return true ;
|
188 |
+
|
189 |
+
// Inserts the contents of the range in a div tag.
|
190 |
+
var eToolDiv = this.Window.document.createElement( 'div' ) ;
|
191 |
+
this._Range.cloneContents().AppendTo( eToolDiv ) ;
|
192 |
+
|
193 |
+
FCKDomTools.TrimNode( eToolDiv ) ;
|
194 |
+
|
195 |
+
return ( eToolDiv.innerHTML.length == 0 ) ;
|
196 |
+
},
|
197 |
+
|
198 |
+
/**
|
199 |
+
* Checks if the start boundary of the current range is "visually" (like a
|
200 |
+
* selection caret) at the beginning of the block. It means that some
|
201 |
+
* things could be brefore the range, like spaces or empty inline elements,
|
202 |
+
* but it would still be considered at the beginning of the block.
|
203 |
+
*/
|
204 |
+
CheckStartOfBlock : function()
|
205 |
+
{
|
206 |
+
var cache = this._Cache ;
|
207 |
+
var bIsStartOfBlock = cache.IsStartOfBlock ;
|
208 |
+
|
209 |
+
if ( bIsStartOfBlock != undefined )
|
210 |
+
return bIsStartOfBlock ;
|
211 |
+
|
212 |
+
// Take the block reference.
|
213 |
+
var block = this.StartBlock || this.StartBlockLimit ;
|
214 |
+
|
215 |
+
var container = this._Range.startContainer ;
|
216 |
+
var offset = this._Range.startOffset ;
|
217 |
+
var currentNode ;
|
218 |
+
|
219 |
+
if ( offset > 0 )
|
220 |
+
{
|
221 |
+
// First, check the start container. If it is a text node, get the
|
222 |
+
// substring of the node value before the range offset.
|
223 |
+
if ( container.nodeType == 3 )
|
224 |
+
{
|
225 |
+
var textValue = container.nodeValue.substr( 0, offset ).Trim() ;
|
226 |
+
|
227 |
+
// If we have some text left in the container, we are not at
|
228 |
+
// the end for the block.
|
229 |
+
if ( textValue.length != 0 )
|
230 |
+
return cache.IsStartOfBlock = false ;
|
231 |
+
}
|
232 |
+
else
|
233 |
+
currentNode = container.childNodes[ offset - 1 ] ;
|
234 |
+
}
|
235 |
+
|
236 |
+
// We'll not have a currentNode if the container was a text node, or
|
237 |
+
// the offset is zero.
|
238 |
+
if ( !currentNode )
|
239 |
+
currentNode = FCKDomTools.GetPreviousSourceNode( container, true, null, block ) ;
|
240 |
+
|
241 |
+
while ( currentNode )
|
242 |
+
{
|
243 |
+
switch ( currentNode.nodeType )
|
244 |
+
{
|
245 |
+
case 1 :
|
246 |
+
// It's not an inline element.
|
247 |
+
if ( !FCKListsLib.InlineChildReqElements[ currentNode.nodeName.toLowerCase() ] )
|
248 |
+
return cache.IsStartOfBlock = false ;
|
249 |
+
|
250 |
+
break ;
|
251 |
+
|
252 |
+
case 3 :
|
253 |
+
// It's a text node with real text.
|
254 |
+
if ( currentNode.nodeValue.Trim().length > 0 )
|
255 |
+
return cache.IsStartOfBlock = false ;
|
256 |
+
}
|
257 |
+
|
258 |
+
currentNode = FCKDomTools.GetPreviousSourceNode( currentNode, false, null, block ) ;
|
259 |
+
}
|
260 |
+
|
261 |
+
return cache.IsStartOfBlock = true ;
|
262 |
+
},
|
263 |
+
|
264 |
+
/**
|
265 |
+
* Checks if the end boundary of the current range is "visually" (like a
|
266 |
+
* selection caret) at the end of the block. It means that some things
|
267 |
+
* could be after the range, like spaces, empty inline elements, or a
|
268 |
+
* single <br>, but it would still be considered at the end of the block.
|
269 |
+
*/
|
270 |
+
CheckEndOfBlock : function( refreshSelection )
|
271 |
+
{
|
272 |
+
var isEndOfBlock = this._Cache.IsEndOfBlock ;
|
273 |
+
|
274 |
+
if ( isEndOfBlock != undefined )
|
275 |
+
return isEndOfBlock ;
|
276 |
+
|
277 |
+
// Take the block reference.
|
278 |
+
var block = this.EndBlock || this.EndBlockLimit ;
|
279 |
+
|
280 |
+
var container = this._Range.endContainer ;
|
281 |
+
var offset = this._Range.endOffset ;
|
282 |
+
var currentNode ;
|
283 |
+
|
284 |
+
// First, check the end container. If it is a text node, get the
|
285 |
+
// substring of the node value after the range offset.
|
286 |
+
if ( container.nodeType == 3 )
|
287 |
+
{
|
288 |
+
var textValue = container.nodeValue ;
|
289 |
+
if ( offset < textValue.length )
|
290 |
+
{
|
291 |
+
textValue = textValue.substr( offset ) ;
|
292 |
+
|
293 |
+
// If we have some text left in the container, we are not at
|
294 |
+
// the end for the block.
|
295 |
+
if ( textValue.Trim().length != 0 )
|
296 |
+
return this._Cache.IsEndOfBlock = false ;
|
297 |
+
}
|
298 |
+
}
|
299 |
+
else
|
300 |
+
currentNode = container.childNodes[ offset ] ;
|
301 |
+
|
302 |
+
// We'll not have a currentNode if the container was a text node, of
|
303 |
+
// the offset is out the container children limits (after it probably).
|
304 |
+
if ( !currentNode )
|
305 |
+
currentNode = FCKDomTools.GetNextSourceNode( container, true, null, block ) ;
|
306 |
+
|
307 |
+
var hadBr = false ;
|
308 |
+
|
309 |
+
while ( currentNode )
|
310 |
+
{
|
311 |
+
switch ( currentNode.nodeType )
|
312 |
+
{
|
313 |
+
case 1 :
|
314 |
+
var nodeName = currentNode.nodeName.toLowerCase() ;
|
315 |
+
|
316 |
+
// It's an inline element.
|
317 |
+
if ( FCKListsLib.InlineChildReqElements[ nodeName ] )
|
318 |
+
break ;
|
319 |
+
|
320 |
+
// It is the first <br> found.
|
321 |
+
if ( nodeName == 'br' && !hadBr )
|
322 |
+
{
|
323 |
+
hadBr = true ;
|
324 |
+
break ;
|
325 |
+
}
|
326 |
+
|
327 |
+
return this._Cache.IsEndOfBlock = false ;
|
328 |
+
|
329 |
+
case 3 :
|
330 |
+
// It's a text node with real text.
|
331 |
+
if ( currentNode.nodeValue.Trim().length > 0 )
|
332 |
+
return this._Cache.IsEndOfBlock = false ;
|
333 |
+
}
|
334 |
+
|
335 |
+
currentNode = FCKDomTools.GetNextSourceNode( currentNode, false, null, block ) ;
|
336 |
+
}
|
337 |
+
|
338 |
+
if ( refreshSelection )
|
339 |
+
this.Select() ;
|
340 |
+
|
341 |
+
return this._Cache.IsEndOfBlock = true ;
|
342 |
+
},
|
343 |
+
|
344 |
+
// This is an "intrusive" way to create a bookmark. It includes <span> tags
|
345 |
+
// in the range boundaries. The advantage of it is that it is possible to
|
346 |
+
// handle DOM mutations when moving back to the bookmark.
|
347 |
+
// Attention: the inclusion of nodes in the DOM is a design choice and
|
348 |
+
// should not be changed as there are other points in the code that may be
|
349 |
+
// using those nodes to perform operations. See GetBookmarkNode.
|
350 |
+
// For performance, includeNodes=true if intended to SelectBookmark.
|
351 |
+
CreateBookmark : function( includeNodes )
|
352 |
+
{
|
353 |
+
// Create the bookmark info (random IDs).
|
354 |
+
var oBookmark =
|
355 |
+
{
|
356 |
+
StartId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'S',
|
357 |
+
EndId : (new Date()).valueOf() + Math.floor(Math.random()*1000) + 'E'
|
358 |
+
} ;
|
359 |
+
|
360 |
+
var oDoc = this.Window.document ;
|
361 |
+
var eStartSpan ;
|
362 |
+
var eEndSpan ;
|
363 |
+
var oClone ;
|
364 |
+
|
365 |
+
// For collapsed ranges, add just the start marker.
|
366 |
+
if ( !this.CheckIsCollapsed() )
|
367 |
+
{
|
368 |
+
eEndSpan = oDoc.createElement( 'span' ) ;
|
369 |
+
eEndSpan.style.display = 'none' ;
|
370 |
+
eEndSpan.id = oBookmark.EndId ;
|
371 |
+
eEndSpan.setAttribute( '_fck_bookmark', true ) ;
|
372 |
+
|
373 |
+
// For IE, it must have something inside, otherwise it may be
|
374 |
+
// removed during DOM operations.
|
375 |
+
// if ( FCKBrowserInfo.IsIE )
|
376 |
+
eEndSpan.innerHTML = ' ' ;
|
377 |
+
|
378 |
+
oClone = this.Clone() ;
|
379 |
+
oClone.Collapse( false ) ;
|
380 |
+
oClone.InsertNode( eEndSpan ) ;
|
381 |
+
}
|
382 |
+
|
383 |
+
eStartSpan = oDoc.createElement( 'span' ) ;
|
384 |
+
eStartSpan.style.display = 'none' ;
|
385 |
+
eStartSpan.id = oBookmark.StartId ;
|
386 |
+
eStartSpan.setAttribute( '_fck_bookmark', true ) ;
|
387 |
+
|
388 |
+
// For IE, it must have something inside, otherwise it may be removed
|
389 |
+
// during DOM operations.
|
390 |
+
// if ( FCKBrowserInfo.IsIE )
|
391 |
+
eStartSpan.innerHTML = ' ' ;
|
392 |
+
|
393 |
+
oClone = this.Clone() ;
|
394 |
+
oClone.Collapse( true ) ;
|
395 |
+
oClone.InsertNode( eStartSpan ) ;
|
396 |
+
|
397 |
+
if ( includeNodes )
|
398 |
+
{
|
399 |
+
oBookmark.StartNode = eStartSpan ;
|
400 |
+
oBookmark.EndNode = eEndSpan ;
|
401 |
+
}
|
402 |
+
|
403 |
+
// Update the range position.
|
404 |
+
if ( eEndSpan )
|
405 |
+
{
|
406 |
+
this.SetStart( eStartSpan, 4 ) ;
|
407 |
+
this.SetEnd( eEndSpan, 3 ) ;
|
408 |
+
}
|
409 |
+
else
|
410 |
+
this.MoveToPosition( eStartSpan, 4 ) ;
|
411 |
+
|
412 |
+
return oBookmark ;
|
413 |
+
},
|
414 |
+
|
415 |
+
// This one should be a part of a hypothetic "bookmark" object.
|
416 |
+
GetBookmarkNode : function( bookmark, start )
|
417 |
+
{
|
418 |
+
var doc = this.Window.document ;
|
419 |
+
|
420 |
+
if ( start )
|
421 |
+
return bookmark.StartNode || doc.getElementById( bookmark.StartId ) ;
|
422 |
+
else
|
423 |
+
return bookmark.EndNode || doc.getElementById( bookmark.EndId ) ;
|
424 |
+
},
|
425 |
+
|
426 |
+
MoveToBookmark : function( bookmark, preserveBookmark )
|
427 |
+
{
|
428 |
+
var eStartSpan = this.GetBookmarkNode( bookmark, true ) ;
|
429 |
+
var eEndSpan = this.GetBookmarkNode( bookmark, false ) ;
|
430 |
+
|
431 |
+
this.SetStart( eStartSpan, 3 ) ;
|
432 |
+
|
433 |
+
if ( !preserveBookmark )
|
434 |
+
FCKDomTools.RemoveNode( eStartSpan ) ;
|
435 |
+
|
436 |
+
// If collapsed, the end span will not be available.
|
437 |
+
if ( eEndSpan )
|
438 |
+
{
|
439 |
+
this.SetEnd( eEndSpan, 3 ) ;
|
440 |
+
|
441 |
+
if ( !preserveBookmark )
|
442 |
+
FCKDomTools.RemoveNode( eEndSpan ) ;
|
443 |
+
}
|
444 |
+
else
|
445 |
+
this.Collapse( true ) ;
|
446 |
+
|
447 |
+
this._UpdateElementInfo() ;
|
448 |
+
},
|
449 |
+
|
450 |
+
// Non-intrusive bookmark algorithm
|
451 |
+
CreateBookmark2 : function()
|
452 |
+
{
|
453 |
+
// If there is no range then get out of here.
|
454 |
+
// It happens on initial load in Safari #962 and if the editor it's hidden also in Firefox
|
455 |
+
if ( ! this._Range )
|
456 |
+
return { "Start" : 0, "End" : 0 } ;
|
457 |
+
|
458 |
+
// First, we record down the offset values
|
459 |
+
var bookmark =
|
460 |
+
{
|
461 |
+
"Start" : [ this._Range.startOffset ],
|
462 |
+
"End" : [ this._Range.endOffset ]
|
463 |
+
} ;
|
464 |
+
// Since we're treating the document tree as normalized, we need to backtrack the text lengths
|
465 |
+
// of previous text nodes into the offset value.
|
466 |
+
var curStart = this._Range.startContainer.previousSibling ;
|
467 |
+
var curEnd = this._Range.endContainer.previousSibling ;
|
468 |
+
|
469 |
+
// Also note that the node that we use for "address base" would change during backtracking.
|
470 |
+
var addrStart = this._Range.startContainer ;
|
471 |
+
var addrEnd = this._Range.endContainer ;
|
472 |
+
while ( curStart && curStart.nodeType == 3 && addrStart.nodeType == 3 )
|
473 |
+
{
|
474 |
+
bookmark.Start[0] += curStart.length ;
|
475 |
+
addrStart = curStart ;
|
476 |
+
curStart = curStart.previousSibling ;
|
477 |
+
}
|
478 |
+
while ( curEnd && curEnd.nodeType == 3 && addrEnd.nodeType == 3 )
|
479 |
+
{
|
480 |
+
bookmark.End[0] += curEnd.length ;
|
481 |
+
addrEnd = curEnd ;
|
482 |
+
curEnd = curEnd.previousSibling ;
|
483 |
+
}
|
484 |
+
|
485 |
+
// If the object pointed to by the startOffset and endOffset are text nodes, we need
|
486 |
+
// to backtrack and add in the text offset to the bookmark addresses.
|
487 |
+
if ( addrStart.nodeType == 1 && addrStart.childNodes[bookmark.Start[0]] && addrStart.childNodes[bookmark.Start[0]].nodeType == 3 )
|
488 |
+
{
|
489 |
+
var curNode = addrStart.childNodes[bookmark.Start[0]] ;
|
490 |
+
var offset = 0 ;
|
491 |
+
while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 )
|
492 |
+
{
|
493 |
+
curNode = curNode.previousSibling ;
|
494 |
+
offset += curNode.length ;
|
495 |
+
}
|
496 |
+
addrStart = curNode ;
|
497 |
+
bookmark.Start[0] = offset ;
|
498 |
+
}
|
499 |
+
if ( addrEnd.nodeType == 1 && addrEnd.childNodes[bookmark.End[0]] && addrEnd.childNodes[bookmark.End[0]].nodeType == 3 )
|
500 |
+
{
|
501 |
+
var curNode = addrEnd.childNodes[bookmark.End[0]] ;
|
502 |
+
var offset = 0 ;
|
503 |
+
while ( curNode.previousSibling && curNode.previousSibling.nodeType == 3 )
|
504 |
+
{
|
505 |
+
curNode = curNode.previousSibling ;
|
506 |
+
offset += curNode.length ;
|
507 |
+
}
|
508 |
+
addrEnd = curNode ;
|
509 |
+
bookmark.End[0] = offset ;
|
510 |
+
}
|
511 |
+
|
512 |
+
// Then, we record down the precise position of the container nodes
|
513 |
+
// by walking up the DOM tree and counting their childNode index
|
514 |
+
bookmark.Start = FCKDomTools.GetNodeAddress( addrStart, true ).concat( bookmark.Start ) ;
|
515 |
+
bookmark.End = FCKDomTools.GetNodeAddress( addrEnd, true ).concat( bookmark.End ) ;
|
516 |
+
return bookmark;
|
517 |
+
},
|
518 |
+
|
519 |
+
MoveToBookmark2 : function( bookmark )
|
520 |
+
{
|
521 |
+
// Reverse the childNode counting algorithm in CreateBookmark2()
|
522 |
+
var curStart = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.Start.slice( 0, -1 ), true ) ;
|
523 |
+
var curEnd = FCKDomTools.GetNodeFromAddress( this.Window.document, bookmark.End.slice( 0, -1 ), true ) ;
|
524 |
+
|
525 |
+
// Generate the W3C Range object and update relevant data
|
526 |
+
this.Release( true ) ;
|
527 |
+
this._Range = new FCKW3CRange( this.Window.document ) ;
|
528 |
+
var startOffset = bookmark.Start[ bookmark.Start.length - 1 ] ;
|
529 |
+
var endOffset = bookmark.End[ bookmark.End.length - 1 ] ;
|
530 |
+
while ( curStart.nodeType == 3 && startOffset > curStart.length )
|
531 |
+
{
|
532 |
+
if ( ! curStart.nextSibling || curStart.nextSibling.nodeType != 3 )
|
533 |
+
break ;
|
534 |
+
startOffset -= curStart.length ;
|
535 |
+
curStart = curStart.nextSibling ;
|
536 |
+
}
|
537 |
+
while ( curEnd.nodeType == 3 && endOffset > curEnd.length )
|
538 |
+
{
|
539 |
+
if ( ! curEnd.nextSibling || curEnd.nextSibling.nodeType != 3 )
|
540 |
+
break ;
|
541 |
+
endOffset -= curEnd.length ;
|
542 |
+
curEnd = curEnd.nextSibling ;
|
543 |
+
}
|
544 |
+
this._Range.setStart( curStart, startOffset ) ;
|
545 |
+
this._Range.setEnd( curEnd, endOffset ) ;
|
546 |
+
this._UpdateElementInfo() ;
|
547 |
+
},
|
548 |
+
|
549 |
+
MoveToPosition : function( targetElement, position )
|
550 |
+
{
|
551 |
+
this.SetStart( targetElement, position ) ;
|
552 |
+
this.Collapse( true ) ;
|
553 |
+
},
|
554 |
+
|
555 |
+
/*
|
556 |
+
* Moves the position of the start boundary of the range to a specific position
|
557 |
+
* relatively to a element.
|
558 |
+
* @position:
|
559 |
+
* 1 = After Start <target>^contents</target>
|
560 |
+
* 2 = Before End <target>contents^</target>
|
561 |
+
* 3 = Before Start ^<target>contents</target>
|
562 |
+
* 4 = After End <target>contents</target>^
|
563 |
+
*/
|
564 |
+
SetStart : function( targetElement, position, noInfoUpdate )
|
565 |
+
{
|
566 |
+
var oRange = this._Range ;
|
567 |
+
if ( !oRange )
|
568 |
+
oRange = this._Range = this.CreateRange() ;
|
569 |
+
|
570 |
+
switch( position )
|
571 |
+
{
|
572 |
+
case 1 : // After Start <target>^contents</target>
|
573 |
+
oRange.setStart( targetElement, 0 ) ;
|
574 |
+
break ;
|
575 |
+
|
576 |
+
case 2 : // Before End <target>contents^</target>
|
577 |
+
oRange.setStart( targetElement, targetElement.childNodes.length ) ;
|
578 |
+
break ;
|
579 |
+
|
580 |
+
case 3 : // Before Start ^<target>contents</target>
|
581 |
+
oRange.setStartBefore( targetElement ) ;
|
582 |
+
break ;
|
583 |
+
|
584 |
+
case 4 : // After End <target>contents</target>^
|
585 |
+
oRange.setStartAfter( targetElement ) ;
|
586 |
+
}
|
587 |
+
|
588 |
+
if ( !noInfoUpdate )
|
589 |
+
this._UpdateElementInfo() ;
|
590 |
+
},
|
591 |
+
|
592 |
+
/*
|
593 |
+
* Moves the position of the start boundary of the range to a specific position
|
594 |
+
* relatively to a element.
|
595 |
+
* @position:
|
596 |
+
* 1 = After Start <target>^contents</target>
|
597 |
+
* 2 = Before End <target>contents^</target>
|
598 |
+
* 3 = Before Start ^<target>contents</target>
|
599 |
+
* 4 = After End <target>contents</target>^
|
600 |
+
*/
|
601 |
+
SetEnd : function( targetElement, position, noInfoUpdate )
|
602 |
+
{
|
603 |
+
var oRange = this._Range ;
|
604 |
+
if ( !oRange )
|
605 |
+
oRange = this._Range = this.CreateRange() ;
|
606 |
+
|
607 |
+
switch( position )
|
608 |
+
{
|
609 |
+
case 1 : // After Start <target>^contents</target>
|
610 |
+
oRange.setEnd( targetElement, 0 ) ;
|
611 |
+
break ;
|
612 |
+
|
613 |
+
case 2 : // Before End <target>contents^</target>
|
614 |
+
oRange.setEnd( targetElement, targetElement.childNodes.length ) ;
|
615 |
+
break ;
|
616 |
+
|
617 |
+
case 3 : // Before Start ^<target>contents</target>
|
618 |
+
oRange.setEndBefore( targetElement ) ;
|
619 |
+
break ;
|
620 |
+
|
621 |
+
case 4 : // After End <target>contents</target>^
|
622 |
+
oRange.setEndAfter( targetElement ) ;
|
623 |
+
}
|
624 |
+
|
625 |
+
if ( !noInfoUpdate )
|
626 |
+
this._UpdateElementInfo() ;
|
627 |
+
},
|
628 |
+
|
629 |
+
Expand : function( unit )
|
630 |
+
{
|
631 |
+
var oNode, oSibling ;
|
632 |
+
|
633 |
+
switch ( unit )
|
634 |
+
{
|
635 |
+
// Expand the range to include all inline parent elements if we are
|
636 |
+
// are in their boundary limits.
|
637 |
+
// For example (where [ ] are the range limits):
|
638 |
+
// Before => Some <b>[<i>Some sample text]</i></b>.
|
639 |
+
// After => Some [<b><i>Some sample text</i></b>].
|
640 |
+
case 'inline_elements' :
|
641 |
+
// Expand the start boundary.
|
642 |
+
if ( this._Range.startOffset == 0 )
|
643 |
+
{
|
644 |
+
oNode = this._Range.startContainer ;
|
645 |
+
|
646 |
+
if ( oNode.nodeType != 1 )
|
647 |
+
oNode = oNode.previousSibling ? null : oNode.parentNode ;
|
648 |
+
|
649 |
+
if ( oNode )
|
650 |
+
{
|
651 |
+
while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] )
|
652 |
+
{
|
653 |
+
this._Range.setStartBefore( oNode ) ;
|
654 |
+
|
655 |
+
if ( oNode != oNode.parentNode.firstChild )
|
656 |
+
break ;
|
657 |
+
|
658 |
+
oNode = oNode.parentNode ;
|
659 |
+
}
|
660 |
+
}
|
661 |
+
}
|
662 |
+
|
663 |
+
// Expand the end boundary.
|
664 |
+
oNode = this._Range.endContainer ;
|
665 |
+
var offset = this._Range.endOffset ;
|
666 |
+
|
667 |
+
if ( ( oNode.nodeType == 3 && offset >= oNode.nodeValue.length ) || ( oNode.nodeType == 1 && offset >= oNode.childNodes.length ) || ( oNode.nodeType != 1 && oNode.nodeType != 3 ) )
|
668 |
+
{
|
669 |
+
if ( oNode.nodeType != 1 )
|
670 |
+
oNode = oNode.nextSibling ? null : oNode.parentNode ;
|
671 |
+
|
672 |
+
if ( oNode )
|
673 |
+
{
|
674 |
+
while ( FCKListsLib.InlineNonEmptyElements[ oNode.nodeName.toLowerCase() ] )
|
675 |
+
{
|
676 |
+
this._Range.setEndAfter( oNode ) ;
|
677 |
+
|
678 |
+
if ( oNode != oNode.parentNode.lastChild )
|
679 |
+
break ;
|
680 |
+
|
681 |
+
oNode = oNode.parentNode ;
|
682 |
+
}
|
683 |
+
}
|
684 |
+
}
|
685 |
+
|
686 |
+
break ;
|
687 |
+
|
688 |
+
case 'block_contents' :
|
689 |
+
case 'list_contents' :
|
690 |
+
var boundarySet = FCKListsLib.BlockBoundaries ;
|
691 |
+
if ( unit == 'list_contents' || FCKConfig.EnterMode == 'br' )
|
692 |
+
boundarySet = FCKListsLib.ListBoundaries ;
|
693 |
+
|
694 |
+
if ( this.StartBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' )
|
695 |
+
this.SetStart( this.StartBlock, 1 ) ;
|
696 |
+
else
|
697 |
+
{
|
698 |
+
// Get the start node for the current range.
|
699 |
+
oNode = this._Range.startContainer ;
|
700 |
+
|
701 |
+
// If it is an element, get the node right before of it (in source order).
|
702 |
+
if ( oNode.nodeType == 1 )
|
703 |
+
{
|
704 |
+
var lastNode = oNode.childNodes[ this._Range.startOffset ] ;
|
705 |
+
if ( lastNode )
|
706 |
+
oNode = FCKDomTools.GetPreviousSourceNode( lastNode, true ) ;
|
707 |
+
else
|
708 |
+
oNode = oNode.lastChild || oNode ;
|
709 |
+
}
|
710 |
+
|
711 |
+
// We must look for the left boundary, relative to the range
|
712 |
+
// start, which is limited by a block element.
|
713 |
+
while ( oNode
|
714 |
+
&& ( oNode.nodeType != 1
|
715 |
+
|| ( oNode != this.StartBlockLimit
|
716 |
+
&& !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) )
|
717 |
+
{
|
718 |
+
this._Range.setStartBefore( oNode ) ;
|
719 |
+
oNode = oNode.previousSibling || oNode.parentNode ;
|
720 |
+
}
|
721 |
+
}
|
722 |
+
|
723 |
+
if ( this.EndBlock && FCKConfig.EnterMode != 'br' && unit == 'block_contents' && this.EndBlock.nodeName.toLowerCase() != 'li' )
|
724 |
+
this.SetEnd( this.EndBlock, 2 ) ;
|
725 |
+
else
|
726 |
+
{
|
727 |
+
oNode = this._Range.endContainer ;
|
728 |
+
if ( oNode.nodeType == 1 )
|
729 |
+
oNode = oNode.childNodes[ this._Range.endOffset ] || oNode.lastChild ;
|
730 |
+
|
731 |
+
// We must look for the right boundary, relative to the range
|
732 |
+
// end, which is limited by a block element.
|
733 |
+
while ( oNode
|
734 |
+
&& ( oNode.nodeType != 1
|
735 |
+
|| ( oNode != this.StartBlockLimit
|
736 |
+
&& !boundarySet[ oNode.nodeName.toLowerCase() ] ) ) )
|
737 |
+
{
|
738 |
+
this._Range.setEndAfter( oNode ) ;
|
739 |
+
oNode = oNode.nextSibling || oNode.parentNode ;
|
740 |
+
}
|
741 |
+
|
742 |
+
// In EnterMode='br', the end <br> boundary element must
|
743 |
+
// be included in the expanded range.
|
744 |
+
if ( oNode && oNode.nodeName.toLowerCase() == 'br' )
|
745 |
+
this._Range.setEndAfter( oNode ) ;
|
746 |
+
}
|
747 |
+
|
748 |
+
this._UpdateElementInfo() ;
|
749 |
+
}
|
750 |
+
},
|
751 |
+
|
752 |
+
/**
|
753 |
+
* Split the block element for the current range. It deletes the contents
|
754 |
+
* of the range and splits the block in the collapsed position, resulting
|
755 |
+
* in two sucessive blocks. The range is then positioned in the middle of
|
756 |
+
* them.
|
757 |
+
*
|
758 |
+
* It returns and object with the following properties:
|
759 |
+
* - PreviousBlock : a reference to the block element that preceeds
|
760 |
+
* the range after the split.
|
761 |
+
* - NextBlock : a reference to the block element that follows the
|
762 |
+
* range after the split.
|
763 |
+
* - WasStartOfBlock : a boolean indicating that the range was
|
764 |
+
* originaly at the start of the block.
|
765 |
+
* - WasEndOfBlock : a boolean indicating that the range was originaly
|
766 |
+
* at the end of the block.
|
767 |
+
*
|
768 |
+
* If the range was originaly at the start of the block, no split will happen
|
769 |
+
* and the PreviousBlock value will be null. The same is valid for the
|
770 |
+
* NextBlock value if the range was at the end of the block.
|
771 |
+
*/
|
772 |
+
SplitBlock : function( forceBlockTag )
|
773 |
+
{
|
774 |
+
var blockTag = forceBlockTag || FCKConfig.EnterMode ;
|
775 |
+
|
776 |
+
if ( !this._Range )
|
777 |
+
this.MoveToSelection() ;
|
778 |
+
|
779 |
+
// The range boundaries must be in the same "block limit" element.
|
780 |
+
if ( this.StartBlockLimit == this.EndBlockLimit )
|
781 |
+
{
|
782 |
+
// Get the current blocks.
|
783 |
+
var eStartBlock = this.StartBlock ;
|
784 |
+
var eEndBlock = this.EndBlock ;
|
785 |
+
var oElementPath = null ;
|
786 |
+
|
787 |
+
if ( blockTag != 'br' )
|
788 |
+
{
|
789 |
+
if ( !eStartBlock )
|
790 |
+
{
|
791 |
+
eStartBlock = this.FixBlock( true, blockTag ) ;
|
792 |
+
eEndBlock = this.EndBlock ; // FixBlock may have fixed the EndBlock too.
|
793 |
+
}
|
794 |
+
|
795 |
+
if ( !eEndBlock )
|
796 |
+
eEndBlock = this.FixBlock( false, blockTag ) ;
|
797 |
+
}
|
798 |
+
|
799 |
+
// Get the range position.
|
800 |
+
var bIsStartOfBlock = ( eStartBlock != null && this.CheckStartOfBlock() ) ;
|
801 |
+
var bIsEndOfBlock = ( eEndBlock != null && this.CheckEndOfBlock() ) ;
|
802 |
+
|
803 |
+
// Delete the current contents.
|
804 |
+
if ( !this.CheckIsEmpty() )
|
805 |
+
this.DeleteContents() ;
|
806 |
+
|
807 |
+
if ( eStartBlock && eEndBlock && eStartBlock == eEndBlock )
|
808 |
+
{
|
809 |
+
if ( bIsEndOfBlock )
|
810 |
+
{
|
811 |
+
oElementPath = new FCKElementPath( this.StartContainer ) ;
|
812 |
+
this.MoveToPosition( eEndBlock, 4 ) ;
|
813 |
+
eEndBlock = null ;
|
814 |
+
}
|
815 |
+
else if ( bIsStartOfBlock )
|
816 |
+
{
|
817 |
+
oElementPath = new FCKElementPath( this.StartContainer ) ;
|
818 |
+
this.MoveToPosition( eStartBlock, 3 ) ;
|
819 |
+
eStartBlock = null ;
|
820 |
+
}
|
821 |
+
else
|
822 |
+
{
|
823 |
+
// Extract the contents of the block from the selection point to the end of its contents.
|
824 |
+
this.SetEnd( eStartBlock, 2 ) ;
|
825 |
+
var eDocFrag = this.ExtractContents() ;
|
826 |
+
|
827 |
+
// Duplicate the block element after it.
|
828 |
+
eEndBlock = eStartBlock.cloneNode( false ) ;
|
829 |
+
eEndBlock.removeAttribute( 'id', false ) ;
|
830 |
+
|
831 |
+
// Place the extracted contents in the duplicated block.
|
832 |
+
eDocFrag.AppendTo( eEndBlock ) ;
|
833 |
+
|
834 |
+
FCKDomTools.InsertAfterNode( eStartBlock, eEndBlock ) ;
|
835 |
+
|
836 |
+
this.MoveToPosition( eStartBlock, 4 ) ;
|
837 |
+
|
838 |
+
// In Gecko, the last child node must be a bogus <br>.
|
839 |
+
// Note: bogus <br> added under <ul> or <ol> would cause lists to be incorrectly rendered.
|
840 |
+
if ( FCKBrowserInfo.IsGecko &&
|
841 |
+
! eStartBlock.nodeName.IEquals( ['ul', 'ol'] ) )
|
842 |
+
FCKTools.AppendBogusBr( eStartBlock ) ;
|
843 |
+
}
|
844 |
+
}
|
845 |
+
|
846 |
+
return {
|
847 |
+
PreviousBlock : eStartBlock,
|
848 |
+
NextBlock : eEndBlock,
|
849 |
+
WasStartOfBlock : bIsStartOfBlock,
|
850 |
+
WasEndOfBlock : bIsEndOfBlock,
|
851 |
+
ElementPath : oElementPath
|
852 |
+
} ;
|
853 |
+
}
|
854 |
+
|
855 |
+
return null ;
|
856 |
+
},
|
857 |
+
|
858 |
+
// Transform a block without a block tag in a valid block (orphan text in the body or td, usually).
|
859 |
+
FixBlock : function( isStart, blockTag )
|
860 |
+
{
|
861 |
+
// Bookmark the range so we can restore it later.
|
862 |
+
var oBookmark = this.CreateBookmark() ;
|
863 |
+
|
864 |
+
// Collapse the range to the requested ending boundary.
|
865 |
+
this.Collapse( isStart ) ;
|
866 |
+
|
867 |
+
// Expands it to the block contents.
|
868 |
+
this.Expand( 'block_contents' ) ;
|
869 |
+
|
870 |
+
// Create the fixed block.
|
871 |
+
var oFixedBlock = this.Window.document.createElement( blockTag ) ;
|
872 |
+
|
873 |
+
// Move the contents of the temporary range to the fixed block.
|
874 |
+
this.ExtractContents().AppendTo( oFixedBlock ) ;
|
875 |
+
FCKDomTools.TrimNode( oFixedBlock ) ;
|
876 |
+
|
877 |
+
// If the fixed block is empty (not counting bookmark nodes)
|
878 |
+
// Add a <br /> inside to expand it.
|
879 |
+
if ( FCKDomTools.CheckIsEmptyElement(oFixedBlock, function( element ) { return element.getAttribute('_fck_bookmark') != 'true' ; } )
|
880 |
+
&& FCKBrowserInfo.IsGeckoLike )
|
881 |
+
FCKTools.AppendBogusBr( oFixedBlock ) ;
|
882 |
+
|
883 |
+
// Insert the fixed block into the DOM.
|
884 |
+
this.InsertNode( oFixedBlock ) ;
|
885 |
+
|
886 |
+
// Move the range back to the bookmarked place.
|
887 |
+
this.MoveToBookmark( oBookmark ) ;
|
888 |
+
|
889 |
+
return oFixedBlock ;
|
890 |
+
},
|
891 |
+
|
892 |
+
Release : function( preserveWindow )
|
893 |
+
{
|
894 |
+
if ( !preserveWindow )
|
895 |
+
this.Window = null ;
|
896 |
+
|
897 |
+
this.StartNode = null ;
|
898 |
+
this.StartContainer = null ;
|
899 |
+
this.StartBlock = null ;
|
900 |
+
this.StartBlockLimit = null ;
|
901 |
+
this.EndNode = null ;
|
902 |
+
this.EndContainer = null ;
|
903 |
+
this.EndBlock = null ;
|
904 |
+
this.EndBlockLimit = null ;
|
905 |
+
this._Range = null ;
|
906 |
+
this._Cache = null ;
|
907 |
+
},
|
908 |
+
|
909 |
+
CheckHasRange : function()
|
910 |
+
{
|
911 |
+
return !!this._Range ;
|
912 |
+
},
|
913 |
+
|
914 |
+
GetTouchedStartNode : function()
|
915 |
+
{
|
916 |
+
var range = this._Range ;
|
917 |
+
var container = range.startContainer ;
|
918 |
+
|
919 |
+
if ( range.collapsed || container.nodeType != 1 )
|
920 |
+
return container ;
|
921 |
+
|
922 |
+
return container.childNodes[ range.startOffset ] || container ;
|
923 |
+
},
|
924 |
+
|
925 |
+
GetTouchedEndNode : function()
|
926 |
+
{
|
927 |
+
var range = this._Range ;
|
928 |
+
var container = range.endContainer ;
|
929 |
+
|
930 |
+
if ( range.collapsed || container.nodeType != 1 )
|
931 |
+
return container ;
|
932 |
+
|
933 |
+
return container.childNodes[ range.endOffset - 1 ] || container ;
|
934 |
+
}
|
935 |
+
} ;
|
fckeditor/editor/_source/classes/fckdomrange_gecko.js
CHANGED
@@ -1,104 +1,104 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Class for working with a selection range, much like the W3C DOM Range, but
|
22 |
-
* it is not intended to be an implementation of the W3C interface.
|
23 |
-
* (Gecko Implementation)
|
24 |
-
*/
|
25 |
-
|
26 |
-
FCKDomRange.prototype.MoveToSelection = function()
|
27 |
-
{
|
28 |
-
this.Release( true ) ;
|
29 |
-
|
30 |
-
var oSel = this.Window.getSelection() ;
|
31 |
-
|
32 |
-
if ( oSel && oSel.rangeCount > 0 )
|
33 |
-
{
|
34 |
-
this._Range = FCKW3CRange.CreateFromRange( this.Window.document, oSel.getRangeAt(0) ) ;
|
35 |
-
this._UpdateElementInfo() ;
|
36 |
-
}
|
37 |
-
else
|
38 |
-
if ( this.Window.document )
|
39 |
-
this.MoveToElementStart( this.Window.document.body ) ;
|
40 |
-
}
|
41 |
-
|
42 |
-
FCKDomRange.prototype.Select = function()
|
43 |
-
{
|
44 |
-
var oRange = this._Range ;
|
45 |
-
if ( oRange )
|
46 |
-
{
|
47 |
-
var startContainer = oRange.startContainer ;
|
48 |
-
|
49 |
-
// If we have a collapsed range, inside an empty element, we must add
|
50 |
-
// something to it, otherwise the caret will not be visible.
|
51 |
-
if ( oRange.collapsed && startContainer.nodeType == 1 && startContainer.childNodes.length == 0 )
|
52 |
-
startContainer.appendChild( oRange._Document.createTextNode('') ) ;
|
53 |
-
|
54 |
-
var oDocRange = this.Window.document.createRange() ;
|
55 |
-
oDocRange.setStart( startContainer, oRange.startOffset ) ;
|
56 |
-
|
57 |
-
try
|
58 |
-
{
|
59 |
-
oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ;
|
60 |
-
}
|
61 |
-
catch ( e )
|
62 |
-
{
|
63 |
-
// There is a bug in Firefox implementation (it would be too easy
|
64 |
-
// otherwise). The new start can't be after the end (W3C says it can).
|
65 |
-
// So, let's create a new range and collapse it to the desired point.
|
66 |
-
if ( e.toString().Contains( 'NS_ERROR_ILLEGAL_VALUE' ) )
|
67 |
-
{
|
68 |
-
oRange.collapse( true ) ;
|
69 |
-
oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ;
|
70 |
-
}
|
71 |
-
else
|
72 |
-
throw( e ) ;
|
73 |
-
}
|
74 |
-
|
75 |
-
var oSel = this.Window.getSelection() ;
|
76 |
-
oSel.removeAllRanges() ;
|
77 |
-
|
78 |
-
// We must add a clone otherwise Firefox will have rendering issues.
|
79 |
-
oSel.addRange( oDocRange ) ;
|
80 |
-
}
|
81 |
-
}
|
82 |
-
|
83 |
-
// Not compatible with bookmark created with CreateBookmark2.
|
84 |
-
// The bookmark nodes will be deleted from the document.
|
85 |
-
FCKDomRange.prototype.SelectBookmark = function( bookmark )
|
86 |
-
{
|
87 |
-
var domRange = this.Window.document.createRange() ;
|
88 |
-
|
89 |
-
var startNode = this.GetBookmarkNode( bookmark, true ) ;
|
90 |
-
var endNode = this.GetBookmarkNode( bookmark, false ) ;
|
91 |
-
|
92 |
-
domRange.setStart( startNode.parentNode, FCKDomTools.GetIndexOf( startNode ) ) ;
|
93 |
-
FCKDomTools.RemoveNode( startNode ) ;
|
94 |
-
|
95 |
-
if ( endNode )
|
96 |
-
{
|
97 |
-
domRange.setEnd( endNode.parentNode, FCKDomTools.GetIndexOf( endNode ) ) ;
|
98 |
-
FCKDomTools.RemoveNode( endNode ) ;
|
99 |
-
}
|
100 |
-
|
101 |
-
var selection = this.Window.getSelection() ;
|
102 |
-
selection.removeAllRanges() ;
|
103 |
-
selection.addRange( domRange ) ;
|
104 |
-
}
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* Class for working with a selection range, much like the W3C DOM Range, but
|
22 |
+
* it is not intended to be an implementation of the W3C interface.
|
23 |
+
* (Gecko Implementation)
|
24 |
+
*/
|
25 |
+
|
26 |
+
FCKDomRange.prototype.MoveToSelection = function()
|
27 |
+
{
|
28 |
+
this.Release( true ) ;
|
29 |
+
|
30 |
+
var oSel = this.Window.getSelection() ;
|
31 |
+
|
32 |
+
if ( oSel && oSel.rangeCount > 0 )
|
33 |
+
{
|
34 |
+
this._Range = FCKW3CRange.CreateFromRange( this.Window.document, oSel.getRangeAt(0) ) ;
|
35 |
+
this._UpdateElementInfo() ;
|
36 |
+
}
|
37 |
+
else
|
38 |
+
if ( this.Window.document )
|
39 |
+
this.MoveToElementStart( this.Window.document.body ) ;
|
40 |
+
}
|
41 |
+
|
42 |
+
FCKDomRange.prototype.Select = function()
|
43 |
+
{
|
44 |
+
var oRange = this._Range ;
|
45 |
+
if ( oRange )
|
46 |
+
{
|
47 |
+
var startContainer = oRange.startContainer ;
|
48 |
+
|
49 |
+
// If we have a collapsed range, inside an empty element, we must add
|
50 |
+
// something to it, otherwise the caret will not be visible.
|
51 |
+
if ( oRange.collapsed && startContainer.nodeType == 1 && startContainer.childNodes.length == 0 )
|
52 |
+
startContainer.appendChild( oRange._Document.createTextNode('') ) ;
|
53 |
+
|
54 |
+
var oDocRange = this.Window.document.createRange() ;
|
55 |
+
oDocRange.setStart( startContainer, oRange.startOffset ) ;
|
56 |
+
|
57 |
+
try
|
58 |
+
{
|
59 |
+
oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ;
|
60 |
+
}
|
61 |
+
catch ( e )
|
62 |
+
{
|
63 |
+
// There is a bug in Firefox implementation (it would be too easy
|
64 |
+
// otherwise). The new start can't be after the end (W3C says it can).
|
65 |
+
// So, let's create a new range and collapse it to the desired point.
|
66 |
+
if ( e.toString().Contains( 'NS_ERROR_ILLEGAL_VALUE' ) )
|
67 |
+
{
|
68 |
+
oRange.collapse( true ) ;
|
69 |
+
oDocRange.setEnd( oRange.endContainer, oRange.endOffset ) ;
|
70 |
+
}
|
71 |
+
else
|
72 |
+
throw( e ) ;
|
73 |
+
}
|
74 |
+
|
75 |
+
var oSel = this.Window.getSelection() ;
|
76 |
+
oSel.removeAllRanges() ;
|
77 |
+
|
78 |
+
// We must add a clone otherwise Firefox will have rendering issues.
|
79 |
+
oSel.addRange( oDocRange ) ;
|
80 |
+
}
|
81 |
+
}
|
82 |
+
|
83 |
+
// Not compatible with bookmark created with CreateBookmark2.
|
84 |
+
// The bookmark nodes will be deleted from the document.
|
85 |
+
FCKDomRange.prototype.SelectBookmark = function( bookmark )
|
86 |
+
{
|
87 |
+
var domRange = this.Window.document.createRange() ;
|
88 |
+
|
89 |
+
var startNode = this.GetBookmarkNode( bookmark, true ) ;
|
90 |
+
var endNode = this.GetBookmarkNode( bookmark, false ) ;
|
91 |
+
|
92 |
+
domRange.setStart( startNode.parentNode, FCKDomTools.GetIndexOf( startNode ) ) ;
|
93 |
+
FCKDomTools.RemoveNode( startNode ) ;
|
94 |
+
|
95 |
+
if ( endNode )
|
96 |
+
{
|
97 |
+
domRange.setEnd( endNode.parentNode, FCKDomTools.GetIndexOf( endNode ) ) ;
|
98 |
+
FCKDomTools.RemoveNode( endNode ) ;
|
99 |
+
}
|
100 |
+
|
101 |
+
var selection = this.Window.getSelection() ;
|
102 |
+
selection.removeAllRanges() ;
|
103 |
+
selection.addRange( domRange ) ;
|
104 |
+
}
|
fckeditor/editor/_source/classes/fckdomrange_ie.js
CHANGED
@@ -1,199 +1,199 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* Class for working with a selection range, much like the W3C DOM Range, but
|
22 |
-
* it is not intended to be an implementation of the W3C interface.
|
23 |
-
* (IE Implementation)
|
24 |
-
*/
|
25 |
-
|
26 |
-
FCKDomRange.prototype.MoveToSelection = function()
|
27 |
-
{
|
28 |
-
this.Release( true ) ;
|
29 |
-
|
30 |
-
this._Range = new FCKW3CRange( this.Window.document ) ;
|
31 |
-
|
32 |
-
var oSel = this.Window.document.selection ;
|
33 |
-
|
34 |
-
if ( oSel.type != 'Control' )
|
35 |
-
{
|
36 |
-
var eMarkerStart = this._GetSelectionMarkerTag( true ) ;
|
37 |
-
var eMarkerEnd = this._GetSelectionMarkerTag( false ) ;
|
38 |
-
|
39 |
-
if ( !eMarkerStart && !eMarkerEnd )
|
40 |
-
{
|
41 |
-
this._Range.setStart( this.Window.document.body, 0 ) ;
|
42 |
-
this._UpdateElementInfo() ;
|
43 |
-
return ;
|
44 |
-
}
|
45 |
-
|
46 |
-
// Set the start boundary.
|
47 |
-
this._Range.setStart( eMarkerStart.parentNode, FCKDomTools.GetIndexOf( eMarkerStart ) ) ;
|
48 |
-
eMarkerStart.parentNode.removeChild( eMarkerStart ) ;
|
49 |
-
|
50 |
-
// Set the end boundary.
|
51 |
-
this._Range.setEnd( eMarkerEnd.parentNode, FCKDomTools.GetIndexOf( eMarkerEnd ) ) ;
|
52 |
-
eMarkerEnd.parentNode.removeChild( eMarkerEnd ) ;
|
53 |
-
|
54 |
-
this._UpdateElementInfo() ;
|
55 |
-
}
|
56 |
-
else
|
57 |
-
{
|
58 |
-
var oControl = oSel.createRange().item(0) ;
|
59 |
-
|
60 |
-
if ( oControl )
|
61 |
-
{
|
62 |
-
this._Range.setStartBefore( oControl ) ;
|
63 |
-
this._Range.setEndAfter( oControl ) ;
|
64 |
-
this._UpdateElementInfo() ;
|
65 |
-
}
|
66 |
-
}
|
67 |
-
}
|
68 |
-
|
69 |
-
FCKDomRange.prototype.Select = function( forceExpand )
|
70 |
-
{
|
71 |
-
if ( this._Range )
|
72 |
-
this.SelectBookmark( this.CreateBookmark( true ), forceExpand ) ;
|
73 |
-
}
|
74 |
-
|
75 |
-
// Not compatible with bookmark created with CreateBookmark2.
|
76 |
-
// The bookmark nodes will be deleted from the document.
|
77 |
-
FCKDomRange.prototype.SelectBookmark = function( bookmark, forceExpand )
|
78 |
-
{
|
79 |
-
var bIsCollapsed = this.CheckIsCollapsed() ;
|
80 |
-
var bIsStartMakerAlone ;
|
81 |
-
var dummySpan ;
|
82 |
-
|
83 |
-
// Create marker tags for the start and end boundaries.
|
84 |
-
var eStartMarker = this.GetBookmarkNode( bookmark, true ) ;
|
85 |
-
|
86 |
-
if ( !eStartMarker )
|
87 |
-
return ;
|
88 |
-
|
89 |
-
var eEndMarker ;
|
90 |
-
if ( !bIsCollapsed )
|
91 |
-
eEndMarker = this.GetBookmarkNode( bookmark, false ) ;
|
92 |
-
|
93 |
-
// Create the main range which will be used for the selection.
|
94 |
-
var oIERange = this.Window.document.body.createTextRange() ;
|
95 |
-
|
96 |
-
// Position the range at the start boundary.
|
97 |
-
oIERange.moveToElementText( eStartMarker ) ;
|
98 |
-
oIERange.moveStart( 'character', 1 ) ;
|
99 |
-
|
100 |
-
if ( eEndMarker )
|
101 |
-
{
|
102 |
-
// Create a tool range for the end.
|
103 |
-
var oIERangeEnd = this.Window.document.body.createTextRange() ;
|
104 |
-
|
105 |
-
// Position the tool range at the end.
|
106 |
-
oIERangeEnd.moveToElementText( eEndMarker ) ;
|
107 |
-
|
108 |
-
// Move the end boundary of the main range to match the tool range.
|
109 |
-
oIERange.setEndPoint( 'EndToEnd', oIERangeEnd ) ;
|
110 |
-
oIERange.moveEnd( 'character', -1 ) ;
|
111 |
-
}
|
112 |
-
else
|
113 |
-
{
|
114 |
-
bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ;
|
115 |
-
|
116 |
-
// Append a temporary <span></span> before the selection.
|
117 |
-
// This is needed to avoid IE destroying selections inside empty
|
118 |
-
// inline elements, like <b></b> (#253).
|
119 |
-
// It is also needed when placing the selection right after an inline
|
120 |
-
// element to avoid the selection moving inside of it.
|
121 |
-
dummySpan = this.Window.document.createElement( 'span' ) ;
|
122 |
-
dummySpan.innerHTML = '' ; // Zero Width No-Break Space (U+FEFF). See #1359.
|
123 |
-
eStartMarker.parentNode.insertBefore( dummySpan, eStartMarker ) ;
|
124 |
-
|
125 |
-
if ( bIsStartMakerAlone )
|
126 |
-
{
|
127 |
-
// To expand empty blocks or line spaces after <br>, we need
|
128 |
-
// instead to have any char, which will be later deleted using the
|
129 |
-
// selection.
|
130 |
-
// \ufeff = Zero Width No-Break Space (U+FEFF). See #1359.
|
131 |
-
eStartMarker.parentNode.insertBefore( this.Window.document.createTextNode( '\ufeff' ), eStartMarker ) ;
|
132 |
-
}
|
133 |
-
}
|
134 |
-
|
135 |
-
if ( !this._Range )
|
136 |
-
this._Range = this.CreateRange() ;
|
137 |
-
|
138 |
-
// Remove the markers (reset the position, because of the changes in the DOM tree).
|
139 |
-
this._Range.setStartBefore( eStartMarker ) ;
|
140 |
-
eStartMarker.parentNode.removeChild( eStartMarker ) ;
|
141 |
-
|
142 |
-
if ( bIsCollapsed )
|
143 |
-
{
|
144 |
-
if ( bIsStartMakerAlone )
|
145 |
-
{
|
146 |
-
// Move the selection start to include the temporary .
|
147 |
-
oIERange.moveStart( 'character', -1 ) ;
|
148 |
-
|
149 |
-
oIERange.select() ;
|
150 |
-
|
151 |
-
// Remove our temporary stuff.
|
152 |
-
this.Window.document.selection.clear() ;
|
153 |
-
}
|
154 |
-
else
|
155 |
-
oIERange.select() ;
|
156 |
-
|
157 |
-
FCKDomTools.RemoveNode( dummySpan ) ;
|
158 |
-
}
|
159 |
-
else
|
160 |
-
{
|
161 |
-
this._Range.setEndBefore( eEndMarker ) ;
|
162 |
-
eEndMarker.parentNode.removeChild( eEndMarker ) ;
|
163 |
-
oIERange.select() ;
|
164 |
-
}
|
165 |
-
}
|
166 |
-
|
167 |
-
FCKDomRange.prototype._GetSelectionMarkerTag = function( toStart )
|
168 |
-
{
|
169 |
-
var doc = this.Window.document ;
|
170 |
-
var selection = doc.selection ;
|
171 |
-
|
172 |
-
// Get a range for the start boundary.
|
173 |
-
var oRange ;
|
174 |
-
|
175 |
-
// IE may throw an "unspecified error" on some cases (it happened when
|
176 |
-
// loading _samples/default.html), so try/catch.
|
177 |
-
try
|
178 |
-
{
|
179 |
-
oRange = selection.createRange() ;
|
180 |
-
}
|
181 |
-
catch (e)
|
182 |
-
{
|
183 |
-
return null ;
|
184 |
-
}
|
185 |
-
|
186 |
-
// IE might take the range object to the main window instead of inside the editor iframe window.
|
187 |
-
// This is known to happen when the editor window has not been selected before (See #933).
|
188 |
-
// We need to avoid that.
|
189 |
-
if ( oRange.parentElement().document != doc )
|
190 |
-
return null ;
|
191 |
-
|
192 |
-
oRange.collapse( toStart === true ) ;
|
193 |
-
|
194 |
-
// Paste a marker element at the collapsed range and get it from the DOM.
|
195 |
-
var sMarkerId = 'fck_dom_range_temp_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000) ;
|
196 |
-
oRange.pasteHTML( '<span id="' + sMarkerId + '"></span>' ) ;
|
197 |
-
|
198 |
-
return doc.getElementById( sMarkerId ) ;
|
199 |
-
}
|
1 |
+
/*
|
2 |
+
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
+
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
+
*
|
5 |
+
* == BEGIN LICENSE ==
|
6 |
+
*
|
7 |
+
* Licensed under the terms of any of the following licenses at your
|
8 |
+
* choice:
|
9 |
+
*
|
10 |
+
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
+
* http://www.gnu.org/licenses/gpl.html
|
12 |
+
*
|
13 |
+
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
+
* http://www.gnu.org/licenses/lgpl.html
|
15 |
+
*
|
16 |
+
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
+
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
+
*
|
19 |
+
* == END LICENSE ==
|
20 |
+
*
|
21 |
+
* Class for working with a selection range, much like the W3C DOM Range, but
|
22 |
+
* it is not intended to be an implementation of the W3C interface.
|
23 |
+
* (IE Implementation)
|
24 |
+
*/
|
25 |
+
|
26 |
+
FCKDomRange.prototype.MoveToSelection = function()
|
27 |
+
{
|
28 |
+
this.Release( true ) ;
|
29 |
+
|
30 |
+
this._Range = new FCKW3CRange( this.Window.document ) ;
|
31 |
+
|
32 |
+
var oSel = this.Window.document.selection ;
|
33 |
+
|
34 |
+
if ( oSel.type != 'Control' )
|
35 |
+
{
|
36 |
+
var eMarkerStart = this._GetSelectionMarkerTag( true ) ;
|
37 |
+
var eMarkerEnd = this._GetSelectionMarkerTag( false ) ;
|
38 |
+
|
39 |
+
if ( !eMarkerStart && !eMarkerEnd )
|
40 |
+
{
|
41 |
+
this._Range.setStart( this.Window.document.body, 0 ) ;
|
42 |
+
this._UpdateElementInfo() ;
|
43 |
+
return ;
|
44 |
+
}
|
45 |
+
|
46 |
+
// Set the start boundary.
|
47 |
+
this._Range.setStart( eMarkerStart.parentNode, FCKDomTools.GetIndexOf( eMarkerStart ) ) ;
|
48 |
+
eMarkerStart.parentNode.removeChild( eMarkerStart ) ;
|
49 |
+
|
50 |
+
// Set the end boundary.
|
51 |
+
this._Range.setEnd( eMarkerEnd.parentNode, FCKDomTools.GetIndexOf( eMarkerEnd ) ) ;
|
52 |
+
eMarkerEnd.parentNode.removeChild( eMarkerEnd ) ;
|
53 |
+
|
54 |
+
this._UpdateElementInfo() ;
|
55 |
+
}
|
56 |
+
else
|
57 |
+
{
|
58 |
+
var oControl = oSel.createRange().item(0) ;
|
59 |
+
|
60 |
+
if ( oControl )
|
61 |
+
{
|
62 |
+
this._Range.setStartBefore( oControl ) ;
|
63 |
+
this._Range.setEndAfter( oControl ) ;
|
64 |
+
this._UpdateElementInfo() ;
|
65 |
+
}
|
66 |
+
}
|
67 |
+
}
|
68 |
+
|
69 |
+
FCKDomRange.prototype.Select = function( forceExpand )
|
70 |
+
{
|
71 |
+
if ( this._Range )
|
72 |
+
this.SelectBookmark( this.CreateBookmark( true ), forceExpand ) ;
|
73 |
+
}
|
74 |
+
|
75 |
+
// Not compatible with bookmark created with CreateBookmark2.
|
76 |
+
// The bookmark nodes will be deleted from the document.
|
77 |
+
FCKDomRange.prototype.SelectBookmark = function( bookmark, forceExpand )
|
78 |
+
{
|
79 |
+
var bIsCollapsed = this.CheckIsCollapsed() ;
|
80 |
+
var bIsStartMakerAlone ;
|
81 |
+
var dummySpan ;
|
82 |
+
|
83 |
+
// Create marker tags for the start and end boundaries.
|
84 |
+
var eStartMarker = this.GetBookmarkNode( bookmark, true ) ;
|
85 |
+
|
86 |
+
if ( !eStartMarker )
|
87 |
+
return ;
|
88 |
+
|
89 |
+
var eEndMarker ;
|
90 |
+
if ( !bIsCollapsed )
|
91 |
+
eEndMarker = this.GetBookmarkNode( bookmark, false ) ;
|
92 |
+
|
93 |
+
// Create the main range which will be used for the selection.
|
94 |
+
var oIERange = this.Window.document.body.createTextRange() ;
|
95 |
+
|
96 |
+
// Position the range at the start boundary.
|
97 |
+
oIERange.moveToElementText( eStartMarker ) ;
|
98 |
+
oIERange.moveStart( 'character', 1 ) ;
|
99 |
+
|
100 |
+
if ( eEndMarker )
|
101 |
+
{
|
102 |
+
// Create a tool range for the end.
|
103 |
+
var oIERangeEnd = this.Window.document.body.createTextRange() ;
|
104 |
+
|
105 |
+
// Position the tool range at the end.
|
106 |
+
oIERangeEnd.moveToElementText( eEndMarker ) ;
|
107 |
+
|
108 |
+
// Move the end boundary of the main range to match the tool range.
|
109 |
+
oIERange.setEndPoint( 'EndToEnd', oIERangeEnd ) ;
|
110 |
+
oIERange.moveEnd( 'character', -1 ) ;
|
111 |
+
}
|
112 |
+
else
|
113 |
+
{
|
114 |
+
bIsStartMakerAlone = ( forceExpand || !eStartMarker.previousSibling || eStartMarker.previousSibling.nodeName.toLowerCase() == 'br' ) && !eStartMarker.nextSibing ;
|
115 |
+
|
116 |
+
// Append a temporary <span></span> before the selection.
|
117 |
+
// This is needed to avoid IE destroying selections inside empty
|
118 |
+
// inline elements, like <b></b> (#253).
|
119 |
+
// It is also needed when placing the selection right after an inline
|
120 |
+
// element to avoid the selection moving inside of it.
|
121 |
+
dummySpan = this.Window.document.createElement( 'span' ) ;
|
122 |
+
dummySpan.innerHTML = '' ; // Zero Width No-Break Space (U+FEFF). See #1359.
|
123 |
+
eStartMarker.parentNode.insertBefore( dummySpan, eStartMarker ) ;
|
124 |
+
|
125 |
+
if ( bIsStartMakerAlone )
|
126 |
+
{
|
127 |
+
// To expand empty blocks or line spaces after <br>, we need
|
128 |
+
// instead to have any char, which will be later deleted using the
|
129 |
+
// selection.
|
130 |
+
// \ufeff = Zero Width No-Break Space (U+FEFF). See #1359.
|
131 |
+
eStartMarker.parentNode.insertBefore( this.Window.document.createTextNode( '\ufeff' ), eStartMarker ) ;
|
132 |
+
}
|
133 |
+
}
|
134 |
+
|
135 |
+
if ( !this._Range )
|
136 |
+
this._Range = this.CreateRange() ;
|
137 |
+
|
138 |
+
// Remove the markers (reset the position, because of the changes in the DOM tree).
|
139 |
+
this._Range.setStartBefore( eStartMarker ) ;
|
140 |
+
eStartMarker.parentNode.removeChild( eStartMarker ) ;
|
141 |
+
|
142 |
+
if ( bIsCollapsed )
|
143 |
+
{
|
144 |
+
if ( bIsStartMakerAlone )
|
145 |
+
{
|
146 |
+
// Move the selection start to include the temporary .
|
147 |
+
oIERange.moveStart( 'character', -1 ) ;
|
148 |
+
|
149 |
+
oIERange.select() ;
|
150 |
+
|
151 |
+
// Remove our temporary stuff.
|
152 |
+
this.Window.document.selection.clear() ;
|
153 |
+
}
|
154 |
+
else
|
155 |
+
oIERange.select() ;
|
156 |
+
|
157 |
+
FCKDomTools.RemoveNode( dummySpan ) ;
|
158 |
+
}
|
159 |
+
else
|
160 |
+
{
|
161 |
+
this._Range.setEndBefore( eEndMarker ) ;
|
162 |
+
eEndMarker.parentNode.removeChild( eEndMarker ) ;
|
163 |
+
oIERange.select() ;
|
164 |
+
}
|
165 |
+
}
|
166 |
+
|
167 |
+
FCKDomRange.prototype._GetSelectionMarkerTag = function( toStart )
|
168 |
+
{
|
169 |
+
var doc = this.Window.document ;
|
170 |
+
var selection = doc.selection ;
|
171 |
+
|
172 |
+
// Get a range for the start boundary.
|
173 |
+
var oRange ;
|
174 |
+
|
175 |
+
// IE may throw an "unspecified error" on some cases (it happened when
|
176 |
+
// loading _samples/default.html), so try/catch.
|
177 |
+
try
|
178 |
+
{
|
179 |
+
oRange = selection.createRange() ;
|
180 |
+
}
|
181 |
+
catch (e)
|
182 |
+
{
|
183 |
+
return null ;
|
184 |
+
}
|
185 |
+
|
186 |
+
// IE might take the range object to the main window instead of inside the editor iframe window.
|
187 |
+
// This is known to happen when the editor window has not been selected before (See #933).
|
188 |
+
// We need to avoid that.
|
189 |
+
if ( oRange.parentElement().document != doc )
|
190 |
+
return null ;
|
191 |
+
|
192 |
+
oRange.collapse( toStart === true ) ;
|
193 |
+
|
194 |
+
// Paste a marker element at the collapsed range and get it from the DOM.
|
195 |
+
var sMarkerId = 'fck_dom_range_temp_' + (new Date()).valueOf() + '_' + Math.floor(Math.random()*1000) ;
|
196 |
+
oRange.pasteHTML( '<span id="' + sMarkerId + '"></span>' ) ;
|
197 |
+
|
198 |
+
return doc.getElementById( sMarkerId ) ;
|
199 |
+
}
|
fckeditor/editor/_source/classes/fckdomrangeiterator.js
CHANGED
@@ -1,327 +1,327 @@
|
|
1 |
-
/*
|
2 |
-
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
|
3 |
-
* Copyright (C) 2003-2009 Frederico Caldeira Knabben
|
4 |
-
*
|
5 |
-
* == BEGIN LICENSE ==
|
6 |
-
*
|
7 |
-
* Licensed under the terms of any of the following licenses at your
|
8 |
-
* choice:
|
9 |
-
*
|
10 |
-
* - GNU General Public License Version 2 or later (the "GPL")
|
11 |
-
* http://www.gnu.org/licenses/gpl.html
|
12 |
-
*
|
13 |
-
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
|
14 |
-
* http://www.gnu.org/licenses/lgpl.html
|
15 |
-
*
|
16 |
-
* - Mozilla Public License Version 1.1 or later (the "MPL")
|
17 |
-
* http://www.mozilla.org/MPL/MPL-1.1.html
|
18 |
-
*
|
19 |
-
* == END LICENSE ==
|
20 |
-
*
|
21 |
-
* This class can be used to interate through nodes inside a range.
|
22 |
-
*
|
23 |
-
* During interation, the provided range can become invalid, due to document
|
24 |
-
* mutations, so CreateBookmark() used to restore it after processing, if
|
25 |
-
* needed.
|
26 |
-
*/
|
27 |
-
|
28 |
-
var FCKDomRangeIterator = function( range )
|
29 |
-
{
|
30 |
-
/**
|
31 |
-
* The FCKDomRange object that marks the interation boundaries.
|
32 |
-
*/
|
33 |
-
this.Range = range ;
|
34 |
-
|
35 |
-
/**
|
36 |
-
* Indicates that <br> elements must be used as paragraph boundaries.
|
37 |
-
*/
|
38 |
-
this.ForceBrBreak = false ;
|
39 |
-
|
40 |
-
/**
|
41 |
-
* Guarantees that the iterator will always return "real" block elements.
|
42 |
-
* If "false", elements like <li>, <th> and <td> are returned. If "true", a
|
43 |
-
* dedicated block element block element will be created inside those
|
44 |
-
* elements to hold the selected content.
|
45 |
-
*/
|
46 |
-
this.EnforceRealBlocks = false ;
|
47 |
-
}
|
48 |
-
|
49 |
-
FCKDomRangeIterator.CreateFromSelection = function( targetWindow )
|
50 |
-
{
|
51 |
-
var range = new FCKDomRange( targetWindow ) ;
|
52 |
-
range.MoveToSelection() ;
|
53 |
-
return new FCKDomRangeIterator( range ) ;
|
54 |
-
}
|
55 |
-
|
56 |
-
FCKDomRangeIterator.prototype =
|
57 |
-
{
|
58 |
-
/**
|
59 |
-
* Get the next paragraph element. It automatically breaks the document
|
60 |
-
* when necessary to generate block elements for the paragraphs.
|
61 |
-
*/
|
62 |
-
GetNextParagraph : function()
|
63 |
-
{
|
64 |
-
// The block element to be returned.
|
65 |
-
var block ;
|
66 |
-
|
67 |
-
// The range object used to identify the paragraph contents.
|
68 |
-
var range ;
|
69 |
-
|
70 |
-
// Indicated that the current element in the loop is the last one.
|
71 |
-
var isLast ;
|
72 |
-
|
73 |
-
// Instructs to cleanup remaining BRs.
|
74 |
-
var removePreviousBr ;
|
75 |
-
var removeLastBr ;
|
76 |
-
|
77 |
-
var boundarySet = this.ForceBrBreak ? FCKListsLib.ListBoundaries : FCKListsLib.BlockBoundaries ;
|
78 |
-
|
79 |
-
// This is the first iteration. Let's initialize it.
|
80 |
-
if ( !this._LastNode )
|
81 |
-
{
|
82 |
-
var range = this.Range.Clone() ;
|
83 |
-
range.Expand( this.ForceBrBreak ? 'list_contents' : 'block_contents' ) ;
|
84 |
-
|
85 |
-
this._NextNode = range.GetTouchedStartNode() ;
|
86 |
-
this._LastNode = range.GetTouchedEndNode() ;
|
87 |
-
|
88 |
-
// Let's reuse this variable.
|
89 |
-
range = null ;
|
90 |
-
}
|
91 |
-
|
92 |
-
var currentNode = this._NextNode ;
|
93 |
-
var lastNode = this._LastNode ;
|
94 |
-
|
95 |
-
this._NextNode = null ;
|
96 |
-
|
97 |
-
while ( currentNode )
|
98 |
-
{
|
99 |
-
// closeRange indicates that a paragraph boundary has been found,
|
100 |
-
// so the range can be closed.
|
101 |
-
var closeRange = false ;
|
102 |
-
|
103 |
-
// includeNode indicates that the current node is good to be part
|
104 |
-
// of the range. By default, any non-element node is ok for it.
|
105 |
-
var includeNode = ( currentNode.nodeType != 1 ) ;
|
106 |
-
|
107 |
-
var continueFromSibling = false ;
|
108 |
-
|
109 |
-
// If it is an element node, let's check if it can be part of the
|
110 |
-
// range.
|
111 |
-
if ( !includeNode )
|
112 |
-
{
|
113 |
-
var nodeName = currentNode.nodeName.toLowerCase() ;
|
114 |
-
|
115 |
-
if ( boundarySet[ nodeName ] && ( !FCKBrowserInfo.IsIE || currentNode.scopeName == 'HTML' ) )
|
116 |
-
{
|
117 |
-
// <br> boundaries must be part of the range. It will
|
118 |
-
// happen only if ForceBrBreak.
|
119 |
-
if ( nodeName == 'br' )
|
120 |
-
includeNode = true ;
|
121 |
-
else if ( !range && currentNode.childNodes.length == 0 && nodeName != 'hr' )
|
122 |
-
{
|
123 |
-
// If we have found an empty block, and haven't started
|
124 |
-
// the range yet, it means we must return this block.
|
125 |
-
block = currentNode ;
|
126 |
-
isLast = currentNode == lastNode ;
|
127 |
-
break ;
|
128 |
-
}
|
129 |
-
|
130 |
-
// The range must finish right before the boundary,
|
131 |
-
// including possibly skipped empty spaces. (#1603)
|
132 |
-
if ( range )
|
133 |
-
{
|
134 |
-
range.SetEnd( currentNode, 3, true ) ;
|
135 |
-
|
136 |
-
// The found boundary must be set as the next one at this
|
137 |
-
// point. (#1717)
|
138 |
-
if ( nodeName != 'br' )
|
139 |
-
this._NextNode = FCKDomTools.GetNextSourceNode( currentNode, true, null, lastNode ) || currentNode ;
|
140 |
-
}
|
141 |
-
|
142 |
-
closeRange = true ;
|
143 |
-
}
|
144 |
-
else
|
145 |
-
{
|
146 |
-
// If we have child nodes, let's check them.
|
147 |
-
if ( currentNode.firstChild )
|
148 |
-
{
|
149 |
-
// If we don't have a range yet, let's start it.
|
150 |
-
if ( !range )
|
151 |
-
{
|
152 |
-
range = new FCKDomRange( this.Range.Window ) ;
|
153 |
-
range.SetStart( currentNode, 3, true ) ;
|
154 |
-
}
|
155 |
-
|
156 |
-
currentNode = currentNode.firstChild ;
|
157 |
-
continue ;
|
158 |
-
}
|
159 |
-
includeNode = true ;
|
160 |
-
}
|
161 |
-
}
|
162 |
-
else if ( currentNode.nodeType == 3 )
|
163 |
-
{
|
164 |
-
// Ignore normal whitespaces (i.e. not including or
|
165 |
-
// other unicode whitespaces) before/after a block node.
|
166 |
-
if ( /^[\r\n\t ]+$/.test( currentNode.nodeValue ) )
|
167 |
-
includeNode = false ;
|
168 |
-
}
|
169 |
-
|
170 |
-
// The current node is good to be part of the range and we are
|
171 |
-
// starting a new range, initialize it first
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|