Wp-Insert - Version 1.2

Version Description

Download this release

Release Info

Developer namith.jawahar
Plugin Icon 128x128 Wp-Insert
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

Files changed (109) hide show
  1. ads/insert-ads.php +176 -176
  2. codepress/codepress.css +21 -0
  3. codepress/codepress.html +35 -0
  4. codepress/codepress.js +138 -0
  5. codepress/engines/gecko.js +293 -0
  6. codepress/engines/khtml.js +0 -0
  7. codepress/engines/msie.js +304 -0
  8. codepress/engines/older.js +0 -0
  9. codepress/engines/opera.js +260 -0
  10. codepress/images/line-numbers.png +0 -0
  11. codepress/index.html +443 -0
  12. codepress/languages/asp.css +71 -0
  13. codepress/languages/asp.js +117 -0
  14. codepress/languages/autoit.css +13 -0
  15. codepress/languages/autoit.js +32 -0
  16. codepress/languages/csharp.css +9 -0
  17. codepress/languages/csharp.js +25 -0
  18. codepress/languages/css.css +10 -0
  19. codepress/languages/css.js +23 -0
  20. codepress/languages/generic.css +9 -0
  21. codepress/languages/generic.js +25 -0
  22. codepress/languages/html.css +13 -0
  23. codepress/languages/html.js +59 -0
  24. codepress/languages/java.css +7 -0
  25. codepress/languages/java.js +24 -0
  26. codepress/languages/javascript.css +8 -0
  27. codepress/languages/javascript.js +30 -0
  28. codepress/languages/perl.css +11 -0
  29. codepress/languages/perl.js +27 -0
  30. codepress/languages/php.css +12 -0
  31. codepress/languages/php.js +61 -0
  32. codepress/languages/ruby.css +10 -0
  33. codepress/languages/ruby.js +26 -0
  34. codepress/languages/sql.css +10 -0
  35. codepress/languages/sql.js +30 -0
  36. codepress/languages/text.css +5 -0
  37. codepress/languages/text.js +9 -0
  38. codepress/languages/vbscript.css +71 -0
  39. codepress/languages/vbscript.js +117 -0
  40. codepress/languages/xsl.css +15 -0
  41. codepress/languages/xsl.js +103 -0
  42. codepress/license.txt +458 -0
  43. fckeditor/_documentation.html +38 -38
  44. fckeditor/_samples/_plugins/findreplace/fckplugin.js +38 -38
  45. fckeditor/_samples/_plugins/findreplace/find.html +172 -172
  46. fckeditor/_samples/_plugins/findreplace/lang/en.js +33 -33
  47. fckeditor/_samples/_plugins/findreplace/lang/fr.js +33 -33
  48. fckeditor/_samples/_plugins/findreplace/lang/it.js +33 -33
  49. fckeditor/_samples/_plugins/findreplace/replace.html +135 -135
  50. fckeditor/_samples/_plugins/samples/fckplugin.js +73 -73
  51. fckeditor/_samples/adobeair/application.xml +34 -34
  52. fckeditor/_samples/adobeair/package.bat +26 -26
  53. fckeditor/_samples/adobeair/run.bat +26 -26
  54. fckeditor/_samples/adobeair/sample01.html +58 -58
  55. fckeditor/_samples/asp/sample01.asp +62 -62
  56. fckeditor/_samples/asp/sample02.asp +108 -108
  57. fckeditor/_samples/asp/sample03.asp +92 -92
  58. fckeditor/_samples/asp/sample04.asp +98 -98
  59. fckeditor/_samples/asp/sampleposteddata.asp +56 -56
  60. fckeditor/_samples/cfm/sample01.cfm +63 -63
  61. fckeditor/_samples/cfm/sample01_mx.cfm +67 -67
  62. fckeditor/_samples/cfm/sample02.cfm +110 -110
  63. fckeditor/_samples/cfm/sample02_mx.cfm +114 -114
  64. fckeditor/_samples/cfm/sample03.cfm +95 -95
  65. fckeditor/_samples/cfm/sample03_mx.cfm +95 -95
  66. fckeditor/_samples/cfm/sample04.cfm +100 -100
  67. fckeditor/_samples/cfm/sample04_mx.cfm +101 -101
  68. fckeditor/_samples/cfm/sampleposteddata.cfm +68 -68
  69. fckeditor/_samples/default.html +35 -35
  70. fckeditor/_samples/html/assets/sample06.config.js +49 -49
  71. fckeditor/_samples/html/assets/sample11_frame.html +69 -69
  72. fckeditor/_samples/html/assets/sample14.config.js +121 -121
  73. fckeditor/_samples/html/assets/sample14.styles.css +228 -228
  74. fckeditor/_samples/html/assets/sample15.config.js +92 -92
  75. fckeditor/_samples/html/assets/sample16.config.js +92 -92
  76. fckeditor/_samples/html/assets/swfobject.js +18 -18
  77. fckeditor/_samples/html/sample01.html +59 -59
  78. fckeditor/_samples/html/sample02.html +63 -63
  79. fckeditor/_samples/html/sample03.html +140 -140
  80. fckeditor/_samples/html/sample04.html +95 -95
  81. fckeditor/_samples/html/sample05.html +125 -125
  82. fckeditor/_samples/html/sample06.html +73 -73
  83. fckeditor/_samples/html/sample07.html +59 -59
  84. fckeditor/_samples/html/sample08.html +196 -196
  85. fckeditor/_samples/html/sample09.html +100 -100
  86. fckeditor/_samples/html/sample10.html +79 -79
  87. fckeditor/_samples/html/sample11.html +43 -43
  88. fckeditor/_samples/html/sample12.html +124 -124
  89. fckeditor/_samples/html/sample13.html +148 -148
  90. fckeditor/_samples/html/sample14.html +66 -66
  91. fckeditor/_samples/html/sample15.html +66 -66
  92. fckeditor/_samples/html/sample16.html +91 -91
  93. fckeditor/_samples/perl/sample01.cgi +117 -117
  94. fckeditor/_samples/perl/sample02.cgi +182 -182
  95. fckeditor/_samples/perl/sample03.cgi +167 -167
  96. fckeditor/_samples/perl/sample04.cgi +174 -174
  97. fckeditor/_samples/perl/sampleposteddata.cgi +107 -107
  98. fckeditor/_samples/php/sample01.php +57 -57
  99. fckeditor/_samples/php/sample02.php +108 -108
  100. fckeditor/_samples/php/sample03.php +89 -89
  101. fckeditor/_samples/php/sample04.php +95 -95
  102. fckeditor/_samples/php/sampleposteddata.php +69 -69
  103. fckeditor/_samples/py/sample01.py +80 -80
  104. fckeditor/_samples/py/sampleposteddata.py +88 -88
  105. fckeditor/_samples/sample.css +74 -74
  106. fckeditor/_samples/sampleslist.html +120 -120
  107. fckeditor/_upgrade.html +39 -39
  108. fckeditor/_whatsnew.html +170 -170
  109. fckeditor/_whatsnew_history.html +2263 -3916
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
  ?>
codepress/codepress.css ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ body {
2
+ margin-top:13px;
3
+ _margin-top:14px;
4
+ background:white;
5
+ margin-left:32px;
6
+ font-family:monospace;
7
+ font-size:13px;
8
+ white-space:pre;
9
+ background-image:url("images/line-numbers.png");
10
+ background-repeat:repeat-y;
11
+ background-position:0 3px;
12
+ line-height:16px;
13
+ height:100%;
14
+ }
15
+ pre {margin:0;}
16
+ html>body{background-position:0 2px;}
17
+ P {margin:0;padding:0;border:0;outline:0;display:block;white-space:pre;}
18
+ b, i, s, u, a, em, tt, ins, big, cite, strong, var, dfn {text-decoration:none;font-weight:normal;font-style:normal;font-size:13px;}
19
+
20
+ body.hide-line-numbers {background:white;margin-left:16px;}
21
+ body.show-line-numbers {background-image:url("images/line-numbers.png");margin-left:32px;}
codepress/codepress.html ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+ <html>
3
+ <head>
4
+ <title>CodePress - Real Time Syntax Highlighting Editor written in JavaScript</title>
5
+ <meta name="description" content="CodePress - source code editor window" />
6
+
7
+ <script type="text/javascript">
8
+ var language = 'generic';
9
+ var engine = 'older';
10
+ var ua = navigator.userAgent;
11
+ var ts = (new Date).getTime(); // timestamp to avoid cache
12
+ var lh = location.href;
13
+
14
+ if(ua.match('MSIE')) engine = 'msie';
15
+ else if(ua.match('KHTML')) engine = 'khtml';
16
+ else if(ua.match('Opera')) engine = 'opera';
17
+ else if(ua.match('Gecko')) engine = 'gecko';
18
+
19
+ if(lh.match('language=')) language = lh.replace(/.*language=(.*?)(&.*)?$/,'$1');
20
+
21
+ document.write('<link type="text/css" href="codepress.css?ts='+ts+'" rel="stylesheet" />');
22
+ document.write('<link type="text/css" href="languages/'+language+'.css?ts='+ts+'" rel="stylesheet" id="cp-lang-style" />');
23
+ document.write('<scr'+'ipt type="text/javascript" src="engines/'+engine+'.js?ts='+ts+'"></scr'+'ipt>');
24
+ document.write('<scr'+'ipt type="text/javascript" src="languages/'+language+'.js?ts='+ts+'"></scr'+'ipt>');
25
+ </script>
26
+
27
+ </head>
28
+
29
+ <script type="text/javascript">
30
+ if(engine == "msie" || engine == "gecko") document.write('<body><pre> </pre></body>');
31
+ else if(engine == "opera") document.write('<body></body>');
32
+ // else if(engine == "khtml") document.write('<body> </body>');
33
+ </script>
34
+
35
+ </html>
codepress/codepress.js ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
3
+ *
4
+ * Copyright (C) 2006 Fernando M.A.d.S. <fermads@gmail.com>
5
+ *
6
+ * This program is free software; you can redistribute it and/or modify it under the terms of the
7
+ * GNU Lesser General Public License as published by the Free Software Foundation.
8
+ *
9
+ * Read the full licence: http://www.opensource.org/licenses/lgpl-license.php
10
+ */
11
+
12
+ CodePress = function(obj) {
13
+ var self = document.createElement('iframe');
14
+ self.textarea = obj;
15
+ self.textarea.disabled = true;
16
+ self.textarea.style.overflow = 'hidden';
17
+ self.style.height = self.textarea.clientHeight +'px';
18
+ self.style.width = self.textarea.clientWidth +'px';
19
+ self.textarea.style.overflow = 'auto';
20
+ self.style.border = '1px solid gray';
21
+ self.frameBorder = 0; // remove IE internal iframe border
22
+ self.style.visibility = 'hidden';
23
+ self.style.position = 'absolute';
24
+ self.options = self.textarea.className;
25
+
26
+ self.initialize = function() {
27
+ self.editor = self.contentWindow.CodePress;
28
+ self.editor.body = self.contentWindow.document.getElementsByTagName('body')[0];
29
+ self.editor.setCode(self.textarea.value);
30
+ self.setOptions();
31
+ self.editor.syntaxHighlight('init');
32
+ self.textarea.style.display = 'none';
33
+ self.style.position = 'static';
34
+ self.style.visibility = 'visible';
35
+ self.style.display = 'inline';
36
+ }
37
+
38
+ // obj can by a textarea id or a string (code)
39
+ self.edit = function(obj,language) {
40
+ if(obj) self.textarea.value = document.getElementById(obj) ? document.getElementById(obj).value : obj;
41
+ if(!self.textarea.disabled) return;
42
+ self.language = language ? language : self.getLanguage();
43
+ self.src = CodePress.path+'codepress.html?language='+self.language+'&ts='+(new Date).getTime();
44
+ if(self.attachEvent) self.attachEvent('onload',self.initialize);
45
+ else self.addEventListener('load',self.initialize,false);
46
+ }
47
+
48
+ self.getLanguage = function() {
49
+ for (language in CodePress.languages)
50
+ if(self.options.match('\\b'+language+'\\b'))
51
+ return CodePress.languages[language] ? language : 'generic';
52
+ }
53
+
54
+ self.setOptions = function() {
55
+ if(self.options.match('autocomplete-off')) self.toggleAutoComplete();
56
+ if(self.options.match('readonly-on')) self.toggleReadOnly();
57
+ if(self.options.match('linenumbers-off')) self.toggleLineNumbers();
58
+ }
59
+
60
+ self.getCode = function() {
61
+ return self.textarea.disabled ? self.editor.getCode() : self.textarea.value;
62
+ }
63
+
64
+ self.setCode = function(code) {
65
+ self.textarea.disabled ? self.editor.setCode(code) : self.textarea.value = code;
66
+ }
67
+
68
+ self.toggleAutoComplete = function() {
69
+ self.editor.autocomplete = (self.editor.autocomplete) ? false : true;
70
+ }
71
+
72
+ self.toggleReadOnly = function() {
73
+ self.textarea.readOnly = (self.textarea.readOnly) ? false : true;
74
+ if(self.style.display != 'none') // prevent exception on FF + iframe with display:none
75
+ self.editor.readOnly(self.textarea.readOnly ? true : false);
76
+ }
77
+
78
+ self.toggleLineNumbers = function() {
79
+ var cn = self.editor.body.className;
80
+ self.editor.body.className = (cn==''||cn=='show-line-numbers') ? 'hide-line-numbers' : 'show-line-numbers';
81
+ }
82
+
83
+ self.toggleEditor = function() {
84
+ if(self.textarea.disabled) {
85
+ self.textarea.value = self.getCode();
86
+ self.textarea.disabled = false;
87
+ self.style.display = 'none';
88
+ self.textarea.style.display = 'inline';
89
+ }
90
+ else {
91
+ self.textarea.disabled = true;
92
+ self.setCode(self.textarea.value);
93
+ self.editor.syntaxHighlight('init');
94
+ self.style.display = 'inline';
95
+ self.textarea.style.display = 'none';
96
+ }
97
+ }
98
+
99
+ self.edit();
100
+ return self;
101
+ }
102
+
103
+ CodePress.languages = {
104
+ csharp : 'C#',
105
+ css : 'CSS',
106
+ generic : 'Generic',
107
+ html : 'HTML',
108
+ java : 'Java',
109
+ javascript : 'JavaScript',
110
+ perl : 'Perl',
111
+ ruby : 'Ruby',
112
+ php : 'PHP',
113
+ text : 'Text',
114
+ sql : 'SQL',
115
+ vbscript : 'VBScript'
116
+ }
117
+
118
+
119
+ CodePress.run = function() {
120
+ s = document.getElementsByTagName('script');
121
+ for(var i=0,n=s.length;i<n;i++) {
122
+ if(s[i].src.match('codepress.js')) {
123
+ CodePress.path = s[i].src.replace('codepress.js','');
124
+ }
125
+ }
126
+ t = document.getElementsByTagName('textarea');
127
+ for(var i=0,n=t.length;i<n;i++) {
128
+ if(t[i].className.match('codepress')) {
129
+ id = t[i].id;
130
+ t[i].id = id+'_cp';
131
+ eval(id+' = new CodePress(t[i])');
132
+ t[i].parentNode.insertBefore(eval(id), t[i]);
133
+ }
134
+ }
135
+ }
136
+
137
+ if(window.attachEvent) window.attachEvent('onload',CodePress.run);
138
+ else window.addEventListener('DOMContentLoaded',CodePress.run,false);
codepress/engines/gecko.js ADDED
@@ -0,0 +1,293 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
3
+ *
4
+ * Copyright (C) 2007 Fernando M.A.d.S. <fermads@gmail.com>
5
+ *
6
+ * Developers:
7
+ * Fernando M.A.d.S. <fermads@gmail.com>
8
+ * Michael Hurni <michael.hurni@gmail.com>
9
+ * Contributors:
10
+ * Martin D. Kirk
11
+ *
12
+ * This program is free software; you can redistribute it and/or modify it under the terms of the
13
+ * GNU Lesser General Public License as published by the Free Software Foundation.
14
+ *
15
+ * Read the full licence: http://www.opensource.org/licenses/lgpl-license.php
16
+ */
17
+
18
+ CodePress = {
19
+ scrolling : false,
20
+ autocomplete : true,
21
+
22
+ // set initial vars and start sh
23
+ initialize : function() {
24
+ if(typeof(editor)=='undefined' && !arguments[0]) return;
25
+ body = document.getElementsByTagName('body')[0];
26
+ body.innerHTML = body.innerHTML.replace(/\n/g,"");
27
+ chars = '|32|46|62|8|'; // charcodes that trigger syntax highlighting
28
+ cc = '\u2009'; // carret char
29
+ editor = document.getElementsByTagName('pre')[0];
30
+ document.designMode = 'on';
31
+ document.addEventListener('keypress', this.keyHandler, true);
32
+ window.addEventListener('scroll', function() { if(!CodePress.scrolling) CodePress.syntaxHighlight('scroll') }, false);
33
+ completeChars = this.getCompleteChars();
34
+ completeEndingChars = this.getCompleteEndingChars();
35
+ },
36
+
37
+ // treat key bindings
38
+ keyHandler : function(evt) {
39
+ keyCode = evt.keyCode;
40
+ charCode = evt.charCode;
41
+ fromChar = String.fromCharCode(charCode);
42
+
43
+ if((evt.ctrlKey || evt.metaKey) && evt.shiftKey && charCode!=90) { // shortcuts = ctrl||appleKey+shift+key!=z(undo)
44
+ CodePress.shortcuts(charCode?charCode:keyCode);
45
+ }
46
+ else if( (completeEndingChars.indexOf('|'+fromChar+'|')!= -1 || completeChars.indexOf('|'+fromChar+'|')!=-1) && CodePress.autocomplete) { // auto complete
47
+ if(!CodePress.completeEnding(fromChar))
48
+ CodePress.complete(fromChar);
49
+ }
50
+ else if(chars.indexOf('|'+charCode+'|')!=-1||keyCode==13) { // syntax highlighting
51
+ top.setTimeout(function(){CodePress.syntaxHighlight('generic');},100);
52
+ }
53
+ else if(keyCode==9 || evt.tabKey) { // snippets activation (tab)
54
+ CodePress.snippets(evt);
55
+ }
56
+ else if(keyCode==46||keyCode==8) { // save to history when delete or backspace pressed
57
+ CodePress.actions.history[CodePress.actions.next()] = editor.innerHTML;
58
+ }
59
+ else if((charCode==122||charCode==121||charCode==90) && evt.ctrlKey) { // undo and redo
60
+ (charCode==121||evt.shiftKey) ? CodePress.actions.redo() : CodePress.actions.undo();
61
+ evt.preventDefault();
62
+ }
63
+ else if(charCode==118 && evt.ctrlKey) { // handle paste
64
+ top.setTimeout(function(){CodePress.syntaxHighlight('generic');},100);
65
+ }
66
+ else if(charCode==99 && evt.ctrlKey) { // handle cut
67
+ //alert(window.getSelection().getRangeAt(0).toString().replace(/\t/g,'FFF'));
68
+ }
69
+
70
+ },
71
+
72
+ // put cursor back to its original position after every parsing
73
+ findString : function() {
74
+ if(self.find(cc))
75
+ window.getSelection().getRangeAt(0).deleteContents();
76
+ },
77
+
78
+ // split big files, highlighting parts of it
79
+ split : function(code,flag) {
80
+ if(flag=='scroll') {
81
+ this.scrolling = true;
82
+ return code;
83
+ }
84
+ else {
85
+ this.scrolling = false;
86
+ mid = code.indexOf(cc);
87
+ if(mid-2000<0) {ini=0;end=4000;}
88
+ else if(mid+2000>code.length) {ini=code.length-4000;end=code.length;}
89
+ else {ini=mid-2000;end=mid+2000;}
90
+ code = code.substring(ini,end);
91
+ return code;
92
+ }
93
+ },
94
+
95
+ getEditor : function() {
96
+ if(!document.getElementsByTagName('pre')[0]) {
97
+ body = document.getElementsByTagName('body')[0];
98
+ if(!body.innerHTML) return body;
99
+ if(body.innerHTML=="<br>") body.innerHTML = "<pre> </pre>";
100
+ else body.innerHTML = "<pre>"+body.innerHTML+"</pre>";
101
+ }
102
+ return document.getElementsByTagName('pre')[0];
103
+ },
104
+
105
+ // syntax highlighting parser
106
+ syntaxHighlight : function(flag) {
107
+ //if(document.designMode=='off') document.designMode='on'
108
+ if(flag != 'init') { window.getSelection().getRangeAt(0).insertNode(document.createTextNode(cc));}
109
+ editor = CodePress.getEditor();
110
+ o = editor.innerHTML;
111
+ o = o.replace(/<br>/g,'\n');
112
+ o = o.replace(/<.*?>/g,'');
113
+ x = z = this.split(o,flag);
114
+ x = x.replace(/\n/g,'<br>');
115
+
116
+ if(arguments[1]&&arguments[2]) x = x.replace(arguments[1],arguments[2]);
117
+
118
+ for(i=0;i<Language.syntax.length;i++)
119
+ x = x.replace(Language.syntax[i].input,Language.syntax[i].output);
120
+
121
+ editor.innerHTML = this.actions.history[this.actions.next()] = (flag=='scroll') ? x : o.split(z).join(x);
122
+ if(flag!='init') this.findString();
123
+ },
124
+
125
+ getLastWord : function() {
126
+ var rangeAndCaret = CodePress.getRangeAndCaret();
127
+ words = rangeAndCaret[0].substring(rangeAndCaret[1]-40,rangeAndCaret[1]);
128
+ words = words.replace(/[\s\n\r\);\W]/g,'\n').split('\n');
129
+ return words[words.length-1].replace(/[\W]/gi,'').toLowerCase();
130
+ },
131
+
132
+ snippets : function(evt) {
133
+ var snippets = Language.snippets;
134
+ var trigger = this.getLastWord();
135
+ for (var i=0; i<snippets.length; i++) {
136
+ if(snippets[i].input == trigger) {
137
+ var content = snippets[i].output.replace(/</g,'&lt;');
138
+ content = content.replace(/>/g,'&gt;');
139
+ if(content.indexOf('$0')<0) content += cc;
140
+ else content = content.replace(/\$0/,cc);
141
+ content = content.replace(/\n/g,'<br>');
142
+ var pattern = new RegExp(trigger+cc,'gi');
143
+ evt.preventDefault(); // prevent the tab key from being added
144
+ this.syntaxHighlight('snippets',pattern,content);
145
+ }
146
+ }
147
+ },
148
+
149
+ readOnly : function() {
150
+ document.designMode = (arguments[0]) ? 'off' : 'on';
151
+ },
152
+
153
+ complete : function(trigger) {
154
+ window.getSelection().getRangeAt(0).deleteContents();
155
+ var complete = Language.complete;
156
+ for (var i=0; i<complete.length; i++) {
157
+ if(complete[i].input == trigger) {
158
+ var pattern = new RegExp('\\'+trigger+cc);
159
+ var content = complete[i].output.replace(/\$0/g,cc);
160
+ parent.setTimeout(function () { CodePress.syntaxHighlight('complete',pattern,content)},0); // wait for char to appear on screen
161
+ }
162
+ }
163
+ },
164
+
165
+ getCompleteChars : function() {
166
+ var cChars = '';
167
+ for(var i=0;i<Language.complete.length;i++)
168
+ cChars += '|'+Language.complete[i].input;
169
+ return cChars+'|';
170
+ },
171
+
172
+ getCompleteEndingChars : function() {
173
+ var cChars = '';
174
+ for(var i=0;i<Language.complete.length;i++)
175
+ cChars += '|'+Language.complete[i].output.charAt(Language.complete[i].output.length-1);
176
+ return cChars+'|';
177
+ },
178
+
179
+ completeEnding : function(trigger) {
180
+ var range = window.getSelection().getRangeAt(0);
181
+ try {
182
+ range.setEnd(range.endContainer, range.endOffset+1)
183
+ }
184
+ catch(e) {
185
+ return false;
186
+ }
187
+ var next_character = range.toString()
188
+ range.setEnd(range.endContainer, range.endOffset-1)
189
+ if(next_character != trigger) return false;
190
+ else {
191
+ range.setEnd(range.endContainer, range.endOffset+1)
192
+ range.deleteContents();
193
+ return true;
194
+ }
195
+ },
196
+
197
+ shortcuts : function() {
198
+ var cCode = arguments[0];
199
+ if(cCode==13) cCode = '[enter]';
200
+ else if(cCode==32) cCode = '[space]';
201
+ else cCode = '['+String.fromCharCode(charCode).toLowerCase()+']';
202
+ for(var i=0;i<Language.shortcuts.length;i++)
203
+ if(Language.shortcuts[i].input == cCode)
204
+ this.insertCode(Language.shortcuts[i].output,false);
205
+ },
206
+
207
+ getRangeAndCaret : function() {
208
+ var range = window.getSelection().getRangeAt(0);
209
+ var range2 = range.cloneRange();
210
+ var node = range.endContainer;
211
+ var caret = range.endOffset;
212
+ range2.selectNode(node);
213
+ return [range2.toString(),caret];
214
+ },
215
+
216
+ insertCode : function(code,replaceCursorBefore) {
217
+ var range = window.getSelection().getRangeAt(0);
218
+ var node = window.document.createTextNode(code);
219
+ var selct = window.getSelection();
220
+ var range2 = range.cloneRange();
221
+ // Insert text at cursor position
222
+ selct.removeAllRanges();
223
+ range.deleteContents();
224
+ range.insertNode(node);
225
+ // Move the cursor to the end of text
226
+ range2.selectNode(node);
227
+ range2.collapse(replaceCursorBefore);
228
+ selct.removeAllRanges();
229
+ selct.addRange(range2);
230
+ },
231
+
232
+ // get code from editor
233
+ getCode : function() {
234
+ if(!document.getElementsByTagName('pre')[0] || editor.innerHTML == '')
235
+ editor = CodePress.getEditor();
236
+ var code = editor.innerHTML;
237
+ code = code.replace(/<br>/g,'\n');
238
+ code = code.replace(/\u2009/g,'');
239
+ code = code.replace(/<.*?>/g,'');
240
+ code = code.replace(/&lt;/g,'<');
241
+ code = code.replace(/&gt;/g,'>');
242
+ code = code.replace(/&amp;/gi,'&');
243
+ return code;
244
+ },
245
+
246
+ // put code inside editor
247
+ setCode : function() {
248
+ var code = arguments[0];
249
+ code = code.replace(/\u2009/gi,'');
250
+ code = code.replace(/&/gi,'&amp;');
251
+ code = code.replace(/</g,'&lt;');
252
+ code = code.replace(/>/g,'&gt;');
253
+ editor.innerHTML = code;
254
+ if (code == '')
255
+ document.getElementsByTagName('body')[0].innerHTML = '';
256
+ },
257
+
258
+ // undo and redo methods
259
+ actions : {
260
+ pos : -1, // actual history position
261
+ history : [], // history vector
262
+
263
+ undo : function() {
264
+ editor = CodePress.getEditor();
265
+ if(editor.innerHTML.indexOf(cc)==-1){
266
+ if(editor.innerHTML != " ")
267
+ window.getSelection().getRangeAt(0).insertNode(document.createTextNode(cc));
268
+ this.history[this.pos] = editor.innerHTML;
269
+ }
270
+ this.pos --;
271
+ if(typeof(this.history[this.pos])=='undefined') this.pos ++;
272
+ editor.innerHTML = this.history[this.pos];
273
+ if(editor.innerHTML.indexOf(cc)>-1) editor.innerHTML+=cc;
274
+ CodePress.findString();
275
+ },
276
+
277
+ redo : function() {
278
+ // editor = CodePress.getEditor();
279
+ this.pos++;
280
+ if(typeof(this.history[this.pos])=='undefined') this.pos--;
281
+ editor.innerHTML = this.history[this.pos];
282
+ CodePress.findString();
283
+ },
284
+
285
+ next : function() { // get next vector position and clean old ones
286
+ if(this.pos>20) this.history[this.pos-21] = undefined;
287
+ return ++this.pos;
288
+ }
289
+ }
290
+ }
291
+
292
+ Language={};
293
+ window.addEventListener('load', function() { CodePress.initialize('new'); }, true);
codepress/engines/khtml.js ADDED
File without changes
codepress/engines/msie.js ADDED
@@ -0,0 +1,304 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
3
+ *
4
+ * Copyright (C) 2007 Fernando M.A.d.S. <fermads@gmail.com>
5
+ *
6
+ * Developers:
7
+ * Fernando M.A.d.S. <fermads@gmail.com>
8
+ * Michael Hurni <michael.hurni@gmail.com>
9
+ * Contributors:
10
+ * Martin D. Kirk
11
+ *
12
+ * This program is free software; you can redistribute it and/or modify it under the terms of the
13
+ * GNU Lesser General Public License as published by the Free Software Foundation.
14
+ *
15
+ * Read the full licence: http://www.opensource.org/licenses/lgpl-license.php
16
+ */
17
+
18
+ CodePress = {
19
+ scrolling : false,
20
+ autocomplete : true,
21
+
22
+ // set initial vars and start sh
23
+ initialize : function() {
24
+ if(typeof(editor)=='undefined' && !arguments[0]) return;
25
+ chars = '|32|46|62|'; // charcodes that trigger syntax highlighting
26
+ cc = '\u2009'; // carret char
27
+ editor = document.getElementsByTagName('pre')[0];
28
+ editor.contentEditable = 'true';
29
+ document.getElementsByTagName('body')[0].onfocus = function() {editor.focus();}
30
+ document.attachEvent('onkeydown', this.metaHandler);
31
+ document.attachEvent('onkeypress', this.keyHandler);
32
+ window.attachEvent('onscroll', function() { if(!CodePress.scrolling) setTimeout(function(){CodePress.syntaxHighlight('scroll')},1)});
33
+ completeChars = this.getCompleteChars();
34
+ completeEndingChars = this.getCompleteEndingChars();
35
+ setTimeout(function() { window.scroll(0,0) },50); // scroll IE to top
36
+ },
37
+
38
+ // treat key bindings
39
+ keyHandler : function(evt) {
40
+ charCode = evt.keyCode;
41
+ fromChar = String.fromCharCode(charCode);
42
+
43
+ if( (completeEndingChars.indexOf('|'+fromChar+'|')!= -1 || completeChars.indexOf('|'+fromChar+'|')!=-1 )&& CodePress.autocomplete) { // auto complete
44
+ if(!CodePress.completeEnding(fromChar))
45
+ CodePress.complete(fromChar);
46
+ }
47
+ else if(chars.indexOf('|'+charCode+'|')!=-1||charCode==13) { // syntax highlighting
48
+ CodePress.syntaxHighlight('generic');
49
+ }
50
+ },
51
+
52
+ metaHandler : function(evt) {
53
+ keyCode = evt.keyCode;
54
+
55
+ if(keyCode==9 || evt.tabKey) {
56
+ CodePress.snippets();
57
+ }
58
+ else if((keyCode==122||keyCode==121||keyCode==90) && evt.ctrlKey) { // undo and redo
59
+ (keyCode==121||evt.shiftKey) ? CodePress.actions.redo() : CodePress.actions.undo();
60
+ evt.returnValue = false;
61
+ }
62
+ else if(keyCode==34||keyCode==33) { // handle page up/down for IE
63
+ self.scrollBy(0, (keyCode==34) ? 200 : -200);
64
+ evt.returnValue = false;
65
+ }
66
+ else if(keyCode==46||keyCode==8) { // save to history when delete or backspace pressed
67
+ CodePress.actions.history[CodePress.actions.next()] = editor.innerHTML;
68
+ }
69
+ else if((evt.ctrlKey || evt.metaKey) && evt.shiftKey && keyCode!=90) { // shortcuts = ctrl||appleKey+shift+key!=z(undo)
70
+ CodePress.shortcuts(keyCode);
71
+ evt.returnValue = false;
72
+ }
73
+ else if(keyCode==86 && evt.ctrlKey) { // handle paste
74
+ window.clipboardData.setData('Text',window.clipboardData.getData('Text').replace(/\t/g,'\u2008'));
75
+ top.setTimeout(function(){CodePress.syntaxHighlight('paste');},10);
76
+ }
77
+ else if(keyCode==67 && evt.ctrlKey) { // handle cut
78
+ // window.clipboardData.setData('Text',x[0]);
79
+ // code = window.clipboardData.getData('Text');
80
+ }
81
+ },
82
+
83
+ // put cursor back to its original position after every parsing
84
+
85
+
86
+ findString : function() {
87
+ range = self.document.body.createTextRange();
88
+ if(range.findText(cc)){
89
+ range.select();
90
+ range.text = '';
91
+ }
92
+ },
93
+
94
+ // split big files, highlighting parts of it
95
+ split : function(code,flag) {
96
+ if(flag=='scroll') {
97
+ this.scrolling = true;
98
+ return code;
99
+ }
100
+ else {
101
+ this.scrolling = false;
102
+ mid = code.indexOf(cc);
103
+ if(mid-2000<0) {ini=0;end=4000;}
104
+ else if(mid+2000>code.length) {ini=code.length-4000;end=code.length;}
105
+ else {ini=mid-2000;end=mid+2000;}
106
+ code = code.substring(ini,end);
107
+ return code.substring(code.indexOf('<P>'),code.lastIndexOf('</P>')+4);
108
+ }
109
+ },
110
+
111
+ // syntax highlighting parser
112
+ syntaxHighlight : function(flag) {
113
+ if(flag!='init') document.selection.createRange().text = cc;
114
+ o = editor.innerHTML;
115
+ if(flag=='paste') { // fix pasted text
116
+ o = o.replace(/<BR>/g,'\r\n');
117
+ o = o.replace(/\u2008/g,'\t');
118
+ }
119
+ o = o.replace(/<P>/g,'\n');
120
+ o = o.replace(/<\/P>/g,'\r');
121
+ o = o.replace(/<.*?>/g,'');
122
+ o = o.replace(/&nbsp;/g,'');
123
+ o = '<PRE><P>'+o+'</P></PRE>';
124
+ o = o.replace(/\n\r/g,'<P></P>');
125
+ o = o.replace(/\n/g,'<P>');
126
+ o = o.replace(/\r/g,'<\/P>');
127
+ o = o.replace(/<P>(<P>)+/,'<P>');
128
+ o = o.replace(/<\/P>(<\/P>)+/,'</P>');
129
+ o = o.replace(/<P><\/P>/g,'<P><BR/></P>');
130
+ x = z = this.split(o,flag);
131
+
132
+ if(arguments[1]&&arguments[2]) x = x.replace(arguments[1],arguments[2]);
133
+
134
+ for(i=0;i<Language.syntax.length;i++)
135
+ x = x.replace(Language.syntax[i].input,Language.syntax[i].output);
136
+
137
+ editor.innerHTML = this.actions.history[this.actions.next()] = (flag=='scroll') ? x : o.replace(z,x);
138
+ if(flag!='init') this.findString();
139
+ },
140
+
141
+ snippets : function(evt) {
142
+ var snippets = Language.snippets;
143
+ var trigger = this.getLastWord();
144
+ for (var i=0; i<snippets.length; i++) {
145
+ if(snippets[i].input == trigger) {
146
+ var content = snippets[i].output.replace(/</g,'&lt;');
147
+ content = content.replace(/>/g,'&gt;');
148
+ if(content.indexOf('$0')<0) content += cc;
149
+ else content = content.replace(/\$0/,cc);
150
+ content = content.replace(/\n/g,'</P><P>');
151
+ var pattern = new RegExp(trigger+cc,"gi");
152
+ this.syntaxHighlight('snippets',pattern,content);
153
+ }
154
+ }
155
+ },
156
+
157
+ readOnly : function() {
158
+ editor.contentEditable = (arguments[0]) ? 'false' : 'true';
159
+ },
160
+
161
+ complete : function(trigger) {
162
+ var complete = Language.complete;
163
+ for (var i=0; i<complete.length; i++) {
164
+ if(complete[i].input == trigger) {
165
+ var pattern = new RegExp('\\'+trigger+cc);
166
+ var content = complete[i].output.replace(/\$0/g,cc);
167
+ setTimeout(function () { CodePress.syntaxHighlight('complete',pattern,content)},0); // wait for char to appear on screen
168
+ }
169
+ }
170
+ },
171
+
172
+ getCompleteChars : function() {
173
+ var cChars = '';
174
+ for(var i=0;i<Language.complete.length;i++)
175
+ cChars += '|'+Language.complete[i].input;
176
+ return cChars+'|';
177
+ },
178
+
179
+ getCompleteEndingChars : function() {
180
+ var cChars = '';
181
+ for(var i=0;i<Language.complete.length;i++)
182
+ cChars += '|'+Language.complete[i].output.charAt(Language.complete[i].output.length-1);
183
+ return cChars+'|';
184
+ },
185
+
186
+ completeEnding : function(trigger) {
187
+ var range = document.selection.createRange();
188
+ try {
189
+ range.moveEnd('character', 1)
190
+ }
191
+ catch(e) {
192
+ return false;
193
+ }
194
+ var next_character = range.text
195
+ range.moveEnd('character', -1)
196
+ if(next_character != trigger ) return false;
197
+ else {
198
+ range.moveEnd('character', 1)
199
+ range.text=''
200
+ return true;
201
+ }
202
+ },
203
+
204
+ shortcuts : function() {
205
+ var cCode = arguments[0];
206
+ if(cCode==13) cCode = '[enter]';
207
+ else if(cCode==32) cCode = '[space]';
208
+ else cCode = '['+String.fromCharCode(keyCode).toLowerCase()+']';
209
+ for(var i=0;i<Language.shortcuts.length;i++)
210
+ if(Language.shortcuts[i].input == cCode)
211
+ this.insertCode(Language.shortcuts[i].output,false);
212
+ },
213
+
214
+ getLastWord : function() {
215
+ var rangeAndCaret = CodePress.getRangeAndCaret();
216
+ words = rangeAndCaret[0].substring(rangeAndCaret[1]-40,rangeAndCaret[1]);
217
+ words = words.replace(/[\s\n\r\);\W]/g,'\n').split('\n');
218
+ return words[words.length-1].replace(/[\W]/gi,'').toLowerCase();
219
+ },
220
+
221
+ getRangeAndCaret : function() {
222
+ var range = document.selection.createRange();
223
+ var caret = Math.abs(range.moveStart('character', -1000000)+1);
224
+ range = this.getCode();
225
+ range = range.replace(/\n\r/gi,' ');
226
+ range = range.replace(/\n/gi,'');
227
+ return [range.toString(),caret];
228
+ },
229
+
230
+ insertCode : function(code,replaceCursorBefore) {
231
+ var repdeb = '';
232
+ var repfin = '';
233
+
234
+ if(replaceCursorBefore) { repfin = code; }
235
+ else { repdeb = code; }
236
+
237
+ if(typeof document.selection != 'undefined') {
238
+ var range = document.selection.createRange();
239
+ range.text = repdeb + repfin;
240
+ range = document.selection.createRange();
241
+ range.move('character', -repfin.length);
242
+ range.select();
243
+ }
244
+ },
245
+
246
+ // get code from editor
247
+ getCode : function() {
248
+ var code = editor.innerHTML;
249
+ code = code.replace(/<br>/g,'\n');
250
+ code = code.replace(/<\/p>/gi,'\r');
251
+ code = code.replace(/<p>/i,''); // IE first line fix
252
+ code = code.replace(/<p>/gi,'\n');
253
+ code = code.replace(/&nbsp;/gi,'');
254
+ code = code.replace(/\u2009/g,'');
255
+ code = code.replace(/<.*?>/g,'');
256
+ code = code.replace(/&lt;/g,'<');
257
+ code = code.replace(/&gt;/g,'>');
258
+ code = code.replace(/&amp;/gi,'&');
259
+ return code;
260
+ },
261
+
262
+ // put code inside editor
263
+ setCode : function() {
264
+ var code = arguments[0];
265
+ code = code.replace(/\u2009/gi,'');
266
+ code = code.replace(/&/gi,'&amp;');
267
+ code = code.replace(/</g,'&lt;');
268
+ code = code.replace(/>/g,'&gt;');
269
+ editor.innerHTML = '<pre>'+code+'</pre>';
270
+ },
271
+
272
+
273
+ // undo and redo methods
274
+ actions : {
275
+ pos : -1, // actual history position
276
+ history : [], // history vector
277
+
278
+ undo : function() {
279
+ if(editor.innerHTML.indexOf(cc)==-1){
280
+ document.selection.createRange().text = cc;
281
+ this.history[this.pos] = editor.innerHTML;
282
+ }
283
+ this.pos--;
284
+ if(typeof(this.history[this.pos])=='undefined') this.pos++;
285
+ editor.innerHTML = this.history[this.pos];
286
+ CodePress.findString();
287
+ },
288
+
289
+ redo : function() {
290
+ this.pos++;
291
+ if(typeof(this.history[this.pos])=='undefined') this.pos--;
292
+ editor.innerHTML = this.history[this.pos];
293
+ CodePress.findString();
294
+ },
295
+
296
+ next : function() { // get next vector position and clean old ones
297
+ if(this.pos>20) this.history[this.pos-21] = undefined;
298
+ return ++this.pos;
299
+ }
300
+ }
301
+ }
302
+
303
+ Language={};
304
+ window.attachEvent('onload', function() { CodePress.initialize('new');});
codepress/engines/older.js ADDED
File without changes
codepress/engines/opera.js ADDED
@@ -0,0 +1,260 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress - Real Time Syntax Highlighting Editor written in JavaScript - http://codepress.org/
3
+ *
4
+ * Copyright (C) 2007 Fernando M.A.d.S. <fermads@gmail.com>
5
+ *
6
+ * Contributors :
7
+ *
8
+ * Michael Hurni <michael.hurni@gmail.com>
9
+ *
10
+ * This program is free software; you can redistribute it and/or modify it under the terms of the
11
+ * GNU Lesser General Public License as published by the Free Software Foundation.
12
+ *
13
+ * Read the full licence: http://www.opensource.org/licenses/lgpl-license.php
14
+ */
15
+
16
+
17
+ CodePress = {
18
+ scrolling : false,
19
+ autocomplete : true,
20
+
21
+ // set initial vars and start sh
22
+ initialize : function() {
23
+ if(typeof(editor)=='undefined' && !arguments[0]) return;
24
+ chars = '|32|46|62|'; // charcodes that trigger syntax highlighting
25
+ cc = '\u2009'; // control char
26
+ editor = document.getElementsByTagName('body')[0];
27
+ document.designMode = 'on';
28
+ document.addEventListener('keyup', this.keyHandler, true);
29
+ window.addEventListener('scroll', function() { if(!CodePress.scrolling) CodePress.syntaxHighlight('scroll') }, false);
30
+ completeChars = this.getCompleteChars();
31
+ // CodePress.syntaxHighlight('init');
32
+ },
33
+
34
+ // treat key bindings
35
+ keyHandler : function(evt) {
36
+ keyCode = evt.keyCode;
37
+ charCode = evt.charCode;
38
+
39
+ if((evt.ctrlKey || evt.metaKey) && evt.shiftKey && charCode!=90) { // shortcuts = ctrl||appleKey+shift+key!=z(undo)
40
+ CodePress.shortcuts(charCode?charCode:keyCode);
41
+ }
42
+ else if(completeChars.indexOf('|'+String.fromCharCode(charCode)+'|')!=-1 && CodePress.autocomplete) { // auto complete
43
+ CodePress.complete(String.fromCharCode(charCode));
44
+ }
45
+ else if(chars.indexOf('|'+charCode+'|')!=-1||keyCode==13) { // syntax highlighting
46
+ CodePress.syntaxHighlight('generic');
47
+ }
48
+ else if(keyCode==9 || evt.tabKey) { // snippets activation (tab)
49
+ CodePress.snippets(evt);
50
+ }
51
+ else if(keyCode==46||keyCode==8) { // save to history when delete or backspace pressed
52
+ CodePress.actions.history[CodePress.actions.next()] = editor.innerHTML;
53
+ }
54
+ else if((charCode==122||charCode==121||charCode==90) && evt.ctrlKey) { // undo and redo
55
+ (charCode==121||evt.shiftKey) ? CodePress.actions.redo() : CodePress.actions.undo();
56
+ evt.preventDefault();
57
+ }
58
+ else if(keyCode==86 && evt.ctrlKey) { // paste
59
+ // TODO: pasted text should be parsed and highlighted
60
+ }
61
+ },
62
+
63
+ // put cursor back to its original position after every parsing
64
+ findString : function() {
65
+ var sel = window.getSelection();
66
+ var range = window.document.createRange();
67
+ var span = window.document.getElementsByTagName('span')[0];
68
+
69
+ range.selectNode(span);
70
+ sel.removeAllRanges();
71
+ sel.addRange(range);
72
+ span.parentNode.removeChild(span);
73
+ //if(self.find(cc))
74
+ //window.getSelection().getRangeAt(0).deleteContents();
75
+ },
76
+
77
+ // split big files, highlighting parts of it
78
+ split : function(code,flag) {
79
+ if(flag=='scroll') {
80
+ this.scrolling = true;
81
+ return code;
82
+ }
83
+ else {
84
+ this.scrolling = false;
85
+ mid = code.indexOf('<SPAN>');
86
+ if(mid-2000<0) {ini=0;end=4000;}
87
+ else if(mid+2000>code.length) {ini=code.length-4000;end=code.length;}
88
+ else {ini=mid-2000;end=mid+2000;}
89
+ code = code.substring(ini,end);
90
+ return code;
91
+ }
92
+ },
93
+
94
+ // syntax highlighting parser
95
+ syntaxHighlight : function(flag) {
96
+ //if(document.designMode=='off') document.designMode='on'
97
+ if(flag!='init') {
98
+ var span = document.createElement('span');
99
+ window.getSelection().getRangeAt(0).insertNode(span);
100
+ }
101
+
102
+ o = editor.innerHTML;
103
+ // o = o.replace(/<br>/g,'\r\n');
104
+ // o = o.replace(/<(b|i|s|u|a|em|tt|ins|big|cite|strong)?>/g,'');
105
+ //alert(o)
106
+ o = o.replace(/<(?!span|\/span|br).*?>/gi,'');
107
+ // alert(o)
108
+ // x = o;
109
+ x = z = this.split(o,flag);
110
+ //alert(z)
111
+ // x = x.replace(/\r\n/g,'<br>');
112
+ x = x.replace(/\t/g, ' ');
113
+
114
+
115
+ if(arguments[1]&&arguments[2]) x = x.replace(arguments[1],arguments[2]);
116
+
117
+ for(i=0;i<Language.syntax.length;i++)
118
+ x = x.replace(Language.syntax[i].input,Language.syntax[i].output);
119
+
120
+ editor.innerHTML = this.actions.history[this.actions.next()] = (flag=='scroll') ? x : o.split(z).join(x);
121
+
122
+ if(flag!='init') this.findString();
123
+ },
124
+
125
+ getLastWord : function() {
126
+ var rangeAndCaret = CodePress.getRangeAndCaret();
127
+ words = rangeAndCaret[0].substring(rangeAndCaret[1]-40,rangeAndCaret[1]);
128
+ words = words.replace(/[\s\n\r\);\W]/g,'\n').split('\n');
129
+ return words[words.length-1].replace(/[\W]/gi,'').toLowerCase();
130
+ },
131
+
132
+ snippets : function(evt) {
133
+ var snippets = Language.snippets;
134
+ var trigger = this.getLastWord();
135
+ for (var i=0; i<snippets.length; i++) {
136
+ if(snippets[i].input == trigger) {
137
+ var content = snippets[i].output.replace(/</g,'&lt;');
138
+ content = content.replace(/>/g,'&gt;');
139
+ if(content.indexOf('$0')<0) content += cc;
140
+ else content = content.replace(/\$0/,cc);
141
+ content = content.replace(/\n/g,'<br>');
142
+ var pattern = new RegExp(trigger+cc,'gi');
143
+ evt.preventDefault(); // prevent the tab key from being added
144
+ this.syntaxHighlight('snippets',pattern,content);
145
+ }
146
+ }
147
+ },
148
+
149
+ readOnly : function() {
150
+ document.designMode = (arguments[0]) ? 'off' : 'on';
151
+ },
152
+
153
+ complete : function(trigger) {
154
+ window.getSelection().getRangeAt(0).deleteContents();
155
+ var complete = Language.complete;
156
+ for (var i=0; i<complete.length; i++) {
157
+ if(complete[i].input == trigger) {
158
+ var pattern = new RegExp('\\'+trigger+cc);
159
+ var content = complete[i].output.replace(/\$0/g,cc);
160
+ parent.setTimeout(function () { CodePress.syntaxHighlight('complete',pattern,content)},0); // wait for char to appear on screen
161
+ }
162
+ }
163
+ },
164
+
165
+ getCompleteChars : function() {
166
+ var cChars = '';
167
+ for(var i=0;i<Language.complete.length;i++)
168
+ cChars += '|'+Language.complete[i].input;
169
+ return cChars+'|';
170
+ },
171
+
172
+ shortcuts : function() {
173
+ var cCode = arguments[0];
174
+ if(cCode==13) cCode = '[enter]';
175
+ else if(cCode==32) cCode = '[space]';
176
+ else cCode = '['+String.fromCharCode(charCode).toLowerCase()+']';
177
+ for(var i=0;i<Language.shortcuts.length;i++)
178
+ if(Language.shortcuts[i].input == cCode)
179
+ this.insertCode(Language.shortcuts[i].output,false);
180
+ },
181
+
182
+ getRangeAndCaret : function() {
183
+ var range = window.getSelection().getRangeAt(0);
184
+ var range2 = range.cloneRange();
185
+ var node = range.endContainer;
186
+ var caret = range.endOffset;
187
+ range2.selectNode(node);
188
+ return [range2.toString(),caret];
189
+ },
190
+
191
+ insertCode : function(code,replaceCursorBefore) {
192
+ var range = window.getSelection().getRangeAt(0);
193
+ var node = window.document.createTextNode(code);
194
+ var selct = window.getSelection();
195
+ var range2 = range.cloneRange();
196
+ // Insert text at cursor position
197
+ selct.removeAllRanges();
198
+ range.deleteContents();
199
+ range.insertNode(node);
200
+ // Move the cursor to the end of text
201
+ range2.selectNode(node);
202
+ range2.collapse(replaceCursorBefore);
203
+ selct.removeAllRanges();
204
+ selct.addRange(range2);
205
+ },
206
+
207
+ // get code from editor
208
+ getCode : function() {
209
+ var code = editor.innerHTML;
210
+ code = code.replace(/<br>/g,'\n');
211
+ code = code.replace(/\u2009/g,'');
212
+ code = code.replace(/<.*?>/g,'');
213
+ code = code.replace(/&lt;/g,'<');
214
+ code = code.replace(/&gt;/g,'>');
215
+ code = code.replace(/&amp;/gi,'&');
216
+ return code;
217
+ },
218
+
219
+ // put code inside editor
220
+ setCode : function() {
221
+ var code = arguments[0];
222
+ code = code.replace(/\u2009/gi,'');
223
+ code = code.replace(/&/gi,'&amp;');
224
+ code = code.replace(/</g,'&lt;');
225
+ code = code.replace(/>/g,'&gt;');
226
+ editor.innerHTML = code;
227
+ },
228
+
229
+ // undo and redo methods
230
+ actions : {
231
+ pos : -1, // actual history position
232
+ history : [], // history vector
233
+
234
+ undo : function() {
235
+ if(editor.innerHTML.indexOf(cc)==-1){
236
+ window.getSelection().getRangeAt(0).insertNode(document.createTextNode(cc));
237
+ this.history[this.pos] = editor.innerHTML;
238
+ }
239
+ this.pos--;
240
+ if(typeof(this.history[this.pos])=='undefined') this.pos++;
241
+ editor.innerHTML = this.history[this.pos];
242
+ CodePress.findString();
243
+ },
244
+
245
+ redo : function() {
246
+ this.pos++;
247
+ if(typeof(this.history[this.pos])=='undefined') this.pos--;
248
+ editor.innerHTML = this.history[this.pos];
249
+ CodePress.findString();
250
+ },
251
+
252
+ next : function() { // get next vector position and clean old ones
253
+ if(this.pos>20) this.history[this.pos-21] = undefined;
254
+ return ++this.pos;
255
+ }
256
+ }
257
+ }
258
+
259
+ Language={};
260
+ window.addEventListener('load', function() { CodePress.initialize('new'); }, true);
codepress/images/line-numbers.png ADDED
Binary file
codepress/index.html ADDED
@@ -0,0 +1,443 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
+
3
+ <html>
4
+ <head>
5
+ <title>CodePress - Real Time Syntax Highlighting Editor written in JavaScript</title>
6
+
7
+ <style>
8
+ body {color:#000;background-color:white;font:15px georgia, "Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif; letter-spacing:0.01em;margin:15px;}
9
+ p {margin:0 0 15px 0;}
10
+ a,a:visited {color:#7f0055;}
11
+ select {background:#ffffe1;}
12
+ button {margin-top:5px;}
13
+ button.actions {width:171px;font-family:arial;}
14
+ h1 {color:#7f0055;margin:0;padding:0;font-size:42px;font-weight:normal;}
15
+ h1 a {text-decoration:none;}
16
+ h2 {margin:0;}
17
+ h2 a {text-decoration:none;font-weight:normal;font-size:22px;color:black !important;}
18
+ h3 {font-size:20px;font-weight:normal;padding:0;margin:25px 0 5px 0;color:#7f0055;font-weight:bold;border-bottom:2px dotted #d8d8d8;}
19
+ h4 {font-size:18px;font-weight:normal;z-index:0;}
20
+ code {color:#0080c0;font-size:13px;font-weight:bold;}
21
+ ol, ul {padding:5px 0 5px 25px;margin:0;}
22
+ ol li, ul li {margin:8px 0 8px 0;}
23
+
24
+ #logo {text-align:center;background-color:#d6d6d6;padding:10px;-moz-border-radius:5px;border:1px solid silver;}
25
+ #container {width:700px;margin:20px auto;padding:25px;border:3px solid #d9d9d9;-moz-border-radius:10px;background:#f8f8f8;}
26
+ #languages {margin:5px 0;}
27
+
28
+ #menu {width:100%;background:#7f0055;-moz-border-radius:4px;}
29
+ #menu a {font:bold 17px georgia;color:white;padding:4px;display:block;border-left:1px solid white;text-align:center;text-decoration:none;}
30
+ #menu a:hover {background:#b9669e;}
31
+
32
+ .hidden-code {display:none;}
33
+ .copycode {border:1px dotted gray;padding:10px;background:white;font-family:monospace;color:gray}
34
+ </style>
35
+
36
+ </head>
37
+
38
+ <body>
39
+ <div id="container">
40
+
41
+ <div id="logo">
42
+ <h1><a href="http://codepress.org/">CodePress</a></h1>
43
+ <h2><a href="http://codepress.org/">Online Real Time Syntax Highlighting Editor</a></h2>
44
+ </div>
45
+
46
+ <br />
47
+
48
+ <table cellpadding="0" cellspacing="0" id="menu">
49
+ <tr>
50
+ <td>
51
+ <a href="http://www.codepress.org/index.php">Home/Download</a>
52
+ </td>
53
+ <td>
54
+ <a href="http://www.codepress.org/install.php">&nbsp;&nbsp;Install&nbsp;&nbsp;</a>
55
+ </td>
56
+ <td>
57
+ <a href="http://www.codepress.org/to-do.php">&nbsp;&nbsp;To-do&nbsp;&nbsp;</a>
58
+ </td>
59
+ <td>
60
+ <a href="http://www.codepress.org/about.php" id="about">&nbsp;&nbsp;About&nbsp;&nbsp;</a>
61
+ </td>
62
+ </tr>
63
+ </table>
64
+
65
+ <h4>
66
+ CodePress is web-based source code editor with syntax highlighting written in JavaScript that colors text in real time while it's being typed in the browser.
67
+ </h4>
68
+
69
+ <p>
70
+ Go to <strong><a href="http://codepress.org/">http://codepress.org/</a></strong> for updates.
71
+ </p>
72
+
73
+ <h3>Demo</h3>
74
+ <div id="languages">
75
+ <em>choose example in:</em>
76
+ <button onclick="cp1.edit('cp-php','php')">PHP</button>
77
+ <button onclick="cp1.edit('cp-javascript','javascript')">JavaScript</button>
78
+ <button onclick="cp1.edit('cp-java','java')">Java</button>
79
+ <button onclick="cp1.edit('cp-perl','perl')">Perl</button>
80
+ <button onclick="cp1.edit('cp-sql','sql')">SQL</button>
81
+ <button onclick="cp1.edit('cp-html','html')">HTML</button>
82
+ <button onclick="cp1.edit('cp-css','css')">CSS</button>
83
+ </div>
84
+
85
+ <textarea id="cp1" class="codepress php" style="width:700px;height:300px;" wrap="off">
86
+ <?php
87
+ // Very simple implementation of server side script
88
+
89
+ if(isset($_GET['file'])) {
90
+ $file = basename($_GET['file']);
91
+ $full_file = $path['server'].'/'.$path['webdocs'].'/'.$path['files']."/".$file;
92
+ if(file_exists($full_file)) {
93
+ $code = file_get_contents($full_file);
94
+ $code = preg_replace("/>/","&amp;gt;",$code);
95
+ $code = preg_replace("/</","&amp;lt;",$code);
96
+ $language = getLanguage($file);
97
+ }
98
+ }
99
+ ?>
100
+
101
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
102
+ <html>
103
+ <head>
104
+ <title>CodePress - Real Time Syntax Highlighting Editor written in JavaScript</title>
105
+ <link type="text/css" href="languages/codepress-<?=$language?>.css" rel="stylesheet" id="cp-lang-style" />
106
+ <script type="text/javascript" src="codepress.js"></script>
107
+ <script type="text/javascript">
108
+ CodePress.language = '<?=$language?>';
109
+ </script>
110
+ </head>
111
+ <body id="ffedt"><pre id="ieedt"><?=$code?></pre></body>
112
+ </html>
113
+ </textarea>
114
+
115
+ <br /><br />
116
+
117
+ <textarea id="codepress2" class="codepress javascript linenumbers-off" style="width:700px;height:200px;" wrap="off">
118
+ //set language
119
+ this.setLanguage = function() {
120
+ if(arguments[0]) {
121
+ language = (typeof(Content.languages[arguments[0]])!='undefined') ? arguments[0] : this.setLanguage();
122
+ cpLanguage.innerHTML = Content.languages[language].name;
123
+ if(cpBody.document.designMode=='on') cpBody.document.designMode = 'off';
124
+ CodePress.loadScript(cpBody.document, '../languages/'+language+'.js', function () { cpBody.CodePress.syntaxHighlight('init'); })
125
+ cpBody.document.getElementById('cp-lang-style').href = '../languages/'+language+'.css';
126
+ this.hideMenu();
127
+ }
128
+ else {
129
+ var extension = filename.replace(/.*\.([^\.]+)$/,'$1');
130
+ var aux = false;
131
+ for(lang in Content.languages) {
132
+ extensions = ','+Content.languages[lang].extensions+',';
133
+ if(extensions.match(','+extension+',')) aux = lang;
134
+ }
135
+ language = (aux) ? aux : 'generic';
136
+ }
137
+ }
138
+ </textarea>
139
+
140
+ <p>
141
+ <button class="actions" onclick="alert(codepress2.getCode())">get code from editor</button>
142
+ <button class="actions" onclick="codepress2.toggleEditor()">turn on/off CodePress</button>
143
+ <button class="actions" onclick="codepress2.toggleLineNumbers()">show/hide line numbers</button>
144
+ <button class="actions" onclick="codepress2.toggleAutoComplete()">turn on/off auto-complete</button>
145
+ <button class="actions" onclick="codepress2.toggleReadOnly()">turn on/off read only</button>
146
+ </p>
147
+
148
+
149
+
150
+ <h3>Installation</h3>
151
+ <ol>
152
+ <li>
153
+ <p>
154
+ <a href="http://codepress.org/">Download</a> and uncompress CodePress under a directory inside your webserver.<br>
155
+ Example:<strong> http://yourserver/codepress/</strong><br />
156
+ Since CodePress is pure JavaScript and HTML, you can also test it without a webserver.
157
+ </p>
158
+ </li>
159
+ <li>
160
+ <p>
161
+ Insert CodePress script somewhere in your page inside the <code>&lt;head&gt;</code> or above the <code>&lt;/body&gt;</code> tag.
162
+ </p>
163
+
164
+ <p class="copycode">
165
+ &lt;script src="/codepress/codepress.js" type="text/javascript"&gt;&lt;/script&gt;
166
+ </p>
167
+ </li>
168
+
169
+ <li>
170
+ <p>
171
+ Add the <code>&lt;textarea&gt;</code> tag to the place on your page you want CodePress to appear. CodePress will inherit the width and height of your textarea.
172
+ When the page loads, it will automatically replace your textarea with a CodePress window.
173
+ </p>
174
+ <p class="copycode">
175
+ &lt;textarea id="myCpWindow" class="codepress javascript linenumbers-off"&gt;<br />
176
+ &nbsp;&nbsp;&nbsp;// your code here<br />
177
+ &lt;/textarea&gt;
178
+ </p>
179
+ <ul>
180
+ <li>
181
+ The <code>javascript</code> portion of the class="" means that the language being edited is JavaScript.
182
+ </li>
183
+ <li>
184
+ The <code>codepress</code> portion of the class="" is mandatory and indicates a textarea to be replaced for a CodePress window.
185
+ </li>
186
+ <li>
187
+ Other class options are <code>linenumbers-off</code>, <code>autocomplete-off</code> and <code>readonly-on</code>.
188
+ </li>
189
+ <li>
190
+ Careful not to use the same id for two different CodePress windows (<code>&lt;textarea id="<strong>xx</strong>"...&gt;</code>)
191
+ </li>
192
+ </ul>
193
+
194
+ </li>
195
+ </ol>
196
+
197
+ <h3>You also can...</h3>
198
+ <ol>
199
+ <li>
200
+ Open/edit code from a different textarea.<br />
201
+ Example: <code>textarea_id.edit('other_textarea_id','language')</code><br>
202
+ </li>
203
+ <li>
204
+ Get code from CodePress window.<br />
205
+ Example: <code>textarea_id.getCode()</code><br>
206
+ </li>
207
+ <li>
208
+ Turn on/off CodePress editor and return to the regular textarea.<br />
209
+ Example: <code>textarea_id.toggleEditor()</code><br>
210
+ </li>
211
+ <li>
212
+ Turn on/off line numbers.<br />
213
+ Example: <code>textarea_id.toggleLineNumbers()</code><br>
214
+ </li>
215
+ <li>
216
+ Turn on/off read only.<br />
217
+ Example: <code>textarea_id.toggleReadOnly()</code><br>
218
+ </li>
219
+ <li>
220
+ Turn on/off auto-complete.<br />
221
+ Example: <code>textarea_id.toggleAutoComplete()</code><br>
222
+ </li>
223
+
224
+ </ol>
225
+
226
+ <!-- p>
227
+ You may want to use [id].getCode() to get the content code from CodePress window and save it to your server since CodePress only edit files and do not save them.
228
+ </p>
229
+ <p>
230
+ You may also want to open files from server. You'll have to write a server side script and replace the JavaScript call on codepress.js from codepress.html to codepress.php (if your server side language is PHP, of course).
231
+ </p -->
232
+
233
+ <h3>License</h3>
234
+ <p>
235
+ CodePress is distributed under the <a href="http://www.opensource.org/licenses/lgpl-license.php">LGPL</a>. If your software is <a href="http://www.gnu.org/philosophy/license-list.html#GPLCompatibleLicenses">compatible</a> with this licence or it is under <a href="http://creativecommons.org/">Creative Commons</a>, you can use it as you want. Just keep the credits somewhere around.
236
+ </p>
237
+
238
+
239
+ </div><!--/container-->
240
+
241
+
242
+
243
+ <!-- hidden codes for loading -->
244
+ <textarea id="cp-php" class="hidden-code">
245
+ <?php
246
+ // Very simple implementation of server side script
247
+
248
+ if(isset($_GET['file'])) {
249
+ $file = basename($_GET['file']);
250
+ $full_file = $path['server'].'/'.$path['webdocs'].'/'.$path['files']."/".$file;
251
+ if(file_exists($full_file)) {
252
+ $code = file_get_contents($full_file);
253
+ $code = preg_replace("/>/","&amp;gt;",$code);
254
+ $code = preg_replace("/</","&amp;lt;",$code);
255
+ $language = getLanguage($file);
256
+ }
257
+ }
258
+ ?>
259
+
260
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
261
+ <html>
262
+ <head>
263
+ <title>CodePress - Real Time Syntax Highlighting Editor written in JavaScript</title>
264
+ <link type="text/css" href="languages/codepress-<?=$language?>.css" rel="stylesheet" id="cp-lang-style" />
265
+ <script type="text/javascript" src="codepress.js"></script>
266
+ <script type="text/javascript">
267
+ CodePress.language = '<?=$language?>';
268
+ </script>
269
+ </head>
270
+ <body id="ffedt"><pre id="ieedt"><?=$code?></pre></body>
271
+ </html>
272
+ </textarea>
273
+
274
+ <textarea id="cp-javascript" class="hidden-code">
275
+ CodePress = function(obj) {
276
+ var self = document.createElement('iframe');
277
+ self.textarea = obj;
278
+ self.textarea.disabled = true;
279
+ self.style.height = self.textarea.clientHeight +'px';
280
+ self.style.width = self.textarea.clientWidth +'px';
281
+
282
+ self.initialize = function() {
283
+ self.editor = self.contentWindow.CodePress;
284
+ self.editor.body = self.contentWindow.document.getElementsByTagName('body')[0];
285
+ self.editor.setCode(self.textarea.value);
286
+ self.editor.syntaxHighlight('init');
287
+ }
288
+
289
+ self.edit = function(id,language) {
290
+ self.language = (language) ? language : self.textarea.className.replace(/ ?codepress ?/,'');
291
+ self.src = cpPath+'modules/codepress.html?engine='+self.getEngine()+'&language='+self.language;
292
+ if(self.attachEvent) self.attachEvent('onload',self.initialize);
293
+ else self.addEventListener('load',self.initialize,false);
294
+ }
295
+ }
296
+ </textarea>
297
+
298
+ <textarea id="cp-autoit" class="hidden-code">
299
+ #include
300
+ IsNumber(15)
301
+ @Macro
302
+ ;comment
303
+ $var = "string"
304
+ </textarea>
305
+
306
+ <textarea id="cp-java" class="hidden-code">
307
+ import java.io.FileFilter;
308
+ import java.io.IOException;
309
+ import java.io.PrintWriter;
310
+
311
+ /**
312
+ * Project ECCO - File manager class
313
+ * @author Fernando M.A.d.S.
314
+ */
315
+ public class FileManager extends HttpServlet {
316
+
317
+ private static final long serialVersionUID = 1L;
318
+ private static String login = "feanndor"; // session var should come here
319
+ private static String usersPath = System.getProperty("user.dir")+File.separator+"htdocs"+File.separator+"ecco"+File.separator+"users"+File.separator;
320
+ private static File dir = new File(usersPath+login+File.separator);
321
+ static boolean existDirectories = false;
322
+ static int isDirectory = 0;
323
+
324
+ public FileFilter filterFiles(File dir) {
325
+ return (new FileFilter() {
326
+ public boolean accept(File pathname) {
327
+ return !(pathname.isDirectory());
328
+ }
329
+ });
330
+ }
331
+ }
332
+ </textarea>
333
+
334
+ <textarea id="cp-perl" class="hidden-code">
335
+ #!/usr/bin/perl
336
+ # The first line of the script envokes Perl
337
+
338
+ # Scalar variables
339
+ $var1 = "Hello World";
340
+ $var2 = 14.6;
341
+
342
+ # Array variables
343
+ @arr1 = ("zero","one","two","three","four");
344
+
345
+ # Hash variable, or associative array
346
+ %hash1 = ("one","Monday","two", "Tuesday","three", "Wednesday","four","Thursday");
347
+
348
+ # Some simple printing
349
+ print $var1;
350
+
351
+ # Subroutine
352
+ sub test() {
353
+ print "ok";
354
+ }
355
+ </textarea>
356
+
357
+ <textarea id="cp-sql" class="hidden-code">
358
+ --
359
+ -- simple select example
360
+ --
361
+ SELECT * FROM books
362
+ WHERE price > 100.00 and price < 150.00
363
+ ORDER BY title
364
+
365
+ SELECT books.title, count(*) AS Authors
366
+ FROM books
367
+ JOIN book_authors
368
+ ON books.book_number = book_authors.book_number
369
+ GROUP BY books.title
370
+
371
+ -- insert, update and delete examples
372
+
373
+ INSERT INTO my_table (field1, field2, field3) VALUES ('test', 'N', NULL);
374
+
375
+ BEGIN WORK;
376
+ UPDATE inventory SET quantity = quantity - 3 WHERE item = 'pants';
377
+ COMMIT;
378
+ </textarea>
379
+
380
+ <textarea id="cp-html" class="hidden-code">
381
+ <html>
382
+ <head>
383
+ <title>CodePress - Online Real Time Syntax Highlighting Editor</title>
384
+
385
+ <style type="text/css">
386
+ @import url(styles.css);
387
+ </style>
388
+ <script type="text/javascript">
389
+ function getCode() {
390
+ alert(textWithoutHighlighting);
391
+ }
392
+ </script>
393
+ </head>
394
+ <body>
395
+ <div id="logo">
396
+ <h1><a href="http://codepress.org/">CodePress</a></h1>
397
+ <h2>Online Real Time Syntax Highlighting Editor</h2>
398
+ <img src="testimage.gif" />
399
+ </div>
400
+ <div id="languages">
401
+ <em>choose language:</em>
402
+ <button onclick="edit('codepress.php',this)" id="default">PHP</button>
403
+ <button onclick="edit('FileManager.java',this)">Java</button>
404
+ </div>
405
+ </body>
406
+ </html>
407
+ </textarea>
408
+
409
+ <textarea id="cp-css" class="hidden-code">
410
+ /* CSS comment */
411
+
412
+ body {
413
+ color:#000;
414
+ background-color:white;
415
+ font:15px Georgia, "Lucida Grande", Arial, sans-serif;
416
+ letter-spacing:0.01em;
417
+ margin:15px;
418
+ }
419
+
420
+ p {
421
+ margin:0 0 15px 0;
422
+ }
423
+
424
+ a,a:visited {
425
+ color:#7f0055;
426
+ }
427
+
428
+ select {
429
+ background:#ffffe1;
430
+ }
431
+
432
+ h1 {
433
+ color:#7f0055;
434
+ margin:0;
435
+ padding:0;
436
+ font-size:42px;
437
+ }
438
+ </textarea>
439
+
440
+
441
+ <script src="codepress.js" type="text/javascript"></script>
442
+ </body>
443
+ </html>
codepress/languages/asp.css ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for ASP-VB syntax highlighting
3
+ * By Martin D. Kirk
4
+ */
5
+ /* tags */
6
+
7
+ b {
8
+ color:#000080;
9
+ }
10
+ /* comments */
11
+ big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {
12
+ color:gray;
13
+ font-weight:normal;
14
+ }
15
+ /* ASP comments */
16
+ strong dfn, strong dfn a,strong dfn var, strong dfn a u, strong dfn u{
17
+ color:gray;
18
+ font-weight:normal;
19
+ }
20
+ /* attributes */
21
+ s, s b, span s u, span s cite, strong span s {
22
+ color:#5656fa ;
23
+ font-weight:normal;
24
+ }
25
+ /* strings */
26
+ strong s,strong s b, strong s u, strong s cite {
27
+ color:#009900;
28
+ font-weight:normal;
29
+ }
30
+ strong ins{
31
+ color:#000000;
32
+ font-weight:bold;
33
+ }
34
+ /* Syntax */
35
+ strong a, strong a u {
36
+ color:#0000FF;
37
+ font-weight:;
38
+ }
39
+ /* Native Keywords */
40
+ strong u {
41
+ color:#990099;
42
+ font-weight:bold;
43
+ }
44
+ /* Numbers */
45
+ strong var{
46
+ color:#FF0000;
47
+ }
48
+ /* ASP Language */
49
+ span{
50
+ color:#990000;
51
+ font-weight:bold;
52
+ }
53
+ strong i,strong a i, strong u i {
54
+ color:#009999;
55
+ }
56
+ /* style */
57
+ em {
58
+ color:#800080;
59
+ font-style:normal;
60
+ }
61
+ /* script */
62
+ ins {
63
+ color:#800000;
64
+ font-weight:bold;
65
+ }
66
+
67
+ /* <?php and ?> */
68
+ cite, s cite {
69
+ color:red;
70
+ font-weight:bold;
71
+ }
codepress/languages/asp.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for ASP-vbscript syntax highlighting
3
+ */
4
+
5
+ // ASP VBScript
6
+ Language.syntax = [
7
+ // all tags
8
+ { input : /(&lt;[^!%|!%@]*?&gt;)/g, output : '<b>$1</b>' },
9
+ // style tags
10
+ { input : /(&lt;style.*?&gt;)(.*?)(&lt;\/style&gt;)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' },
11
+ // script tags
12
+ { input : /(&lt;script.*?&gt;)(.*?)(&lt;\/script&gt;)/g, output : '<ins>$1</ins><ins>$2</ins><ins>$3</ins>' },
13
+ // strings "" and attributes
14
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' },
15
+ // ASP Comment
16
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<dfn>\'$1$2</dfn>'},
17
+ // <%.*
18
+ { input : /(&lt;%)/g, output : '<strong>$1' },
19
+ // .*%>
20
+ { input : /(%&gt;)/g, output : '$1</strong>' },
21
+ // <%@...%>
22
+ { input : /(&lt;%@)(.+?)(%&gt;)/gi, output : '$1<span>$2</span>$3' },
23
+ //Numbers
24
+ { input : /\b([\d]+)\b/g, output : '<var>$1</var>' },
25
+ // Reserved Words 1 (Blue)
26
+ { input : /\b(And|As|ByRef|ByVal|Call|Case|Class|Const|Dim|Do|Each|Else|ElseIf|Empty|End|Eqv|Exit|False|For|Function)\b/gi, output : '<a>$1</a>' },
27
+ { input : /\b(Get|GoTo|If|Imp|In|Is|Let|Loop|Me|Mod|Enum|New|Next|Not|Nothing|Null|On|Option|Or|Private|Public|ReDim|Rem)\b/gi, output : '<a>$1</a>' },
28
+ { input : /\b(Resume|Select|Set|Stop|Sub|Then|To|True|Until|Wend|While|With|Xor|Execute|Randomize|Erase|ExecuteGlobal|Explicit|step)\b/gi, output : '<a>$1</a>' },
29
+ // Reserved Words 2 (Purple)
30
+ { input : /\b(Abandon|Abs|AbsolutePage|AbsolutePosition|ActiveCommand|ActiveConnection|ActualSize|AddHeader|AddNew|AppendChunk)\b/gi, output : '<u>$1</u>' },
31
+ { input : /\b(AppendToLog|Application|Array|Asc|Atn|Attributes|BeginTrans|BinaryRead|BinaryWrite|BOF|Bookmark|Boolean|Buffer|Byte)\b/gi, output : '<u>$1</u>' },
32
+ { input : /\b(CacheControl|CacheSize|Cancel|CancelBatch|CancelUpdate|CBool|CByte|CCur|CDate|CDbl|Charset|Chr|CInt|Clear)\b/gi, output : '<u>$1</u>' },
33
+ { input : /\b(ClientCertificate|CLng|Clone|Close|CodePage|CommandText|CommandType|CommandTimeout|CommitTrans|CompareBookmarks|ConnectionString|ConnectionTimeout)\b/gi, output : '<u>$1</u>' },
34
+ { input : /\b(Contents|ContentType|Cookies|Cos|CreateObject|CreateParameter|CSng|CStr|CursorLocation|CursorType|DataMember|DataSource|Date|DateAdd|DateDiff)\b/gi, output : '<u>$1</u>' },
35
+ { input : /\b(DatePart|DateSerial|DateValue|Day|DefaultDatabase|DefinedSize|Delete|Description|Double|EditMode|Eof|EOF|err|Error)\b/gi, output : '<u>$1</u>' },
36
+ { input : /\b(Exp|Expires|ExpiresAbsolute|Filter|Find|Fix|Flush|Form|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent)\b/gi, output : '<u>$1</u>' },
37
+ { input : /\b(GetChunk|GetLastError|GetRows|GetString|Global|HelpContext|HelpFile|Hex|Hour|HTMLEncode|IgnoreCase|Index|InStr|InStrRev)\b/gi, output : '<u>$1</u>' },
38
+ { input : /\b(Int|Integer|IsArray|IsClientConnected|IsDate|IsolationLevel|Join|LBound|LCase|LCID|Left|Len|Lock|LockType|Log|Long|LTrim)\b/gi, output : '<u>$1</u>' },
39
+ { input : /\b(MapPath|MarshalOptions|MaxRecords|Mid|Minute|Mode|Month|MonthName|Move|MoveFirst|MoveLast|MoveNext|MovePrevious|Name|NextRecordset)\b/gi, output : '<u>$1</u>' },
40
+ { input : /\b(Now|Number|NumericScale|ObjectContext|Oct|Open|OpenSchema|OriginalValue|PageCount|PageSize|Pattern|PICS|Precision|Prepared|Property)\b/gi, output : '<u>$1</u>' },
41
+ { input : /\b(Provider|QueryString|RecordCount|Redirect|RegExp|Remove|RemoveAll|Replace|Requery|Request|Response|Resync|Right|Rnd)\b/gi, output : '<u>$1</u>' },
42
+ { input : /\b(RollbackTrans|RTrim|Save|ScriptTimeout|Second|Seek|Server|ServerVariables|Session|SessionID|SetAbort|SetComplete|Sgn)\b/gi, output : '<u>$1</u>' },
43
+ { input : /\b(Sin|Size|Sort|Source|Space|Split|Sqr|State|StaticObjects|Status|StayInSync|StrComp|String|StrReverse|Supports|Tan|Time)\b/gi, output : '<u>$1</u>' },
44
+ { input : /\b(Timeout|Timer|TimeSerial|TimeValue|TotalBytes|Transfer|Trim|Type|Type|UBound|UCase|UnderlyingValue|UnLock|Update|UpdateBatch)\b/gi, output : '<u>$1</u>' },
45
+ { input : /\b(URLEncode|Value|Value|Version|Weekday|WeekdayName|Write|Year)\b/gi, output : '<u>$1</u>' },
46
+ // Reserved Words 3 (Turquis)
47
+ { input : /\b(vbBlack|vbRed|vbGreen|vbYellow|vbBlue|vbMagenta|vbCyan|vbWhite|vbBinaryCompare|vbTextCompare)\b/gi, output : '<i>$1</i>' },
48
+ { input : /\b(vbSunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday|vbUseSystemDayOfWeek)\b/gi, output : '<i>$1</i>' },
49
+ { input : /\b(vbFirstJan1|vbFirstFourDays|vbFirstFullWeek|vbGeneralDate|vbLongDate|vbShortDate|vbLongTime|vbShortTime)\b/gi, output : '<i>$1</i>' },
50
+ { input : /\b(vbObjectError|vbCr|VbCrLf|vbFormFeed|vbLf|vbNewLine|vbNullChar|vbNullString|vbTab|vbVerticalTab|vbUseDefault|vbTrue)\b/gi, output : '<i>$1</i>' },
51
+ { input : /\b(vbFalse|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant)\b/gi, output : '<i>$1</i>' },
52
+ { input : /\b(vbDataObject|vbDecimal|vbByte|vbArray)\b/gi, output : '<i>$1</i>' },
53
+ // html comments
54
+ { input : /(&lt;!--.*?--&gt.)/g, output : '<big>$1</big>' }
55
+ ]
56
+
57
+ Language.Functions = [
58
+ // Output at index 0, must be the desired tagname surrounding a $1
59
+ // Name is the index from the regex that marks the functionname
60
+ {input : /(function|sub)([ ]*?)(\w+)([ ]*?\()/gi , output : '<ins>$1</ins>', name : '$3'}
61
+ ]
62
+
63
+ Language.snippets = [
64
+ //Conditional
65
+ { input : 'if', output : 'If $0 Then\n\t\nEnd If' },
66
+ { input : 'ifelse', output : 'If $0 Then\n\t\n\nElse\n\t\nEnd If' },
67
+ { input : 'case', output : 'Select Case $0\n\tCase ?\n\tCase Else\nEnd Select'},
68
+ //Response
69
+ { input : 'rw', output : 'Response.Write( $0 )' },
70
+ { input : 'resc', output : 'Response.Cookies( $0 )' },
71
+ { input : 'resb', output : 'Response.Buffer'},
72
+ { input : 'resflu', output : 'Response.Flush()'},
73
+ { input : 'resend', output : 'Response.End'},
74
+ //Request
75
+ { input : 'reqc', output : 'Request.Cookies( $0 )' },
76
+ { input : 'rq', output : 'Request.Querystring("$0")' },
77
+ { input : 'rf', output : 'Request.Form("$0")' },
78
+ //FSO
79
+ { input : 'fso', output : 'Set fso = Server.CreateObject("Scripting.FileSystemObject")\n$0' },
80
+ { input : 'setfo', output : 'Set fo = fso.getFolder($0)' },
81
+ { input : 'setfi', output : 'Set fi = fso.getFile($0)' },
82
+ { input : 'twr', output : 'Set f = fso.CreateTextFile($0,true)\'overwrite\nf.WriteLine()\nf.Close'},
83
+ { input : 'tre', output : 'Set f = fso.OpenTextFile($0, 1)\nf.ReadAll\nf.Close'},
84
+ //Server
85
+ { input : 'mapp', output : 'Server.Mappath($0)' },
86
+ //Loops
87
+ { input : 'foreach', output : 'For Each $0 in ?\n\t\nNext' },
88
+ { input : 'for', output : 'For $0 to ? step ?\n\t\nNext' },
89
+ { input : 'do', output : 'Do While($0)\n\t\nLoop' },
90
+ { input : 'untilrs', output : 'do until rs.eof\n\t\nrs.movenext\nloop' },
91
+ //ADO
92
+ { input : 'adorec', output : 'Set rs = Server.CreateObject("ADODB.Recordset")' },
93
+ { input : 'adocon', output : 'Set Conn = Server.CreateObject("ADODB.Connection")' },
94
+ { input : 'adostr', output : 'Set oStr = Server.CreateObject("ADODB.Stream")' },
95
+ //Http Request
96
+ { input : 'xmlhttp', output : 'Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")\nxmlHttp.open("GET", $0, false)\nxmlHttp.send()\n?=xmlHttp.responseText' },
97
+ { input : 'xmldoc', output : 'Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")\nxmldoc.async=false\nxmldoc.load(request)'},
98
+ //Functions
99
+ { input : 'func', output : 'Function $0()\n\t\n\nEnd Function'},
100
+ { input : 'sub', output : 'Sub $0()\n\t\nEnd Sub'}
101
+
102
+ ]
103
+
104
+ Language.complete = [
105
+ //{ input : '\'', output : '\'$0\'' },
106
+ { input : '"', output : '"$0"' },
107
+ { input : '(', output : '\($0\)' },
108
+ { input : '[', output : '\[$0\]' },
109
+ { input : '{', output : '{\n\t$0\n}' }
110
+ ]
111
+
112
+ Language.shortcuts = [
113
+ { input : '[space]', output : '&nbsp;' },
114
+ { input : '[enter]', output : '<br />' } ,
115
+ { input : '[j]', output : 'testing' },
116
+ { input : '[7]', output : '&amp;' }
117
+ ]
codepress/languages/autoit.css ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * CodePress color styles for AutoIt syntax highlighting
3
+ */
4
+
5
+ u {font-style:normal;color:#000090;font-weight:bold;font-family:Monospace;}
6
+ var {color:#AA0000;font-weight:bold;font-style:normal;}
7
+ em {color:#FF33FF;}
8
+ ins {color:#AC00A9;}
9
+ i {color:#F000FF;}
10
+ b {color:#FF0000;}
11
+ a {color:#0080FF;font-weight:bold;}
12
+ s, s u, s b {color:#9999CC;font-weight:normal;}
13
+ cite, cite *{color:#009933;font-weight:normal;}
codepress/languages/autoit.js ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * CodePress regular expressions for AutoIt syntax highlighting
3
+ * @author: James Brooks, Michael HURNI
4
+ */
5
+
6
+ // AutoIt
7
+ Language.syntax = [
8
+ { input : /({|}|\(|\))/g, output : '<b>$1</b>' }, // Brackets
9
+ { input : /(\*|\+|-)/g, output : '<b>$1</b>' }, // Operator
10
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : "<s>\"$1$2</s>" }, // strings double
11
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single
12
+ { input : /\b([\d]+)\b/g, output : '<ins>$1</ins>' }, // Numbers
13
+ { input : /#(.*?)(<br>|<\/P>)/g, output : '<i>#$1</i>$2' }, // Directives and Includes
14
+ { input : /(\$[\w\.]*)/g, output : '<var>$1</var>' }, // vars
15
+ { input : /(_[\w\.]*)/g, output : '<a>$1</a>' }, // underscored word
16
+ { input : /(\@[\w\.]*)/g, output : '<em>$1</em>' }, // Macros
17
+ { input : /\b(Abs|ACos|AdlibDisable|AdlibEnable|Asc|AscW|ASin|Assign|ATan|AutoItSetOption|AutoItWinGetTitle|AutoItWinSetTitle|Beep|Binary|BinaryLen|BinaryMid|BinaryToString|BitAND|BitNOT|BitOR|BitSHIFT|BitXOR|BlockInput|Break|Call|CDTray|Ceiling|Chr|ChrW|ClipGet|ClipPut|ConsoleRead|ConsoleWrite|ConsoleWriteError|ControlClick|ControlCommand|ControlDisable|ControlEnable|ControlFocus|ControlGetFocus|ControlGetHandle|ControlGetPos|ControlGetText|ControlHide|ControlListView|ControlMove|ControlSend|ControlSetText|ControlShow|Cos|Dec|DirCopy|DirCreate|DirGetSize|DirMove|DirRemove|DllCall|DllCall|DllClose|DllOpen|DllStructCreate|DllStructGetData|DllStructGetPtr|DllStructGetSize|DllStructSetData|DriveGetDrive|DriveGetFileSystem|DriveGetLabel|DriveGetSerial|DriveGetType|DriveMapAdd|DriveMapDel|DriveMapGet|DriveSetLabel|DriveSpaceFree|DriveSpaceTotal|DriveStatus|EnvGet|EnvSet|EnvUpdate|Eval|Execute|Exp|FileChangeDir|FileClose|FileCopy|FileCreateNTFS|FileCreateShortcut|FileDelete|FileExists|FileFindFirstFile|FileFindNextFile|FileGetAttrib|FileGetLongName|FileGetShortcut|FileGetShortName|FileGetSize|FileGetTime|FileGetVersion|FileInstall|FileMove|FileOpen|FileOpenDialog|FileRead|FileReadLine|FileRecycle|FileRecycleEmpty|FileSaveDialog|FileSelectFolder|FileSetAttrib|FileSetTime|FileWrite|FileWriteLine|Floor|FtpSetProxy|GuiCreate|GuiCtrlCreateAvi|GuiCtrlCreateButton|GuiCtrlCreateCheckbox|GuiCtrlCreateCombo|GuiCtrlCreateContextMenu|GuiCtrlCreateDate|GuiCtrlCreateDummy|GuiCtrlCreateEdit|GuiCtrlCreateGraphic|GuiCtrlCreateGroup|GuiCtrlCreateIcon|GuiCtrlCreateInput|GuiCtrlCreateLabel|GuiCtrlCreateList|GuiCtrlCreateListView|GuiCtrlCreateListViewItem|GuiCtrlCreateMenu|GuiCtrlCreateMenuItem|GuiCtrlCreateMonthCal|GuiCtrlCreateObj|GuiCtrlCreatePic|GuiCtrlCreateProgress|GuiCtrlCreateRadio|GuiCtrlCreateSlider|GuiCtrlCreateTab|GuiCtrlCreateTabItem|GuiCtrlCreateUpdown|GuiCtrlDelete|GuiCtrlGetHandle|GuiCtrlGetState|GuiCtrlRead|GuiCtrlRecvMsg|GuiCtrlSentMsg|GuiCtrlSendToDummy|GuiCtrlSetBkColor|GuiCtrlSetColor|GuiCtrlSetCursor|GuiCtrlSetData|GuiCtrlSetFont|GuiCtrlSetGraphic|GuiCtrlSetImage|GuiCtrlSetLimit|GuiCtrlSetOnEvent|GuiCtrlSetPos|GuiCtrlResizing|GuiCtrlSetState|GuiCtrlSetTip|GuiDelete|GuiGetCursorInfo|GuiGetMsg|GuiGetStyle|GuiRegisterMsg|GuiSetBkColor|GuiSetCoord|GuiSetCursor|GuiSetFont|GuiSetHelp|GuiSetIcon|GuiSetOnEvent|GuiSetStat|GuiSetStyle|GuiStartGroup|GuiSwitch|Hex|HotKeySet|HttpSetProxy|HWnd|InetGet|InetGetSize|IniDelete|IniRead|IniReadSection|IniReadSectionNames|IniRenameSection|IniWrite|IniWriteSection|InputBox|Int|IsAdmin|IsArray|IsBinary|IsBool|IsDeclared|IsDllStruct|IsFloat|IsHWnd|IsInt|IsKeyword|IsNumber|IsObj|IsString|Log|MemGetStats|Mod|MouseClick|MouseClickDrag|MouseDown|MouseGetCursor|MouseGetPos|MouseMove|MouseUp|MouseWheel|MsgBox|Number|ObjCreate|ObjEvent|ObjGet|ObjName|Ping|PixelCheckSum|PixelGetColor|PixelSearch|ProcessClose|ProcessExists|ProcessList|ProcessSetPriority|ProcessWait|ProcessWaitClose|ProgressOff|ProcessOn|ProgressSet|Random|RegDelete|RegEnumKey|RegEnumVal|RegRead|RegWrite|Round|Run|RunAsSet|RunWait|Send|SetError|SetExtended|ShellExecute|ShellExecuteWait|Shutdown|Sin|Sleep|SoundPlay|SoundSetWaveVolume|SplashImageOn|SplashOff|SplashTextOn|Sqrt|SRandom|StatusbarGetText|StderrRead|StdinWrite|StdoutRead|String|StringAddCR|StringCompare|StringFormat|StringInStr|StringIsAlNum|StringIsAlpha|StringIsASCII|StringIsDigit|StringIsFloat|StringIsInt|StringIsLower|StringIsSpace|StringIsUpper|StringIsXDigit|StringLeft|StringLen|StringLower|StringMid|StringRegExp|StringRegExpReplace|StringReplace|StringRight|StringSplit|StringStripCR|StringStripWS|StringToBinary|StringTrimLeft|StringTrimRight|StringUpper|Tan|TCPAccept|TCPCloseSocket|TCPConnect|TCPListen|TCPNameToIP|TCPrecv|TCPSend|TCPShutdown|TCPStartup|TimerDiff|TimerInit|ToolTip|TrayCreateItem|TrayCreateMenu|TrayGetMenu|TrayGetMsg|TrayItemDelete|TrayItemGetHandle|TrayItemGetState|TrayItemGetText|TrayItemSetOnEvent|TrayItemSetState|TrayItemSetText|TraySetClick|TraySetIcon|TraySetOnEvent|TraySetPauseIcon|TraySetState|TraySetToolTip|TrayTip|UBound|UDPBind|UDPCloseSocket|UDPOpen|UDPRecv|UDPSend|WinActivate|WinActive|WinClose|WinExists|WinFlash|WinGetCaretPos|WinGetClassList|WinGetClientSize|WinGetHandle|WinGetPos|WinGetProcess|WinGetState|WinGetText|WinGetTitle|WinKill|WinList|WinMenuSelectItem|WinMinimizeAll|WinMinimizeAllUndo|WinMove|WinSetOnTop|WinSetState|WinSetTitle|WinSetTrans|WinWait|WinWaitActive|WinWaitClose|WinWaitNotActive)\b/g, output : '<u>$1</u>' } ,// reserved words
18
+ { input : /\B;(.*?)(<br>|<\/P>)/g, output : '<cite>;$1</cite>$2' }, // comments
19
+ { input : /#CS(.*?)#CE/g, output : '<cite>#CS$1#CE</cite>' } // Block Comments
20
+ ]
21
+
22
+ Language.snippets = []
23
+
24
+ Language.complete = [
25
+ { input : '\'',output : '\'$0\'' },
26
+ { input : '"', output : '"$0"' },
27
+ { input : '(', output : '\($0\)' },
28
+ { input : '[', output : '\[$0\]' },
29
+ { input : '{', output : '{\n\t$0\n}' }
30
+ ]
31
+
32
+ Language.shortcuts = []
codepress/languages/csharp.css ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for Java syntax highlighting
3
+ * By Edwin de Jonge
4
+ */
5
+
6
+ b {color:#7F0055;font-weight:bold;font-style:normal;} /* reserved words */
7
+ a {color:#2A0088;font-weight:bold;font-style:normal;} /* types */
8
+ i, i b, i s {color:#3F7F5F;font-weight:bold;} /* comments */
9
+ s, s b {color:#2A00FF;font-weight:normal;} /* strings */
codepress/languages/csharp.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for C# syntax highlighting
3
+ * By Edwin de Jonge
4
+ */
5
+
6
+ Language.syntax = [ // C#
7
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
8
+ { input : /\'(.?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
9
+ { input : /\b(abstract|as|base|break|case|catch|checked|continue|default|delegate|do|else|event|explicit|extern|false|finally|fixed|for|foreach|get|goto|if|implicit|in|interface|internal|is|lock|namespace|new|null|object|operator|out|override|params|partial|private|protected|public|readonly|ref|return|set|sealed|sizeof|static|stackalloc|switch|this|throw|true|try|typeof|unchecked|unsafe|using|value|virtual|while)\b/g, output : '<b>$1</b>' }, // reserved words
10
+ { input : /\b(bool|byte|char|class|double|float|int|interface|long|string|struct|void)\b/g, output : '<a>$1</a>' }, // types
11
+ { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3' }, // comments //
12
+ { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' } // comments /* */
13
+ ];
14
+
15
+ Language.snippets = [];
16
+
17
+ Language.complete = [ // Auto complete only for 1 character
18
+ {input : '\'',output : '\'$0\'' },
19
+ {input : '"', output : '"$0"' },
20
+ {input : '(', output : '\($0\)' },
21
+ {input : '[', output : '\[$0\]' },
22
+ {input : '{', output : '{\n\t$0\n}' }
23
+ ];
24
+
25
+ Language.shortcuts = [];
codepress/languages/css.css ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for CSS syntax highlighting
3
+ */
4
+
5
+ b, b a, b u {color:#000080;} /* tags, ids, classes */
6
+ i, i b, i s, i a, i u {color:gray;} /* comments */
7
+ s, s b {color:#a0a0dd;} /* parameters */
8
+ a {color:#0000ff;} /* keys */
9
+ u {color:red;} /* values */
10
+
codepress/languages/css.js ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for CSS syntax highlighting
3
+ */
4
+
5
+ // CSS
6
+ Language.syntax = [
7
+ { input : /(.*?){(.*?)}/g,output : '<b>$1</b>{<u>$2</u>}' }, // tags, ids, classes, values
8
+ { input : /([\w-]*?):([^\/])/g,output : '<a>$1</a>:$2' }, // keys
9
+ { input : /\((.*?)\)/g,output : '(<s>$1</s>)' }, // parameters
10
+ { input : /\/\*(.*?)\*\//g,output : '<i>/*$1*/</i>'} // comments
11
+ ]
12
+
13
+ Language.snippets = []
14
+
15
+ Language.complete = [
16
+ { input : '\'',output : '\'$0\'' },
17
+ { input : '"', output : '"$0"' },
18
+ { input : '(', output : '\($0\)' },
19
+ { input : '[', output : '\[$0\]' },
20
+ { input : '{', output : '{\n\t$0\n}' }
21
+ ]
22
+
23
+ Language.shortcuts = []
codepress/languages/generic.css ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for generic syntax highlighting
3
+ */
4
+
5
+ b {color:#7F0055;font-weight:bold;} /* reserved words */
6
+ u {color:darkblue;font-weight:bold;} /* special words */
7
+ i, i b, i s, i u, i em {color:green;font-weight:normal;} /* comments */
8
+ s, s b, s em {color:#2A00FF;font-weight:normal;} /* strings */
9
+ em {font-weight:bold;} /* special chars */
codepress/languages/generic.js ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for generic syntax highlighting
3
+ */
4
+
5
+ // generic languages
6
+ Language.syntax = [
7
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
8
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
9
+ { input : /\b(abstract|continue|for|new|switch|default|goto|boolean|do|if|private|this|break|double|protected|throw|byte|else|import|public|throws|case|return|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|const|float|while|function|label)\b/g, output : '<b>$1</b>' }, // reserved words
10
+ { input : /([\(\){}])/g, output : '<em>$1</em>' }, // special chars;
11
+ { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3' }, // comments //
12
+ { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' } // comments /* */
13
+ ]
14
+
15
+ Language.snippets = []
16
+
17
+ Language.complete = [
18
+ { input : '\'', output : '\'$0\'' },
19
+ { input : '"', output : '"$0"' },
20
+ { input : '(', output : '\($0\)' },
21
+ { input : '[', output : '\[$0\]' },
22
+ { input : '{', output : '{\n\t$0\n}' }
23
+ ]
24
+
25
+ Language.shortcuts = []
codepress/languages/html.css ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for HTML syntax highlighting
3
+ */
4
+
5
+ b {color:#000080;} /* tags */
6
+ ins, ins b, ins s, ins em {color:gray;} /* comments */
7
+ s, s b {color:#7777e4;} /* attribute values */
8
+ a {color:green;} /* links */
9
+ u {color:#E67300;} /* forms */
10
+ big {color:#db0000;} /* images */
11
+ em, em b {color:#800080;} /* style */
12
+ strong {color:#800000;} /* script */
13
+ tt i {color:darkblue;font-weight:bold;} /* script reserved words */
codepress/languages/html.js ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for HTML syntax highlighting
3
+ */
4
+
5
+ // HTML
6
+ Language.syntax = [
7
+ { input : /(&lt;[^!]*?&gt;)/g, output : '<b>$1</b>' }, // all tags
8
+ { input : /(&lt;a .*?&gt;|&lt;\/a&gt;)/g, output : '<a>$1</a>' }, // links
9
+ { input : /(&lt;img .*?&gt;)/g, output : '<big>$1</big>' }, // images
10
+ { input : /(&lt;\/?(button|textarea|form|input|select|option|label).*?&gt;)/g, output : '<u>$1</u>' }, // forms
11
+ { input : /(&lt;style.*?&gt;)(.*?)(&lt;\/style&gt;)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' }, // style tags
12
+ { input : /(&lt;script.*?&gt;)(.*?)(&lt;\/script&gt;)/g, output : '<strong>$1</strong><tt>$2</tt><strong>$3</strong>' }, // script tags
13
+ { input : /=(".*?")/g, output : '=<s>$1</s>' }, // atributes double quote
14
+ { input : /=('.*?')/g, output : '=<s>$1</s>' }, // atributes single quote
15
+ { input : /(&lt;!--.*?--&gt.)/g, output : '<ins>$1</ins>' }, // comments
16
+ { input : /\b(alert|window|document|break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g, output : '<i>$1</i>' } // script reserved words
17
+ ]
18
+
19
+ Language.snippets = [
20
+ { input : 'aref', output : '<a href="$0"></a>' },
21
+ { input : 'h1', output : '<h1>$0</h1>' },
22
+ { input : 'h2', output : '<h2>$0</h2>' },
23
+ { input : 'h3', output : '<h3>$0</h3>' },
24
+ { input : 'h4', output : '<h4>$0</h4>' },
25
+ { input : 'h5', output : '<h5>$0</h5>' },
26
+ { input : 'h6', output : '<h6>$0</h6>' },
27
+ { input : 'html', output : '<html>\n\t$0\n</html>' },
28
+ { input : 'head', output : '<head>\n\t<meta http-equiv="content-type" content="text/html; charset=utf-8" />\n\t<title>$0</title>\n\t\n</head>' },
29
+ { input : 'img', output : '<img src="$0" alt="" />' },
30
+ { input : 'input', output : '<input name="$0" id="" type="" value="" />' },
31
+ { input : 'label', output : '<label for="$0"></label>' },
32
+ { input : 'legend', output : '<legend>\n\t$0\n</legend>' },
33
+ { input : 'link', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
34
+ { input : 'base', output : '<base href="$0" />' },
35
+ { input : 'body', output : '<body>\n\t$0\n</body>' },
36
+ { input : 'css', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
37
+ { input : 'div', output : '<div>\n\t$0\n</div>' },
38
+ { input : 'divid', output : '<div id="$0">\n\t\n</div>' },
39
+ { input : 'dl', output : '<dl>\n\t<dt>\n\t\t$0\n\t</dt>\n\t<dd></dd>\n</dl>' },
40
+ { input : 'fieldset', output : '<fieldset>\n\t$0\n</fieldset>' },
41
+ { input : 'form', output : '<form action="$0" method="" name="">\n\t\n</form>' },
42
+ { input : 'meta', output : '<meta name="$0" content="" />' },
43
+ { input : 'p', output : '<p>$0</p>' },
44
+ { input : 'script', output : '<script type="text/javascript" language="javascript" charset="utf-8">\n\t$0\t\n</script>' },
45
+ { input : 'scriptsrc', output : '<script src="$0" type="text/javascript" language="javascript" charset="utf-8"></script>' },
46
+ { input : 'span', output : '<span>$0</span>' },
47
+ { input : 'table', output : '<table border="$0" cellspacing="" cellpadding="">\n\t<tr><th></th></tr>\n\t<tr><td></td></tr>\n</table>' },
48
+ { input : 'style', output : '<style type="text/css" media="screen">\n\t$0\n</style>' }
49
+ ]
50
+
51
+ Language.complete = [
52
+ { input : '\'',output : '\'$0\'' },
53
+ { input : '"', output : '"$0"' },
54
+ { input : '(', output : '\($0\)' },
55
+ { input : '[', output : '\[$0\]' },
56
+ { input : '{', output : '{\n\t$0\n}' }
57
+ ]
58
+
59
+ Language.shortcuts = []
codepress/languages/java.css ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for Java syntax highlighting
3
+ */
4
+
5
+ b {color:#7F0055;font-weight:bold;font-style:normal;} /* reserved words */
6
+ i, i b, i s {color:#3F7F5F;font-weight:bold;} /* comments */
7
+ s, s b {color:#2A00FF;font-weight:normal;} /* strings */
codepress/languages/java.js ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for Java syntax highlighting
3
+ */
4
+
5
+ // Java
6
+ Language.syntax = [
7
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>'}, // strings double quote
8
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>'}, // strings single quote
9
+ { input : /\b(abstract|continue|for|new|switch|assert|default|goto|package|synchronized|boolean|do|if|private|this|break|double|implements|protected|throw|byte|else|import|public|throws|case|enum|instanceof|return|transient|catch|extends|int|short|try|char|final|interface|static|void|class|finally|long|strictfp|volatile|const|float|native|super|while)\b/g, output : '<b>$1</b>'}, // reserved words
10
+ { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3'}, // comments //
11
+ { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' }// comments /* */
12
+ ]
13
+
14
+ Language.snippets = []
15
+
16
+ Language.complete = [
17
+ { input : '\'',output : '\'$0\'' },
18
+ { input : '"', output : '"$0"' },
19
+ { input : '(', output : '\($0\)' },
20
+ { input : '[', output : '\[$0\]' },
21
+ { input : '{', output : '{\n\t$0\n}' }
22
+ ]
23
+
24
+ Language.shortcuts = []
codepress/languages/javascript.css ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for JavaScript syntax highlighting
3
+ */
4
+
5
+ b {color:#7F0055;font-weight:bold;} /* reserved words */
6
+ u {color:darkblue;font-weight:bold;} /* special words */
7
+ i, i b, i s, i u {color:green;font-weight:normal;} /* comments */
8
+ s, s b, s u {color:#2A00FF;font-weight:normal;} /* strings */
codepress/languages/javascript.js ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for JavaScript syntax highlighting
3
+ */
4
+
5
+ // JavaScript
6
+ Language.syntax = [
7
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
8
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
9
+ { input : /\b(break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g, output : '<b>$1</b>' }, // reserved words
10
+ { input : /\b(alert|isNaN|parent|Array|parseFloat|parseInt|blur|clearTimeout|prompt|prototype|close|confirm|length|Date|location|Math|document|element|name|self|elements|setTimeout|navigator|status|String|escape|Number|submit|eval|Object|event|onblur|focus|onerror|onfocus|onclick|top|onload|toString|onunload|unescape|open|valueOf|window|onmouseover)\b/g, output : '<u>$1</u>' }, // special words
11
+ { input : /([^:]|^)\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3' }, // comments //
12
+ { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' } // comments /* */
13
+ ]
14
+
15
+ Language.snippets = [
16
+ { input : 'dw', output : 'document.write(\'$0\');' },
17
+ { input : 'getid', output : 'document.getElementById(\'$0\')' },
18
+ { input : 'fun', output : 'function $0(){\n\t\n}' },
19
+ { input : 'func', output : 'function $0(){\n\t\n}' }
20
+ ]
21
+
22
+ Language.complete = [
23
+ { input : '\'',output : '\'$0\'' },
24
+ { input : '"', output : '"$0"' },
25
+ { input : '(', output : '\($0\)' },
26
+ { input : '[', output : '\[$0\]' },
27
+ { input : '{', output : '{\n\t$0\n}' }
28
+ ]
29
+
30
+ Language.shortcuts = []
codepress/languages/perl.css ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for Perl syntax highlighting
3
+ * By J. Nick Koston
4
+ */
5
+
6
+ b {color:#7F0055;font-weight:bold;} /* reserved words */
7
+ i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */
8
+ s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */
9
+ a {color:#006700;font-weight:bold;} /* variables */
10
+ em {color:darkblue;font-weight:bold;} /* functions */
11
+ u {font-weight:bold;} /* special chars */
codepress/languages/perl.js ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for Perl syntax highlighting
3
+ * By J. Nick Koston
4
+ */
5
+
6
+ // Perl
7
+ Language.syntax = [
8
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
9
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
10
+ { input : /([\$\@\%][\w\.]*)/g, output : '<a>$1</a>' }, // vars
11
+ { input : /(sub\s+)([\w\.]*)/g, output : '$1<em>$2</em>' }, // functions
12
+ { input : /\b(abs|accept|alarm|atan2|bind|binmode|bless|caller|chdir|chmod|chomp|chop|chown|chr|chroot|close|closedir|connect|continue|cos|crypt|dbmclose|dbmopen|defined|delete|die|do|dump|each|else|elsif|endgrent|endhostent|endnetent|endprotoent|endpwent|eof|eval|exec|exists|exit|fcntl|fileno|find|flock|for|foreach|fork|format|formlinegetc|getgrent|getgrgid|getgrnam|gethostbyaddr|gethostbyname|gethostent|getlogin|getnetbyaddr|getnetbyname|getnetent|getpeername|getpgrp|getppid|getpriority|getprotobyname|getprotobynumber|getprotoent|getpwent|getpwnam|getpwuid|getservbyaddr|getservbyname|getservbyport|getservent|getsockname|getsockopt|glob|gmtime|goto|grep|hex|hostname|if|import|index|int|ioctl|join|keys|kill|last|lc|lcfirst|length|link|listen|LoadExternals|local|localtime|log|lstat|map|mkdir|msgctl|msgget|msgrcv|msgsnd|my|next|no|oct|open|opendir|ordpack|package|pipe|pop|pos|print|printf|push|pwd|qq|quotemeta|qw|rand|read|readdir|readlink|recv|redo|ref|rename|require|reset|return|reverse|rewinddir|rindex|rmdir|scalar|seek|seekdir|select|semctl|semget|semop|send|setgrent|sethostent|setnetent|setpgrp|setpriority|setprotoent|setpwent|setservent|setsockopt|shift|shmctl|shmget|shmread|shmwrite|shutdown|sin|sleep|socket|socketpair|sort|splice|split|sprintf|sqrt|srand|stat|stty|study|sub|substr|symlink|syscall|sysopen|sysread|system|syswritetell|telldir|tie|tied|time|times|tr|truncate|uc|ucfirst|umask|undef|unless|unlink|until|unpack|unshift|untie|use|utime|values|vec|waitpid|wantarray|warn|while|write)\b/g, output : '<b>$1</b>' }, // reserved words
13
+ { input : /([\(\){}])/g, output : '<u>$1</u>' }, // special chars
14
+ { input : /#(.*?)(<br>|<\/P>)/g, output : '<i>#$1</i>$2' } // comments
15
+ ]
16
+
17
+ Language.snippets = []
18
+
19
+ Language.complete = [
20
+ { input : '\'',output : '\'$0\'' },
21
+ { input : '"', output : '"$0"' },
22
+ { input : '(', output : '\($0\)' },
23
+ { input : '[', output : '\[$0\]' },
24
+ { input : '{', output : '{\n\t$0\n}' }
25
+ ]
26
+
27
+ Language.shortcuts = []
codepress/languages/php.css ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for PHP syntax highlighting
3
+ */
4
+
5
+ b {color:#000080;} /* tags */
6
+ big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {color:gray;font-weight:normal;} /* comments */
7
+ s, s b, strong s u, strong s cite {color:#5656fa;font-weight:normal;} /* attributes and strings */
8
+ strong a, strong a u {color:#006700;font-weight:bold;} /* variables */
9
+ em {color:#800080;font-style:normal;} /* style */
10
+ ins {color:#800000;} /* script */
11
+ strong u {color:#7F0055;font-weight:bold;} /* reserved words */
12
+ cite, s cite {color:red;font-weight:bold;} /* <?php and ?> */
codepress/languages/php.js ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for PHP syntax highlighting
3
+ */
4
+
5
+ // PHP
6
+ Language.syntax = [
7
+ { input : /(&lt;[^!\?]*?&gt;)/g, output : '<b>$1</b>' }, // all tags
8
+ { input : /(&lt;style.*?&gt;)(.*?)(&lt;\/style&gt;)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' }, // style tags
9
+ { input : /(&lt;script.*?&gt;)(.*?)(&lt;\/script&gt;)/g, output : '<ins>$1</ins><ins>$2</ins><ins>$3</ins>' }, // script tags
10
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
11
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>'}, // strings single quote
12
+ { input : /(&lt;\?)/g, output : '<strong>$1' }, // <?.*
13
+ { input : /(\?&gt;)/g, output : '$1</strong>' }, // .*?>
14
+ { input : /(&lt;\?php|&lt;\?=|&lt;\?|\?&gt;)/g, output : '<cite>$1</cite>' }, // php tags
15
+ { input : /(\$[\w\.]*)/g, output : '<a>$1</a>' }, // vars
16
+ { input : /\b(false|true|and|or|xor|__FILE__|exception|__LINE__|array|as|break|case|class|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|eval|exit|extends|for|foreach|function|global|if|include|include_once|isset|list|new|print|require|require_once|return|static|switch|unset|use|while|__FUNCTION__|__CLASS__|__METHOD__|final|php_user_filter|interface|implements|extends|public|private|protected|abstract|clone|try|catch|throw|this)\b/g, output : '<u>$1</u>' }, // reserved words
17
+ { input : /([^:])\/\/(.*?)(<br|<\/P)/g, output : '$1<i>//$2</i>$3' }, // php comments //
18
+ { input : /([^:])#(.*?)(<br|<\/P)/g, output : '$1<i>#$2</i>$3' }, // php comments #
19
+ { input : /\/\*(.*?)\*\//g, output : '<i>/*$1*/</i>' }, // php comments /* */
20
+ { input : /(&lt;!--.*?--&gt.)/g, output : '<big>$1</big>' } // html comments
21
+ ]
22
+
23
+ Language.snippets = [
24
+ { input : 'if', output : 'if($0){\n\t\n}' },
25
+ { input : 'ifelse', output : 'if($0){\n\t\n}\nelse{\n\t\n}' },
26
+ { input : 'else', output : '}\nelse {\n\t' },
27
+ { input : 'elseif', output : '}\nelseif($0) {\n\t' },
28
+ { input : 'do', output : 'do{\n\t$0\n}\nwhile();' },
29
+ { input : 'inc', output : 'include_once("$0");' },
30
+ { input : 'fun', output : 'function $0(){\n\t\n}' },
31
+ { input : 'func', output : 'function $0(){\n\t\n}' },
32
+ { input : 'while', output : 'while($0){\n\t\n}' },
33
+ { input : 'for', output : 'for($0,,){\n\t\n}' },
34
+ { input : 'fore', output : 'foreach($0 as ){\n\t\n}' },
35
+ { input : 'foreach', output : 'foreach($0 as ){\n\t\n}' },
36
+ { input : 'echo', output : 'echo \'$0\';' },
37
+ { input : 'switch', output : 'switch($0) {\n\tcase "": break;\n\tdefault: ;\n}' },
38
+ { input : 'case', output : 'case "$0" : break;' },
39
+ { input : 'ret0', output : 'return false;' },
40
+ { input : 'retf', output : 'return false;' },
41
+ { input : 'ret1', output : 'return true;' },
42
+ { input : 'rett', output : 'return true;' },
43
+ { input : 'ret', output : 'return $0;' },
44
+ { input : 'def', output : 'define(\'$0\',\'\');' },
45
+ { input : '<?', output : 'php\n$0\n?>' }
46
+ ]
47
+
48
+ Language.complete = [
49
+ { input : '\'', output : '\'$0\'' },
50
+ { input : '"', output : '"$0"' },
51
+ { input : '(', output : '\($0\)' },
52
+ { input : '[', output : '\[$0\]' },
53
+ { input : '{', output : '{\n\t$0\n}' }
54
+ ]
55
+
56
+ Language.shortcuts = [
57
+ { input : '[space]', output : '&nbsp;' },
58
+ { input : '[enter]', output : '<br />' } ,
59
+ { input : '[j]', output : 'testing' },
60
+ { input : '[7]', output : '&amp;' }
61
+ ]
codepress/languages/ruby.css ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for Ruby syntax highlighting
3
+ */
4
+
5
+ b {color:#7F0055;font-weight:bold;} /* reserved words */
6
+ i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */
7
+ s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */
8
+ a {color:#006700;font-weight:bold;} /* variables */
9
+ em {color:darkblue;font-weight:bold;} /* functions */
10
+ u {font-weight:bold;} /* special chars */
codepress/languages/ruby.js ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for Perl syntax highlighting
3
+ */
4
+
5
+ // Ruby
6
+ Language.syntax = [
7
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' }, // strings double quote
8
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<s>\'$1$2</s>' }, // strings single quote
9
+ { input : /([\$\@\%]+)([\w\.]*)/g, output : '<a>$1$2</a>' }, // vars
10
+ { input : /(def\s+)([\w\.]*)/g, output : '$1<em>$2</em>' }, // functions
11
+ { input : /\b(alias|and|BEGIN|begin|break|case|class|def|defined|do|else|elsif|END|end|ensure|false|for|if|in|module|next|nil|not|or|redo|rescue|retry|return|self|super|then|true|undef|unless|until|when|while|yield)\b/g, output : '<b>$1</b>' }, // reserved words
12
+ { input : /([\(\){}])/g, output : '<u>$1</u>' }, // special chars
13
+ { input : /#(.*?)(<br>|<\/P>)/g, output : '<i>#$1</i>$2' } // comments
14
+ ];
15
+
16
+ Language.snippets = []
17
+
18
+ Language.complete = [
19
+ { input : '\'',output : '\'$0\'' },
20
+ { input : '"', output : '"$0"' },
21
+ { input : '(', output : '\($0\)' },
22
+ { input : '[', output : '\[$0\]' },
23
+ { input : '{', output : '{\n\t$0\n}' }
24
+ ]
25
+
26
+ Language.shortcuts = []
codepress/languages/sql.css ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for SQL syntax highlighting
3
+ * By Merlin Moncure
4
+ */
5
+
6
+ b {color:#0000FF;font-style:normal;font-weight:bold;} /* reserved words */
7
+ u {color:#FF0000;font-style:normal;} /* types */
8
+ a {color:#CD6600;font-style:normal;font-weight:bold;} /* commands */
9
+ i, i b, i u, i a, i s {color:#A9A9A9;font-weight:normal;font-style:italic;} /* comments */
10
+ s, s b, s u, s a, s i {color:#2A00FF;font-weight:normal;} /* strings */
codepress/languages/sql.js ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for SQL syntax highlighting
3
+ * By Merlin Moncure
4
+ */
5
+
6
+ // SQL
7
+ Language.syntax = [
8
+ { input : /\'(.*?)(\')/g, output : '<s>\'$1$2</s>' }, // strings single quote
9
+ { input : /\b(add|after|aggregate|alias|all|and|as|authorization|between|by|cascade|cache|cache|called|case|check|column|comment|constraint|createdb|createuser|cycle|database|default|deferrable|deferred|diagnostics|distinct|domain|each|else|elseif|elsif|encrypted|except|exception|for|foreign|from|from|full|function|get|group|having|if|immediate|immutable|in|increment|initially|increment|index|inherits|inner|input|intersect|into|invoker|is|join|key|language|left|like|limit|local|loop|match|maxvalue|minvalue|natural|nextval|no|nocreatedb|nocreateuser|not|null|of|offset|oids|on|only|operator|or|order|outer|owner|partial|password|perform|plpgsql|primary|record|references|replace|restrict|return|returns|right|row|rule|schema|security|sequence|session|sql|stable|statistics|table|temp|temporary|then|time|to|transaction|trigger|type|unencrypted|union|unique|user|using|valid|value|values|view|volatile|when|where|with|without|zone)\b/gi, output : '<b>$1</b>' }, // reserved words
10
+ { input : /\b(bigint|bigserial|bit|boolean|box|bytea|char|character|cidr|circle|date|decimal|double|float4|float8|inet|int2|int4|int8|integer|interval|line|lseg|macaddr|money|numeric|oid|path|point|polygon|precision|real|refcursor|serial|serial4|serial8|smallint|text|timestamp|varbit|varchar)\b/gi, output : '<u>$1</u>' }, // types
11
+ { input : /\b(abort|alter|analyze|begin|checkpoint|close|cluster|comment|commit|copy|create|deallocate|declare|delete|drop|end|execute|explain|fetch|grant|insert|listen|load|lock|move|notify|prepare|reindex|reset|restart|revoke|rollback|select|set|show|start|truncate|unlisten|update)\b/gi, output : '<a>$1</a>' }, // commands
12
+ { input : /([^:]|^)\-\-(.*?)(<br|<\/P)/g, output: '$1<i>--$2</i>$3' } // comments //
13
+ ]
14
+
15
+ Language.snippets = [
16
+ { input : 'select', output : 'select $0 from where ' }
17
+ ]
18
+
19
+ Language.complete = [
20
+ { input : '\'', output : '\'$0\'' },
21
+ { input : '"', output : '"$0"' },
22
+ { input : '(', output : '\($0\)' },
23
+ { input : '[', output : '\[$0\]' },
24
+ { input : '{', output : '{\n\t$0\n}' }
25
+ ]
26
+
27
+ Language.shortcuts = []
28
+
29
+
30
+
codepress/languages/text.css ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for Text syntax highlighting
3
+ */
4
+
5
+ /* do nothing as expected */
codepress/languages/text.js ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for Text syntax highlighting
3
+ */
4
+
5
+ // plain text
6
+ Language.syntax = []
7
+ Language.snippets = []
8
+ Language.complete = []
9
+ Language.shortcuts = []
codepress/languages/vbscript.css ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for ASP-VB syntax highlighting
3
+ * By Martin D. Kirk
4
+ */
5
+
6
+ /* tags */
7
+ b {
8
+ color:#000080;
9
+ }
10
+ /* comments */
11
+ big, big b, big em, big ins, big s, strong i, strong i b, strong i s, strong i u, strong i a, strong i a u, strong i s u {
12
+ color:gray;
13
+ font-weight:normal;
14
+ }
15
+ /* ASP comments */
16
+ strong dfn, strong dfn a,strong dfn var, strong dfn a u, strong dfn u{
17
+ color:gray;
18
+ font-weight:normal;
19
+ }
20
+ /* attributes */
21
+ s, s b, span s u, span s cite, strong span s {
22
+ color:#5656fa ;
23
+ font-weight:normal;
24
+ }
25
+ /* strings */
26
+ strong s,strong s b, strong s u, strong s cite {
27
+ color:#009900;
28
+ font-weight:normal;
29
+ }
30
+ strong ins{
31
+ color:#000000;
32
+ font-weight:bold;
33
+ }
34
+ /* Syntax */
35
+ strong a, strong a u {
36
+ color:#0000FF;
37
+ font-weight:;
38
+ }
39
+ /* Native Keywords */
40
+ strong u {
41
+ color:#990099;
42
+ font-weight:bold;
43
+ }
44
+ /* Numbers */
45
+ strong var{
46
+ color:#FF0000;
47
+ }
48
+ /* ASP Language */
49
+ span{
50
+ color:#990000;
51
+ font-weight:bold;
52
+ }
53
+ strong i,strong a i, strong u i {
54
+ color:#009999;
55
+ }
56
+ /* style */
57
+ em {
58
+ color:#800080;
59
+ font-style:normal;
60
+ }
61
+ /* script */
62
+ ins {
63
+ color:#800000;
64
+ font-weight:bold;
65
+ }
66
+
67
+ /* <?php and ?> */
68
+ cite, s cite {
69
+ color:red;
70
+ font-weight:bold;
71
+ }
codepress/languages/vbscript.js ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for ASP-vbscript syntax highlighting
3
+ */
4
+
5
+ // ASP VBScript
6
+ Language.syntax = [
7
+ // all tags
8
+ { input : /(&lt;[^!%|!%@]*?&gt;)/g, output : '<b>$1</b>' },
9
+ // style tags
10
+ { input : /(&lt;style.*?&gt;)(.*?)(&lt;\/style&gt;)/g, output : '<em>$1</em><em>$2</em><em>$3</em>' },
11
+ // script tags
12
+ { input : /(&lt;script.*?&gt;)(.*?)(&lt;\/script&gt;)/g, output : '<ins>$1</ins><ins>$2</ins><ins>$3</ins>' },
13
+ // strings "" and attributes
14
+ { input : /\"(.*?)(\"|<br>|<\/P>)/g, output : '<s>"$1$2</s>' },
15
+ // ASP Comment
16
+ { input : /\'(.*?)(\'|<br>|<\/P>)/g, output : '<dfn>\'$1$2</dfn>'},
17
+ // <%.*
18
+ { input : /(&lt;%)/g, output : '<strong>$1' },
19
+ // .*%>
20
+ { input : /(%&gt;)/g, output : '$1</strong>' },
21
+ // <%@...%>
22
+ { input : /(&lt;%@)(.+?)(%&gt;)/gi, output : '$1<span>$2</span>$3' },
23
+ //Numbers
24
+ { input : /\b([\d]+)\b/g, output : '<var>$1</var>' },
25
+ // Reserved Words 1 (Blue)
26
+ { input : /\b(And|As|ByRef|ByVal|Call|Case|Class|Const|Dim|Do|Each|Else|ElseIf|Empty|End|Eqv|Exit|False|For|Function)\b/gi, output : '<a>$1</a>' },
27
+ { input : /\b(Get|GoTo|If|Imp|In|Is|Let|Loop|Me|Mod|Enum|New|Next|Not|Nothing|Null|On|Option|Or|Private|Public|ReDim|Rem)\b/gi, output : '<a>$1</a>' },
28
+ { input : /\b(Resume|Select|Set|Stop|Sub|Then|To|True|Until|Wend|While|With|Xor|Execute|Randomize|Erase|ExecuteGlobal|Explicit|step)\b/gi, output : '<a>$1</a>' },
29
+ // Reserved Words 2 (Purple)
30
+ { input : /\b(Abandon|Abs|AbsolutePage|AbsolutePosition|ActiveCommand|ActiveConnection|ActualSize|AddHeader|AddNew|AppendChunk)\b/gi, output : '<u>$1</u>' },
31
+ { input : /\b(AppendToLog|Application|Array|Asc|Atn|Attributes|BeginTrans|BinaryRead|BinaryWrite|BOF|Bookmark|Boolean|Buffer|Byte)\b/gi, output : '<u>$1</u>' },
32
+ { input : /\b(CacheControl|CacheSize|Cancel|CancelBatch|CancelUpdate|CBool|CByte|CCur|CDate|CDbl|Charset|Chr|CInt|Clear)\b/gi, output : '<u>$1</u>' },
33
+ { input : /\b(ClientCertificate|CLng|Clone|Close|CodePage|CommandText|CommandType|CommandTimeout|CommitTrans|CompareBookmarks|ConnectionString|ConnectionTimeout)\b/gi, output : '<u>$1</u>' },
34
+ { input : /\b(Contents|ContentType|Cookies|Cos|CreateObject|CreateParameter|CSng|CStr|CursorLocation|CursorType|DataMember|DataSource|Date|DateAdd|DateDiff)\b/gi, output : '<u>$1</u>' },
35
+ { input : /\b(DatePart|DateSerial|DateValue|Day|DefaultDatabase|DefinedSize|Delete|Description|Double|EditMode|Eof|EOF|err|Error)\b/gi, output : '<u>$1</u>' },
36
+ { input : /\b(Exp|Expires|ExpiresAbsolute|Filter|Find|Fix|Flush|Form|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent)\b/gi, output : '<u>$1</u>' },
37
+ { input : /\b(GetChunk|GetLastError|GetRows|GetString|Global|HelpContext|HelpFile|Hex|Hour|HTMLEncode|IgnoreCase|Index|InStr|InStrRev)\b/gi, output : '<u>$1</u>' },
38
+ { input : /\b(Int|Integer|IsArray|IsClientConnected|IsDate|IsolationLevel|Join|LBound|LCase|LCID|Left|Len|Lock|LockType|Log|Long|LTrim)\b/gi, output : '<u>$1</u>' },
39
+ { input : /\b(MapPath|MarshalOptions|MaxRecords|Mid|Minute|Mode|Month|MonthName|Move|MoveFirst|MoveLast|MoveNext|MovePrevious|Name|NextRecordset)\b/gi, output : '<u>$1</u>' },
40
+ { input : /\b(Now|Number|NumericScale|ObjectContext|Oct|Open|OpenSchema|OriginalValue|PageCount|PageSize|Pattern|PICS|Precision|Prepared|Property)\b/gi, output : '<u>$1</u>' },
41
+ { input : /\b(Provider|QueryString|RecordCount|Redirect|RegExp|Remove|RemoveAll|Replace|Requery|Request|Response|Resync|Right|Rnd)\b/gi, output : '<u>$1</u>' },
42
+ { input : /\b(RollbackTrans|RTrim|Save|ScriptTimeout|Second|Seek|Server|ServerVariables|Session|SessionID|SetAbort|SetComplete|Sgn)\b/gi, output : '<u>$1</u>' },
43
+ { input : /\b(Sin|Size|Sort|Source|Space|Split|Sqr|State|StaticObjects|Status|StayInSync|StrComp|String|StrReverse|Supports|Tan|Time)\b/gi, output : '<u>$1</u>' },
44
+ { input : /\b(Timeout|Timer|TimeSerial|TimeValue|TotalBytes|Transfer|Trim|Type|Type|UBound|UCase|UnderlyingValue|UnLock|Update|UpdateBatch)\b/gi, output : '<u>$1</u>' },
45
+ { input : /\b(URLEncode|Value|Value|Version|Weekday|WeekdayName|Write|Year)\b/gi, output : '<u>$1</u>' },
46
+ // Reserved Words 3 (Turquis)
47
+ { input : /\b(vbBlack|vbRed|vbGreen|vbYellow|vbBlue|vbMagenta|vbCyan|vbWhite|vbBinaryCompare|vbTextCompare)\b/gi, output : '<i>$1</i>' },
48
+ { input : /\b(vbSunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday|vbUseSystemDayOfWeek)\b/gi, output : '<i>$1</i>' },
49
+ { input : /\b(vbFirstJan1|vbFirstFourDays|vbFirstFullWeek|vbGeneralDate|vbLongDate|vbShortDate|vbLongTime|vbShortTime)\b/gi, output : '<i>$1</i>' },
50
+ { input : /\b(vbObjectError|vbCr|VbCrLf|vbFormFeed|vbLf|vbNewLine|vbNullChar|vbNullString|vbTab|vbVerticalTab|vbUseDefault|vbTrue)\b/gi, output : '<i>$1</i>' },
51
+ { input : /\b(vbFalse|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant)\b/gi, output : '<i>$1</i>' },
52
+ { input : /\b(vbDataObject|vbDecimal|vbByte|vbArray)\b/gi, output : '<i>$1</i>' },
53
+ // html comments
54
+ { input : /(&lt;!--.*?--&gt.)/g, output : '<big>$1</big>' }
55
+ ]
56
+
57
+ Language.Functions = [
58
+ // Output at index 0, must be the desired tagname surrounding a $1
59
+ // Name is the index from the regex that marks the functionname
60
+ {input : /(function|sub)([ ]*?)(\w+)([ ]*?\()/gi , output : '<ins>$1</ins>', name : '$3'}
61
+ ]
62
+
63
+ Language.snippets = [
64
+ //Conditional
65
+ { input : 'if', output : 'If $0 Then\n\t\nEnd If' },
66
+ { input : 'ifelse', output : 'If $0 Then\n\t\n\nElse\n\t\nEnd If' },
67
+ { input : 'case', output : 'Select Case $0\n\tCase ?\n\tCase Else\nEnd Select'},
68
+ //Response
69
+ { input : 'rw', output : 'Response.Write( $0 )' },
70
+ { input : 'resc', output : 'Response.Cookies( $0 )' },
71
+ { input : 'resb', output : 'Response.Buffer'},
72
+ { input : 'resflu', output : 'Response.Flush()'},
73
+ { input : 'resend', output : 'Response.End'},
74
+ //Request
75
+ { input : 'reqc', output : 'Request.Cookies( $0 )' },
76
+ { input : 'rq', output : 'Request.Querystring("$0")' },
77
+ { input : 'rf', output : 'Request.Form("$0")' },
78
+ //FSO
79
+ { input : 'fso', output : 'Set fso = Server.CreateObject("Scripting.FileSystemObject")\n$0' },
80
+ { input : 'setfo', output : 'Set fo = fso.getFolder($0)' },
81
+ { input : 'setfi', output : 'Set fi = fso.getFile($0)' },
82
+ { input : 'twr', output : 'Set f = fso.CreateTextFile($0,true)\'overwrite\nf.WriteLine()\nf.Close'},
83
+ { input : 'tre', output : 'Set f = fso.OpenTextFile($0, 1)\nf.ReadAll\nf.Close'},
84
+ //Server
85
+ { input : 'mapp', output : 'Server.Mappath($0)' },
86
+ //Loops
87
+ { input : 'foreach', output : 'For Each $0 in ?\n\t\nNext' },
88
+ { input : 'for', output : 'For $0 to ? step ?\n\t\nNext' },
89
+ { input : 'do', output : 'Do While($0)\n\t\nLoop' },
90
+ { input : 'untilrs', output : 'do until rs.eof\n\t\nrs.movenext\nloop' },
91
+ //ADO
92
+ { input : 'adorec', output : 'Set rs = Server.CreateObject("ADODB.Recordset")' },
93
+ { input : 'adocon', output : 'Set Conn = Server.CreateObject("ADODB.Connection")' },
94
+ { input : 'adostr', output : 'Set oStr = Server.CreateObject("ADODB.Stream")' },
95
+ //Http Request
96
+ { input : 'xmlhttp', output : 'Set xmlHttp = Server.CreateObject("Microsoft.XMLHTTP")\nxmlHttp.open("GET", $0, false)\nxmlHttp.send()\n?=xmlHttp.responseText' },
97
+ { input : 'xmldoc', output : 'Set xmldoc = Server.CreateObject("Microsoft.XMLDOM")\nxmldoc.async=false\nxmldoc.load(request)'},
98
+ //Functions
99
+ { input : 'func', output : 'Function $0()\n\t\n\nEnd Function'},
100
+ { input : 'sub', output : 'Sub $0()\n\t\nEnd Sub'}
101
+
102
+ ]
103
+
104
+ Language.complete = [
105
+ //{ input : '\'', output : '\'$0\'' },
106
+ { input : '"', output : '"$0"' },
107
+ { input : '(', output : '\($0\)' },
108
+ { input : '[', output : '\[$0\]' },
109
+ { input : '{', output : '{\n\t$0\n}' }
110
+ ]
111
+
112
+ Language.shortcuts = [
113
+ { input : '[space]', output : '&nbsp;' },
114
+ { input : '[enter]', output : '<br />' } ,
115
+ { input : '[j]', output : 'testing' },
116
+ { input : '[7]', output : '&amp;' }
117
+ ]
codepress/languages/xsl.css ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress color styles for HTML syntax highlighting
3
+ * By RJ Bruneel
4
+ */
5
+
6
+ b {color:#000080;} /* tags */
7
+ ins, ins b, ins s, ins em {color:gray;} /* comments */
8
+ s, s b {color:#7777e4;} /* attribute values */
9
+ a {color:#E67300;} /* links */
10
+ u {color:#CC66CC;} /* forms */
11
+ big {color:#db0000;} /* images */
12
+ em, em b {color:#800080;} /* style */
13
+ strong {color:#800000;} /* script */
14
+ tt i {color:darkblue;font-weight:bold;} /* script reserved words */
15
+ xsl {color:green;} /* xsl */
codepress/languages/xsl.js ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*
2
+ * CodePress regular expressions for XSL syntax highlighting
3
+ * By RJ Bruneel
4
+ */
5
+
6
+ Language.syntax = [ // XSL
7
+ {
8
+ input : /(&lt;[^!]*?&gt;)/g,
9
+ output : '<b>$1</b>' // all tags
10
+ },{
11
+ input : /(&lt;a.*?&gt;|&lt;\/a&gt;)/g,
12
+ output : '<a>$1</a>' // links
13
+ },{
14
+ input : /(&lt;img .*?&gt;)/g,
15
+ output : '<big>$1</big>' // images
16
+ },{
17
+ input : /(&lt;\/?(button|textarea|form|input|select|option|label).*?&gt;)/g,
18
+ output : '<u>$1</u>' // forms
19
+ },{
20
+ input : /(&lt;style.*?&gt;)(.*?)(&lt;\/style&gt;)/g,
21
+ output : '<em>$1</em><em>$2</em><em>$3</em>' // style tags
22
+ },{
23
+ input : /(&lt;script.*?&gt;)(.*?)(&lt;\/script&gt;)/g,
24
+ output : '<strong>$1</strong><tt>$2</tt><strong>$3</strong>' // script tags
25
+ },{
26
+ input : /(&lt;xsl.*?&gt;|&lt;\/xsl.*?&gt;)/g,
27
+ output : '<xsl>$1</xsl>' // xsl
28
+ },{
29
+ input : /=(".*?")/g,
30
+ output : '=<s>$1</s>' // atributes double quote
31
+ },{
32
+ input : /=('.*?')/g,
33
+ output : '=<s>$1</s>' // atributes single quote
34
+ },{
35
+ input : /(&lt;!--.*?--&gt.)/g,
36
+ output : '<ins>$1</ins>' // comments
37
+ },{
38
+ input : /\b(alert|window|document|break|continue|do|for|new|this|void|case|default|else|function|return|typeof|while|if|label|switch|var|with|catch|boolean|int|try|false|throws|null|true|goto)\b/g,
39
+ output : '<i>$1</i>' // script reserved words
40
+ }
41
+ ];
42
+
43
+ Language.snippets = [
44
+ {input : 'aref', output : '<a href="$0"></a>' },
45
+ {input : 'h1', output : '<h1>$0</h1>' },
46
+ {input : 'h2', output : '<h2>$0</h2>' },
47
+ {input : 'h3', output : '<h3>$0</h3>' },
48
+ {input : 'h4', output : '<h4>$0</h4>' },
49
+ {input : 'h5', output : '<h5>$0</h5>' },
50
+ {input : 'h6', output : '<h6>$0</h6>' },
51
+ {input : 'html', output : '<html>\n\t$0\n</html>' },
52
+ {input : 'head', output : '<head>\n\t<meta http-equiv="content-type" content="text/html; charset=utf-8" />\n\t<title>$0</title>\n\t\n</head>' },
53
+ {input : 'img', output : '<img src="$0" width="" height="" alt="" border="0" />' },
54
+ {input : 'input', output : '<input name="$0" id="" type="" value="" />' },
55
+ {input : 'label', output : '<label for="$0"></label>' },
56
+ {input : 'legend', output : '<legend>\n\t$0\n</legend>' },
57
+ {input : 'link', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
58
+ {input : 'base', output : '<base href="$0" />' },
59
+ {input : 'body', output : '<body>\n\t$0\n</body>' },
60
+ {input : 'css', output : '<link rel="stylesheet" href="$0" type="text/css" media="screen" charset="utf-8" />' },
61
+ {input : 'div', output : '<div>\n\t$0\n</div>' },
62
+ {input : 'divid', output : '<div id="$0">\n\t\n</div>' },
63
+ {input : 'dl', output : '<dl>\n\t<dt>\n\t\t$0\n\t</dt>\n\t<dd></dd>\n</dl>' },
64
+ {input : 'fieldset', output : '<fieldset>\n\t$0\n</fieldset>' },
65
+ {input : 'form', output : '<form action="$0" method="" name="">\n\t\n</form>' },
66
+ {input : 'meta', output : '<meta name="$0" content="" />' },
67
+ {input : 'p', output : '<p>$0</p>' },
68
+ {input : 'b', output : '<b>$0</b>' },
69
+ {input : 'li', output : '<li>$0</li>' },
70
+ {input : 'ul', output : '<ul>$0</ul>' },
71
+ {input : 'ol', output : '<ol>$0</ol>' },
72
+ {input : 'strong', output : '<strong>$0</strong>' },
73
+ {input : 'br', output : '<br />' },
74
+ {input : 'script', output : '<script type="text/javascript" language="javascript" charset="utf-8">\n\t$0\t\n</script>' },
75
+ {input : 'scriptsrc', output : '<script src="$0" type="text/javascript" language="javascript" charset="utf-8"></script>' },
76
+ {input : 'span', output : '<span>$0</span>' },
77
+ {input : 'table', output : '<table border="$0" cellspacing="" cellpadding="">\n\t<tr><th></th></tr>\n\t<tr><td></td></tr>\n</table>' },
78
+ {input : 'style', output : '<style type="text/css" media="screen">\n\t$0\n</style>' },
79
+ {input : 'xsl:stylesheet', output : '<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">' },
80
+ {input : 'xsl:template', output : '<xsl:template>$0</xsl:template>' },
81
+ {input : 'xsl:for-each', output : '<xsl:for-each select="$0"></xsl:for-each>' },
82
+ {input : 'xsl:choose', output : '<xsl:choose>$0<\xsl:choose>' },
83
+ {input : 'xsl:param', output : '<xsl:param name="$0" />' },
84
+ {input : 'xsl:variable', output : '<xsl:variable name="$0"></xsl:variable>' },
85
+ {input : 'xsl:if', output : '<xsl:if test="$0"></xsl:if>' },
86
+ {input : 'xsl:when', output : '<xsl:when test="$0"></xsl:when>' },
87
+ {input : 'xsl:otherwise', output : '<xsl:otherwise>$0</xsl:otherwise>' },
88
+ {input : 'xsl:attribute', output : '<xsl:attribute name="$0"></xsl:attribute>' },
89
+ {input : 'xsl:value-of', output : '<xsl:value-of select="$0"/>' },
90
+ {input : 'xsl:with-param', output : '<xsl:with-param name="$0" select="" />' },
91
+ {input : 'xsl:call-template', output : '<xsl:call-template name="$0">' }
92
+
93
+ ];
94
+
95
+ Language.complete = [ // Auto complete only for 1 character
96
+ {input : '\'',output : '\'$0\'' },
97
+ {input : '"', output : '"$0"' },
98
+ {input : '(', output : '\($0\)' },
99
+ {input : '[', output : '\[$0\]' },
100
+ {input : '{', output : '{\n\t$0\n}' }
101
+ ];
102
+
103
+ Language.shortcuts = [];
codepress/license.txt ADDED
@@ -0,0 +1,458 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ GNU LESSER GENERAL PUBLIC LICENSE
2
+ Version 2.1, February 1999
3
+
4
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ [This is the first released version of the Lesser GPL. It also counts
10
+ as the successor of the GNU Library Public License, version 2, hence
11
+ the version number 2.1.]
12
+
13
+ Preamble
14
+
15
+ The licenses for most software are designed to take away your
16
+ freedom to share and change it. By contrast, the GNU General Public
17
+ Licenses are intended to guarantee your freedom to share and change
18
+ free software--to make sure the software is free for all its users.
19
+
20
+ This license, the Lesser General Public License, applies to some
21
+ specially designated software packages--typically libraries--of the
22
+ Free Software Foundation and other authors who decide to use it. You
23
+ can use it too, but we suggest you first think carefully about whether
24
+ this license or the ordinary General Public License is the better
25
+ strategy to use in any particular case, based on the explanations below.
26
+
27
+ When we speak of free software, we are referring to freedom of use,
28
+ not price. Our General Public Licenses are designed to make sure that
29
+ you have the freedom to distribute copies of free software (and charge
30
+ for this service if you wish); that you receive source code or can get
31
+ it if you want it; that you can change the software and use pieces of
32
+ it in new free programs; and that you are informed that you can do
33
+ these things.
34
+
35
+ To protect your rights, we need to make restrictions that forbid
36
+ distributors to deny you these rights or to ask you to surrender these
37
+ rights. These restrictions translate to certain responsibilities for
38
+ you if you distribute copies of the library or if you modify it.
39
+
40
+ For example, if you distribute copies of the library, whether gratis
41
+ or for a fee, you must give the recipients all the rights that we gave
42
+ you. You must make sure that they, too, receive or can get the source
43
+ code. If you link other code with the library, you must provide
44
+ complete object files to the recipients, so that they can relink them
45
+ with the library after making changes to the library and recompiling
46
+ it. And you must show them these terms so they know their rights.
47
+
48
+ We protect your rights with a two-step method: (1) we copyright the
49
+ library, and (2) we offer you this license, which gives you legal
50
+ permission to copy, distribute and/or modify the library.
51
+
52
+ To protect each distributor, we want to make it very clear that
53
+ there is no warranty for the free library. Also, if the library is
54
+ modified by someone else and passed on, the recipients should know
55
+ that what they have is not the original version, so that the original
56
+ author's reputation will not be affected by problems that might be
57
+ introduced by others.
58
+
59
+ Finally, software patents pose a constant threat to the existence of
60
+ any free program. We wish to make sure that a company cannot
61
+ effectively restrict the users of a free program by obtaining a
62
+ restrictive license from a patent holder. Therefore, we insist that
63
+ any patent license obtained for a version of the library must be
64
+ consistent with the full freedom of use specified in this license.
65
+
66
+ Most GNU software, including some libraries, is covered by the
67
+ ordinary GNU General Public License. This license, the GNU Lesser
68
+ General Public License, applies to certain designated libraries, and
69
+ is quite different from the ordinary General Public License. We use
70
+ this license for certain libraries in order to permit linking those
71
+ libraries into non-free programs.
72
+
73
+ When a program is linked with a library, whether statically or using
74
+ a shared library, the combination of the two is legally speaking a
75
+ combined work, a derivative of the original library. The ordinary
76
+ General Public License therefore permits such linking only if the
77
+ entire combination fits its criteria of freedom. The Lesser General
78
+ Public License permits more lax criteria for linking other code with
79
+ the library.
80
+
81
+ We call this license the "Lesser" General Public License because it
82
+ does Less to protect the user's freedom than the ordinary General
83
+ Public License. It also provides other free software developers Less
84
+ of an advantage over competing non-free programs. These disadvantages
85
+ are the reason we use the ordinary General Public License for many
86
+ libraries. However, the Lesser license provides advantages in certain
87
+ special circumstances.
88
+
89
+ For example, on rare occasions, there may be a special need to
90
+ encourage the widest possible use of a certain library, so that it becomes
91
+ a de-facto standard. To achieve this, non-free programs must be
92
+ allowed to use the library. A more frequent case is that a free
93
+ library does the same job as widely used non-free libraries. In this
94
+ case, there is little to gain by limiting the free library to free
95
+ software only, so we use the Lesser General Public License.
96
+
97
+ In other cases, permission to use a particular library in non-free
98
+ programs enables a greater number of people to use a large body of
99
+ free software. For example, permission to use the GNU C Library in
100
+ non-free programs enables many more people to use the whole GNU
101
+ operating system, as well as its variant, the GNU/Linux operating
102
+ system.
103
+
104
+ Although the Lesser General Public License is Less protective of the
105
+ users' freedom, it does ensure that the user of a program that is
106
+ linked with the Library has the freedom and the wherewithal to run
107
+ that program using a modified version of the Library.
108
+
109
+ The precise terms and conditions for copying, distribution and
110
+ modification follow. Pay close attention to the difference between a
111
+ "work based on the library" and a "work that uses the library". The
112
+ former contains code derived from the library, whereas the latter must
113
+ be combined with the library in order to run.
114
+
115
+ GNU LESSER GENERAL PUBLIC LICENSE
116
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117
+
118
+ 0. This License Agreement applies to any software library or other
119
+ program which contains a notice placed by the copyright holder or
120
+ other authorized party saying it may be distributed under the terms of
121
+ this Lesser General Public License (also called "this License").
122
+ Each licensee is addressed as "you".
123
+
124
+ A "library" means a collection of software functions and/or data
125
+ prepared so as to be conveniently linked with application programs
126
+ (which use some of those functions and data) to form executables.
127
+
128
+ The "Library", below, refers to any such software library or work
129
+ which has been distributed under these terms. A "work based on the
130
+ Library" means either the Library or any derivative work under
131
+ copyright law: that is to say, a work containing the Library or a
132
+ portion of it, either verbatim or with modifications and/or translated
133
+ straightforwardly into another language. (Hereinafter, translation is
134
+ included without limitation in the term "modification".)
135
+
136
+ "Source code" for a work means the preferred form of the work for
137
+ making modifications to it. For a library, complete source code means
138
+ all the source code for all modules it contains, plus any associated
139
+ interface definition files, plus the scripts used to control compilation
140
+ and installation of the library.
141
+
142
+ Activities other than copying, distribution and modification are not
143
+ covered by this License; they are outside its scope. The act of
144
+ running a program using the Library is not restricted, and output from
145
+ such a program is covered only if its contents constitute a work based
146
+ on the Library (independent of the use of the Library in a tool for
147
+ writing it). Whether that is true depends on what the Library does
148
+ and what the program that uses the Library does.
149
+
150
+ 1. You may copy and distribute verbatim copies of the Library's
151
+ complete source code as you receive it, in any medium, provided that
152
+ you conspicuously and appropriately publish on each copy an
153
+ appropriate copyright notice and disclaimer of warranty; keep intact
154
+ all the notices that refer to this License and to the absence of any
155
+ warranty; and distribute a copy of this License along with the
156
+ Library.
157
+
158
+ You may charge a fee for the physical act of transferring a copy,
159
+ and you may at your option offer warranty protection in exchange for a
160
+ fee.
161
+
162
+ 2. You may modify your copy or copies of the Library or any portion
163
+ of it, thus forming a work based on the Library, and copy and
164
+ distribute such modifications or work under the terms of Section 1
165
+ above, provided that you also meet all of these conditions:
166
+
167
+ a) The modified work must itself be a software library.
168
+
169
+ b) You must cause the files modified to carry prominent notices
170
+ stating that you changed the files and the date of any change.
171
+
172
+ c) You must cause the whole of the work to be licensed at no
173
+ charge to all third parties under the terms of this License.
174
+
175
+ d) If a facility in the modified Library refers to a function or a
176
+ table of data to be supplied by an application program that uses
177
+ the facility, other than as an argument passed when the facility
178
+ is invoked, then you must make a good faith effort to ensure that,
179
+ in the event an application does not supply such function or
180
+ table, the facility still operates, and performs whatever part of
181
+ its purpose remains meaningful.
182
+
183
+ (For example, a function in a library to compute square roots has
184
+ a purpose that is entirely well-defined independent of the
185
+ application. Therefore, Subsection 2d requires that any
186
+ application-supplied function or table used by this function must
187
+ be optional: if the application does not supply it, the square
188
+ root function must still compute square roots.)
189
+
190
+ These requirements apply to the modified work as a whole. If
191
+ identifiable sections of that work are not derived from the Library,
192
+ and can be reasonably considered independent and separate works in
193
+ themselves, then this License, and its terms, do not apply to those
194
+ sections when you distribute them as separate works. But when you
195
+ distribute the same sections as part of a whole which is a work based
196
+ on the Library, the distribution of the whole must be on the terms of
197
+ this License, whose permissions for other licensees extend to the
198
+ entire whole, and thus to each and every part regardless of who wrote
199
+ it.
200
+
201
+ Thus, it is not the intent of this section to claim rights or contest
202
+ your rights to work written entirely by you; rather, the intent is to
203
+ exercise the right to control the distribution of derivative or
204
+ collective works based on the Library.
205
+
206
+ In addition, mere aggregation of another work not based on the Library
207
+ with the Library (or with a work based on the Library) on a volume of
208
+ a storage or distribution medium does not bring the other work under
209
+ the scope of this License.
210
+
211
+ 3. You may opt to apply the terms of the ordinary GNU General Public
212
+ License instead of this License to a given copy of the Library. To do
213
+ this, you must alter all the notices that refer to this License, so
214
+ that they refer to the ordinary GNU General Public License, version 2,
215
+ instead of to this License. (If a newer version than version 2 of the
216
+ ordinary GNU General Public License has appeared, then you can specify
217
+ that version instead if you wish.) Do not make any other change in
218
+ these notices.
219
+
220
+ Once this change is made in a given copy, it is irreversible for
221
+ that copy, so the ordinary GNU General Public License applies to all
222
+ subsequent copies and derivative works made from that copy.
223
+
224
+ This option is useful when you wish to copy part of the code of
225
+ the Library into a program that is not a library.
226
+
227
+ 4. You may copy and distribute the Library (or a portion or
228
+ derivative of it, under Section 2) in object code or executable form
229
+ under the terms of Sections 1 and 2 above provided that you accompany
230
+ it with the complete corresponding machine-readable source code, which
231
+ must be distributed under the terms of Sections 1 and 2 above on a
232
+ medium customarily used for software interchange.
233
+
234
+ If distribution of object code is made by offering access to copy
235
+ from a designated place, then offering equivalent access to copy the
236
+ source code from the same place satisfies the requirement to
237
+ distribute the source code, even though third parties are not
238
+ compelled to copy the source along with the object code.
239
+
240
+ 5. A program that contains no derivative of any portion of the
241
+ Library, but is designed to work with the Library by being compiled or
242
+ linked with it, is called a "work that uses the Library". Such a
243
+ work, in isolation, is not a derivative work of the Library, and
244
+ therefore falls outside the scope of this License.
245
+
246
+ However, linking a "work that uses the Library" with the Library
247
+ creates an executable that is a derivative of the Library (because it
248
+ contains portions of the Library), rather than a "work that uses the
249
+ library". The executable is therefore covered by this License.
250
+ Section 6 states terms for distribution of such executables.
251
+
252
+ When a "work that uses the Library" uses material from a header file
253
+ that is part of the Library, the object code for the work may be a
254
+ derivative work of the Library even though the source code is not.
255
+ Whether this is true is especially significant if the work can be
256
+ linked without the Library, or if the work is itself a library. The
257
+ threshold for this to be true is not precisely defined by law.
258
+
259
+ If such an object file uses only numerical parameters, data
260
+ structure layouts and accessors, and small macros and small inline
261
+ functions (ten lines or less in length), then the use of the object
262
+ file is unrestricted, regardless of whether it is legally a derivative
263
+ work. (Executables containing this object code plus portions of the
264
+ Library will still fall under Section 6.)
265
+
266
+ Otherwise, if the work is a derivative of the Library, you may
267
+ distribute the object code for the work under the terms of Section 6.
268
+ Any executables containing that work also fall under Section 6,
269
+ whether or not they are linked directly with the Library itself.
270
+
271
+ 6. As an exception to the Sections above, you may also combine or
272
+ link a "work that uses the Library" with the Library to produce a
273
+ work containing portions of the Library, and distribute that work
274
+ under terms of your choice, provided that the terms permit
275
+ modification of the work for the customer's own use and reverse
276
+ engineering for debugging such modifications.
277
+
278
+ You must give prominent notice with each copy of the work that the
279
+ Library is used in it and that the Library and its use are covered by
280
+ this License. You must supply a copy of this License. If the work
281
+ during execution displays copyright notices, you must include the
282
+ copyright notice for the Library among them, as well as a reference
283
+ directing the user to the copy of this License. Also, you must do one
284
+ of these things:
285
+
286
+ a) Accompany the work with the complete corresponding
287
+ machine-readable source code for the Library including whatever
288
+ changes were used in the work (which must be distributed under
289
+ Sections 1 and 2 above); and, if the work is an executable linked
290
+ with the Library, with the complete machine-readable "work that
291
+ uses the Library", as object code and/or source code, so that the
292
+ user can modify the Library and then relink to produce a modified
293
+ executable containing the modified Library. (It is understood
294
+ that the user who changes the contents of definitions files in the
295
+ Library will not necessarily be able to recompile the application
296
+ to use the modified definitions.)
297
+
298
+ b) Use a suitable shared library mechanism for linking with the
299
+ Library. A suitable mechanism is one that (1) uses at run time a
300
+ copy of the library already present on the user's computer system,
301
+ rather than copying library functions into the executable, and (2)
302
+ will operate properly with a modified version of the library, if
303
+ the user installs one, as long as the modified version is
304
+ interface-compatible with the version that the work was made with.
305
+
306
+ c) Accompany the work with a written offer, valid for at
307
+ least three years, to give the same user the materials
308
+ specified in Subsection 6a, above, for a charge no more
309
+ than the cost of performing this distribution.
310
+
311
+ d) If distribution of the work is made by offering access to copy
312
+ from a designated place, offer equivalent access to copy the above
313
+ specified materials from the same place.
314
+
315
+ e) Verify that the user has already received a copy of these
316
+ materials or that you have already sent this user a copy.
317
+
318
+ For an executable, the required form of the "work that uses the
319
+ Library" must include any data and utility programs needed for
320
+ reproducing the executable from it. However, as a special exception,
321
+ the materials to be distributed need not include anything that is
322
+ normally distributed (in either source or binary form) with the major
323
+ components (compiler, kernel, and so on) of the operating system on
324
+ which the executable runs, unless that component itself accompanies
325
+ the executable.
326
+
327
+ It may happen that this requirement contradicts the license
328
+ restrictions of other proprietary libraries that do not normally
329
+ accompany the operating system. Such a contradiction means you cannot
330
+ use both them and the Library together in an executable that you
331
+ distribute.
332
+
333
+ 7. You may place library facilities that are a work based on the
334
+ Library side-by-side in a single library together with other library
335
+ facilities not covered by this License, and distribute such a combined
336
+ library, provided that the separate distribution of the work based on
337
+ the Library and of the other library facilities is otherwise
338
+ permitted, and provided that you do these two things:
339
+
340
+ a) Accompany the combined library with a copy of the same work
341
+ based on the Library, uncombined with any other library
342
+ facilities. This must be distributed under the terms of the
343
+ Sections above.
344
+
345
+ b) Give prominent notice with the combined library of the fact
346
+ that part of it is a work based on the Library, and explaining
347
+ where to find the accompanying uncombined form of the same work.
348
+
349
+ 8. You may not copy, modify, sublicense, link with, or distribute
350
+ the Library except as expressly provided under this License. Any
351
+ attempt otherwise to copy, modify, sublicense, link with, or
352
+ distribute the Library is void, and will automatically terminate your
353
+ rights under this License. However, parties who have received copies,
354
+ or rights, from you under this License will not have their licenses
355
+ terminated so long as such parties remain in full compliance.
356
+
357
+ 9. You are not required to accept this License, since you have not
358
+ signed it. However, nothing else grants you permission to modify or
359
+ distribute the Library or its derivative works. These actions are
360
+ prohibited by law if you do not accept this License. Therefore, by
361
+ modifying or distributing the Library (or any work based on the
362
+ Library), you indicate your acceptance of this License to do so, and
363
+ all its terms and conditions for copying, distributing or modifying
364
+ the Library or works based on it.
365
+
366
+ 10. Each time you redistribute the Library (or any work based on the
367
+ Library), the recipient automatically receives a license from the
368
+ original licensor to copy, distribute, link with or modify the Library
369
+ subject to these terms and conditions. You may not impose any further
370
+ restrictions on the recipients' exercise of the rights granted herein.
371
+ You are not responsible for enforcing compliance by third parties with
372
+ this License.
373
+
374
+ 11. If, as a consequence of a court judgment or allegation of patent
375
+ infringement or for any other reason (not limited to patent issues),
376
+ conditions are imposed on you (whether by court order, agreement or
377
+ otherwise) that contradict the conditions of this License, they do not
378
+ excuse you from the conditions of this License. If you cannot
379
+ distribute so as to satisfy simultaneously your obligations under this
380
+ License and any other pertinent obligations, then as a consequence you
381
+ may not distribute the Library at all. For example, if a patent
382
+ license would not permit royalty-free redistribution of the Library by
383
+ all those who receive copies directly or indirectly through you, then
384
+ the only way you could satisfy both it and this License would be to
385
+ refrain entirely from distribution of the Library.
386
+
387
+ If any portion of this section is held invalid or unenforceable under any
388
+ particular circumstance, the balance of the section is intended to apply,
389
+ and the section as a whole is intended to apply in other circumstances.
390
+
391
+ It is not the purpose of this section to induce you to infringe any
392
+ patents or other property right claims or to contest validity of any
393
+ such claims; this section has the sole purpose of protecting the
394
+ integrity of the free software distribution system which is
395
+ implemented by public license practices. Many people have made
396
+ generous contributions to the wide range of software distributed
397
+ through that system in reliance on consistent application of that
398
+ system; it is up to the author/donor to decide if he or she is willing
399
+ to distribute software through any other system and a licensee cannot
400
+ impose that choice.
401
+
402
+ This section is intended to make thoroughly clear what is believed to
403
+ be a consequence of the rest of this License.
404
+
405
+ 12. If the distribution and/or use of the Library is restricted in
406
+ certain countries either by patents or by copyrighted interfaces, the
407
+ original copyright holder who places the Library under this License may add
408
+ an explicit geographical distribution limitation excluding those countries,
409
+ so that distribution is permitted only in or among countries not thus
410
+ excluded. In such case, this License incorporates the limitation as if
411
+ written in the body of this License.
412
+
413
+ 13. The Free Software Foundation may publish revised and/or new
414
+ versions of the Lesser General Public License from time to time.
415
+ Such new versions will be similar in spirit to the present version,
416
+ but may differ in detail to address new problems or concerns.
417
+
418
+ Each version is given a distinguishing version number. If the Library
419
+ specifies a version number of this License which applies to it and
420
+ "any later version", you have the option of following the terms and
421
+ conditions either of that version or of any later version published by
422
+ the Free Software Foundation. If the Library does not specify a
423
+ license version number, you may choose any version ever published by
424
+ the Free Software Foundation.
425
+
426
+ 14. If you wish to incorporate parts of the Library into other free
427
+ programs whose distribution conditions are incompatible with these,
428
+ write to the author to ask for permission. For software which is
429
+ copyrighted by the Free Software Foundation, write to the Free
430
+ Software Foundation; we sometimes make exceptions for this. Our
431
+ decision will be guided by the two goals of preserving the free status
432
+ of all derivatives of our free software and of promoting the sharing
433
+ and reuse of software generally.
434
+
435
+ NO WARRANTY
436
+
437
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438
+ WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439
+ EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440
+ OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441
+ KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444
+ LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445
+ THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446
+
447
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448
+ WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449
+ AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450
+ FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451
+ CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452
+ LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453
+ RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454
+ FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455
+ SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456
+ DAMAGES.
457
+
458
+ END OF TERMS AND CONDITIONS
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>&nbsp;
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
- &nbsp;<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
- &nbsp;<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>&nbsp;
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
+ &nbsp;<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
+ &nbsp;<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">&nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
127
- case</label>
128
- <br>
129
- &nbsp;<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">&nbsp;<input id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase" fckLang="DlgMyReplaceCaseChk">Match
127
+ case</label>
128
+ <br>
129
+ &nbsp;<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 CHANGED
@@ -1,34 +1,34 @@
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>
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/package.bat CHANGED
@@ -1,26 +1,26 @@
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 ../../ .
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 CHANGED
@@ -1,26 +1,26 @@
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 ../../
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 CHANGED
@@ -1,58 +1,58 @@
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>
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/asp/sample01.asp CHANGED
@@ -1,62 +1,62 @@
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>
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 CHANGED
@@ -1,108 +1,108 @@
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:&nbsp;
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>
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:&nbsp;
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 CHANGED
@@ -1,92 +1,92 @@
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:&nbsp;
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>
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:&nbsp;
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 CHANGED
@@ -1,98 +1,98 @@
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:&nbsp;
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>
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:&nbsp;
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 CHANGED
@@ -1,56 +1,56 @@
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>
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 CHANGED
@@ -1,63 +1,63 @@
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">
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 CHANGED
@@ -1,67 +1,67 @@
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">
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 CHANGED
@@ -1,110 +1,110 @@
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:&nbsp;
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">
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:&nbsp;
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 CHANGED
@@ -1,114 +1,114 @@
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:&nbsp;
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">
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:&nbsp;
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 CHANGED
@@ -1,95 +1,95 @@
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:&nbsp;
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">
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:&nbsp;
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 CHANGED
@@ -1,95 +1,95 @@
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:&nbsp;
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">
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:&nbsp;
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 CHANGED
@@ -1,100 +1,100 @@
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:&nbsp;
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">
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:&nbsp;
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 CHANGED
@@ -1,101 +1,101 @@
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:&nbsp;
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">
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:&nbsp;
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 CHANGED
@@ -1,68 +1,68 @@
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>
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 CHANGED
@@ -1,49 +1,49 @@
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 ) ;
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 CHANGED
@@ -1,69 +1,69 @@
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>
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 CHANGED
@@ -1,121 +1,121 @@
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
- } ;
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 CHANGED
@@ -1,228 +1,228 @@
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
- }
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 CHANGED
@@ -1,92 +1,92 @@
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
- } ;
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 CHANGED
@@ -1,92 +1,92 @@
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 ;
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/swfobject.js CHANGED
@@ -1,18 +1,18 @@
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;
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 CHANGED
@@ -1,59 +1,59 @@
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>
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 CHANGED
@@ -1,63 +1,63 @@
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">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.&lt;/p&gt;</textarea>
58
- </div>
59
- <br />
60
- <input type="submit" value="Submit" />
61
- </form>
62
- </body>
63
- </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
+ * 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">&lt;p&gt;This is some &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.&lt;/p&gt;</textarea>
58
+ </div>
59
+ <br />
60
+ <input type="submit" value="Submit" />
61
+ </form>
62
+ </body>
63
+ </html>
fckeditor/_samples/html/sample03.html CHANGED
@@ -1,140 +1,140 @@
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:&nbsp;
96
- </td>
97
- <td>
98
- <select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
99
- <option>&nbsp;</option>
100
- </select>
101
- </td>
102
- <td>
103
- &nbsp;<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>
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:&nbsp;
96
+ </td>
97
+ <td>
98
+ <select id="cmbLanguages" onchange="ChangeLanguage(this.value);">
99
+ <option>&nbsp;</option>
100
+ </select>
101
+ </td>
102
+ <td>
103
+ &nbsp;<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 CHANGED
@@ -1,95 +1,95 @@
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:&nbsp;
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>
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:&nbsp;
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 CHANGED
@@ -1,125 +1,125 @@
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:&nbsp;
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>
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:&nbsp;
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 CHANGED
@@ -1,73 +1,73 @@
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>
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 CHANGED
@@ -1,59 +1,59 @@
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 &lt;HTML&gt;
37
- to &lt;/HTML&gt;).
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>
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 &lt;HTML&gt;
37
+ to &lt;/HTML&gt;).
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 CHANGED
@@ -1,196 +1,196 @@
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
- &nbsp;
170
- </div>
171
- <hr />
172
- <div id="eMessage">
173
- &nbsp;
174
- </div>
175
- <div>
176
- &nbsp;
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>
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
+ &nbsp;
170
+ </div>
171
+ <hr />
172
+ <div id="eMessage">
173
+ &nbsp;
174
+ </div>
175
+ <div>
176
+ &nbsp;
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 CHANGED
@@ -1,100 +1,100 @@
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>
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 CHANGED
@@ -1,79 +1,79 @@
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>
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 CHANGED
@@ -1,43 +1,43 @@
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>
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 CHANGED
@@ -1,124 +1,124 @@
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:&nbsp;
56
- </td>
57
- <td>
58
- <select id="xEnter" onchange="ChangeMode();">
59
- <option value="p" selected="selected">Create new &lt;P&gt;</option>
60
- <option value="div">Create new &lt;DIV&gt;</option>
61
- <option value="br">Break the line with a &lt;BR&gt;</option>
62
- </select>
63
- </td>
64
- </tr>
65
- <tr>
66
- <td>
67
- When [Shift] + [Enter] is pressed:&nbsp;
68
- </td>
69
- <td>
70
- <select id="xShiftEnter" onchange="ChangeMode();">
71
- <option value="p">Create new &lt;P&gt;</option>
72
- <option value="div">Create new &lt;DIV&gt;</option>
73
- <option value="br" selected="selected">Break the line with a &lt;BR&gt;</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>
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:&nbsp;
56
+ </td>
57
+ <td>
58
+ <select id="xEnter" onchange="ChangeMode();">
59
+ <option value="p" selected="selected">Create new &lt;P&gt;</option>
60
+ <option value="div">Create new &lt;DIV&gt;</option>
61
+ <option value="br">Break the line with a &lt;BR&gt;</option>
62
+ </select>
63
+ </td>
64
+ </tr>
65
+ <tr>
66
+ <td>
67
+ When [Shift] + [Enter] is pressed:&nbsp;
68
+ </td>
69
+ <td>
70
+ <select id="xShiftEnter" onchange="ChangeMode();">
71
+ <option value="p">Create new &lt;P&gt;</option>
72
+ <option value="div">Create new &lt;DIV&gt;</option>
73
+ <option value="br" selected="selected">Break the line with a &lt;BR&gt;</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 CHANGED
@@ -1,148 +1,148 @@
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 &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.</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>
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 &lt;strong&gt;sample text&lt;/strong&gt;. You are using &lt;a href="http://www.fckeditor.net/"&gt;FCKeditor&lt;/a&gt;.</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 CHANGED
@@ -1,66 +1,66 @@
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 &lt;font&gt; and &lt;u&gt; 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>
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 &lt;font&gt; and &lt;u&gt; 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 CHANGED
@@ -1,66 +1,66 @@
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 &lt;b&gt;, &lt;i&gt;, and &lt;font&gt; are used in place of
39
- &lt;strong&gt;, &lt;em&gt; 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>
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 &lt;b&gt;, &lt;i&gt;, and &lt;font&gt; are used in place of
39
+ &lt;strong&gt;, &lt;em&gt; 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 CHANGED
@@ -1,91 +1,91 @@
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>
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/perl/sample01.cgi CHANGED
@@ -1,117 +1,117 @@
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
- }
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 CHANGED
@@ -1,182 +1,182 @@
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:&nbsp;
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
- }
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:&nbsp;
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 CHANGED
@@ -1,167 +1,167 @@
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:&nbsp;
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
- }
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:&nbsp;
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 CHANGED
@@ -1,174 +1,174 @@
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:&nbsp;
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
- }
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:&nbsp;
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 CHANGED
@@ -1,107 +1,107 @@
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_
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:&nbsp;
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:&nbsp;
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:&nbsp;
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:&nbsp;
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:&nbsp;
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:&nbsp;
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 CHANGED
@@ -1,80 +1,80 @@
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
- """
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 CHANGED
@@ -1,88 +1,88 @@
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
- """
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 &amp;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 &gt; 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 &amp;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 &gt; 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 &amp;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 &lt;br&gt; 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 &lt;PRE&gt;
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 &lt;p&gt; 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 &lt;img &gt; instead of &lt;img /&gt;).</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 &lt;span class=&quot;Apple-style-span&quot;&gt; 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 &lt;head&gt; (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 "&lt;?=" to "&lt;? 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 &lt;object&gt;
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 &lt;strong&gt;
333
- and &lt;em&gt; instead of &lt;b&gt; and &lt;i&gt;.</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 &lt;style&gt; 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 &lt;OBJECT&gt; and &lt;EMBED&gt; 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 &lt;EMBED&gt; 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/|&lt;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
- &lt;li&gt; elements now get properly enclosed in a &lt;ul&gt; 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 &lt;button&gt; 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 &lt;div&gt; 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 &lt;o:p&gt; 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: "?&gt;", 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 &amp;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 &lt;PRE&gt;
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) &lt;textarea&gt; 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 &lt;pre&gt; 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 &lt;pre&gt; 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 &lt;style&gt;
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 &lt;area&gt; and &lt;map&gt; 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 &lt;BR&gt; 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 &lt;b&gt;, &lt;strong&gt;, &lt;span class...&gt;,
749
- &lt;span style...&gt; 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 &lt;font&gt; 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 &quot;Remove All&quot; button, by using the &quot;<b>RemoveFormatTags</b>&quot;
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 &lt;blockquote&gt; 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
- (&amp;, &lt; and &gt;) 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
- &lt;form&gt; or &lt;hr&gt; inside &lt;p&gt;. &nbsp;</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 &lt;!--{PS..x}&gt; 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 &lt;area&gt; 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 &lt;pre&gt; blocks:
931
- <ol>
932
- <li>Leading whitespaces and line breaks in &lt;pre&gt; blocks are trimmed when the user
933
- switches between editor mode and source mode;</li>
934
- <li>Pressing Enter inside a &lt;pre&gt; 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 &lt;pre&gt; blocks entered in source mode are being turned
937
- into &lt;br&gt; 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 &lt;br&gt; 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 &lt;ol&gt;
1004
- or &lt;ul&gt; must be &lt;li&gt; nodes;</li>
1005
- <li>IE editor hacks like &lt;ul type=&quot;1&quot;&gt; will no longer appear;</li>
1006
- <li>Excessive &lt;div&gt; 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 &lt;br&gt; 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 &lt;div&gt; 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 &lt;style&gt; 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 &lt;pre&gt; 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 &quot;Automatic&quot; and &quot;More Colors...&quot; 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 &quot;Paste as plain text&quot; 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 &lt;p&gt;
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>] &lt;col&gt;
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 &lt;meta&gt; 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 &lt;meta&gt; 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 &lt;marquee&gt;
1172
- element will no longer append unwanted &lt;p&gt;&amp;nbsp;&lt;/p&gt; 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 &lt;br&gt; 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>] &lt;object&gt; and &lt;embed&gt;
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 &amp;, &lt;
1229
- and &gt;.</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 &lt;xml&gt;
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 &lt;br&gt; 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 "&lt;p&gt;" where making the caret disappear in Firefox.</li>
1352
- <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99</a>] The &lt;div&gt;
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>&lt;p&gt;, &lt;div&gt; or &lt;br&gt;</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, &lt;style&gt; 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".&nbsp; 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&amp;aid=1421309&amp;group_id=75348&amp;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 &lt;head&gt;
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 &lt;abbr&gt; 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>] &lt;noscript&gt; 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 &lt;a&gt; or empty "src" in &lt;img&gt;
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 &lt;script&gt; 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 &lt;base&gt; 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 &lt;Not Set&gt; 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
- &lt;pre&gt; 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&amp;aid=1454850&amp;group_id=75348&amp;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 &quot;Text Color&quot; and &quot;Background Color&quot; 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>&quot;Auto Grow&quot; 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&amp;aid=1444943&amp;group_id=75348&amp;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 &lt;EditorInstance&gt;.ToolbarSet.Load( '&lt;ToolbarName&gt;' ). See _testcases/010.html
1957
- for a sample. </li>
1958
- <li>The &quot;OnBlur&quot; and &quot;OnFocus&quot; 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&amp;aid=1399966&amp;group_id=75348&amp;atid=543653">SF
1971
- BUG-1399966</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1249853&amp;group_id=75348&amp;atid=543653">SF
1972
- BUG-1249853</a>] The &quot;BaseHref&quot; 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&amp;aid=1405263&amp;group_id=75348&amp;atid=543653">SF
1975
- BUG-1405263</a>] A typo in the configuration file was impacting the Quick Upload
1976
- feature. </li>
1977
- <li>Nested &lt;ul&gt; and &lt;ol&gt; tags are now generating valid html.</li>
1978
- <li>The &quot;wmode&quot; and &quot;quality&quot; 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 &quot;:&quot;,
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&amp;aid=1465203&amp;group_id=75348&amp;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&amp;aid=1456332&amp;group_id=75348&amp;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&amp;aid=1457078&amp;group_id=75348&amp;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&amp;aid=1459846&amp;group_id=75348&amp;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&amp;aid=1432120&amp;group_id=75348&amp;atid=543653">SF
2002
- BUG-1432120</a>] The &quot;UserFilesAbsolutePath&quot; 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&amp;aid=1432120&amp;group_id=75348&amp;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&amp;aid=1410082&amp;group_id=75348&amp;atid=543653">SF
2008
- BUG-1410082</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1424240&amp;group_id=75348&amp;atid=543653">SF
2009
- BUG-1424240</a>] The &quot;moz-bindings.xml&quot; file is now well formed. </li>
2010
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1413980&amp;group_id=75348&amp;atid=543653">SF
2011
- BUG-1413980</a>] All frameborder &quot;yes/no&quot; values have been changes to
2012
- &quot;1/0&quot;. </li>
2013
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1414101&amp;group_id=75348&amp;atid=543653">SF
2014
- BUG-1414101</a>] The fake table borders are now showing correctly when running under
2015
- the &quot;file://&quot; protocol. </li>
2016
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1414155&amp;group_id=75348&amp;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 &lt;br /&gt; and
2033
- &lt;hr /&gt; 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 &quot;<strong>Uploader</strong>&quot;, used for quick uploads,&nbsp;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 &quot;/FCKeditor&quot;
2058
- directory.</li>
2059
- </ul>
2060
- </li>
2061
- <li>And a big welcome also to &quot;Andrew Liu&quot;, 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 &quot;<strong>IsDirty()</strong>&quot; and &quot;<strong>ResetIsDirty()</strong>&quot;
2065
- functions have been&nbsp;added to the&nbsp;JavaScript API&nbsp;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&scaron;)</li>
2071
- </ul>
2072
- </li>
2073
- <li>For&nbsp;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&amp;aid=1325113&amp;group_id=75348&amp;atid=543653">SF
2076
- BUG-1325113</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1277661&amp;group_id=75348&amp;atid=543653">SF
2077
- BUG-1277661</a>] The new &quot;Delete Table&quot; command is available in the
2078
- Context Menu when right-clicking inside a table. </li>
2079
- <li>The &quot;FCKConfig.DisableTableHandles&quot; configuration option is now working
2080
- on Firefox 1.5. </li>
2081
- <li>The new &quot;<strong>OnBlur</strong>&quot; and &quot;<strong>OnFocus</strong>&quot;
2082
- events have been added to the JavaScript API (IE only). See&nbsp;&quot;_samples/html/sample09.html&quot;&nbsp;*
2083
- </li>
2084
- <li><strong><font color="#ff0000">Attention</font></strong>: The &quot;<strong>GetHTML</strong>&quot;
2085
- function has been deprecated. It now returns the same value as &quot;<strong>GetXHTML</strong>&quot;.
2086
- The same is valid for the &quot;EnableXHTML&quot; and &quot;EnableSourceXHTML&quot;
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 &quot;<strong>PreserveSessionOnFileBrowser</strong>&quot;
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 &quot;<strong>fun</strong>&quot;
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 &quot;<strong>mcpuk</strong>&quot;
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 &quot;SpecialCharsOut&quot; and &quot;SpecialCharsOver&quot;
2103
- in the &quot;fck_dialog.css&quot; skin file.* </li>
2104
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1268726&amp;group_id=75348&amp;atid=543655">SF
2105
- Patch-1268726</a>] Added table &quot;summary&quot; 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&amp;aid=1284380&amp;group_id=75348&amp;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&amp;aid=1338610&amp;group_id=75348&amp;atid=543655">SF
2112
- Patch-1338610</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1263009&amp;group_id=75348&amp;atid=543656">SF
2113
- Patch-1263009</a>] New characters have been added to the &quot;Special Characters&quot;
2114
- dialog window. Thanks to Deian. </li>
2115
- <li>You can set the QueryString value &quot;fckdebug=true&quot; to activate &quot;debug
2116
- mode&quot; in the editor (showing the debug window), overriding the configurations.
2117
- The &quot;AllowQueryStringDebug&quot; 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&amp;aid=1363548&amp;group_id=75348&amp;atid=543653">SF
2124
- BUG-1363548</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1364425&amp;group_id=75348&amp;atid=543653">SF
2125
- BUG-1364425</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1335045&amp;group_id=75348&amp;atid=543653">SF
2126
- BUG-1335045</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1289661&amp;group_id=75348&amp;atid=543653">SF
2127
- BUG-1289661</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1225370&amp;group_id=75348&amp;atid=543653">SF
2128
- BUG-1225370</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1156291&amp;group_id=75348&amp;atid=543653">SF
2129
- BUG-1156291</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1165914&amp;group_id=75348&amp;atid=543653">SF
2130
- BUG-1165914</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1111877&amp;group_id=75348&amp;atid=543653">SF
2131
- BUG-1111877</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1092373&amp;group_id=75348&amp;atid=543653">SF
2132
- BUG-1092373</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1101596&amp;group_id=75348&amp;atid=543653">SF
2133
- BUG-1101596</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1246952&amp;group_id=75348&amp;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&amp;aid=1162809&amp;group_id=75348&amp;atid=543653">SF
2138
- BUG-1162809</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1205638&amp;group_id=75348&amp;atid=543653">SF
2139
- BUG-1205638</a>] The &quot;Image&quot; and &quot;Flash&quot;&nbsp;dialog windows
2140
- now loads the preview correctly if the &quot;BaseHref&quot; configuration option
2141
- is set. </li>
2142
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1329807&amp;group_id=75348&amp;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 &quot;Panel&quot; 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&amp;aid=1186927&amp;group_id=75348&amp;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&amp;aid=1076435&amp;group_id=75348&amp;atid=543653">SF
2157
- BUG-1076435</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1200631&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=1364094&amp;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&amp;atid=543653&amp;aid=1315954&amp;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&amp;aid=1341553&amp;group_id=75348&amp;atid=543653">SF
2169
- BUG-1341553</a>] A small fix for a security alert in the File&nbsp;Browser has been
2170
- applied. </li>
2171
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1370953&amp;group_id=75348&amp;atid=543653">SF
2172
- BUG-1370953</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1339898&amp;group_id=75348&amp;atid=543653">SF
2173
- BUG-1339898</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1323319&amp;group_id=75348&amp;atid=543653">SF
2174
- BUG-1323319</a>] A message will be shown to the user (instead of a JS error)&nbsp;if
2175
- a &quot;popup blocker&quot; blocks the &quot;Browser Server&quot; button. Thanks
2176
- to Erwin Verdonk. </li>
2177
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1370355&amp;group_id=75348&amp;atid=543653">SF
2178
- BUG-1370355</a>] Anchor links that points to a single character anchor, like &quot;#A&quot;,
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&amp;aid=1368998&amp;group_id=75348&amp;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&amp;aid=1367802&amp;group_id=75348&amp;atid=543653">SF
2184
- BUG-1367802</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1207740&amp;group_id=75348&amp;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&amp;aid=1358891&amp;group_id=75348&amp;atid=543653">SF
2188
- BUG-1358891</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1340960&amp;group_id=75348&amp;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&amp;aid=1357247&amp;group_id=75348&amp;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&amp;aid=1328488&amp;group_id=75348&amp;atid=543653">SF
2194
- BUG-1328488</a>] <strong><font color="#ff0000">Attention</font></strong>: The Page
2195
- Break command now produces different tags&nbsp;to avoid&nbsp;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&nbsp;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&amp;aid=1336792&amp;group_id=75348&amp;atid=543653">SF
2203
- BUG-1336792</a>] A fix has been applied to the XHTML processor to allow tag names
2204
- with the &quot;minus&quot; char (-). </li>
2205
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1339560&amp;group_id=75348&amp;atid=543653">SF
2206
- BUG-1339560</a>] The editor now correctly removes the &quot;selected&quot; 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&nbsp;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&amp;aid=1360717&amp;group_id=75348&amp;atid=543653">SF
2219
- BUG-1360717</a>] A wrapping issue in the &quot;Silver&quot; skin has been corrected.
2220
- Thanks to Ricky Casey. </li>
2221
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1251145&amp;group_id=75348&amp;atid=543653">SF
2222
- BUG-1251145</a>] In IE, the focus is now maintained in the text when clicking in
2223
- the empty area&nbsp;following it. </li>
2224
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1181386&amp;group_id=75348&amp;atid=543653">SF
2225
- BUG-1181386</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1237791&amp;group_id=75348&amp;atid=543653">SF
2226
- BUG-1237791</a>] The &quot;Stylesheet Classes&quot; field in the Link dialog
2227
- window in now applied correctly on IE. Thanks to Andrew Crowe. </li>
2228
- <li>The &quot;Past from Word&quot; 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&amp;aid=1315008&amp;group_id=75348&amp;atid=543653">SF
2231
- BUG-1315008</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1241992&amp;group_id=75348&amp;atid=543653">SF
2232
- BUG-1241992</a>] IE, when selecting objects (like images) and hitting the &quot;Backspace&quot;
2233
- button, the browser's &quot;back&quot; will not get executed anymore and the object
2234
- will be correctly deleted. </li>
2235
- <li>The &quot;AutoDetectPasteFromWord&quot; is now working correctly in IE. Thanks to
2236
- Juan Ant. G&oacute;mez. </li>
2237
- <li>A small enhancement has been made in the Word pasting detection. Thanks to Juan
2238
- Ant. G&oacute;mez. </li>
2239
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1090686&amp;group_id=75348&amp;atid=543653">SF
2240
- BUG-1090686</a>] No more conflict with Firefox &quot;Type-Ahead Find&quot; feature.
2241
- </li>
2242
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=942653&amp;group_id=75348&amp;atid=543653">SF
2243
- BUG-942653</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155856&amp;group_id=75348&amp;atid=543653">SF
2244
- BUG-1155856</a>] The &quot;width&quot; and &quot;height&quot; 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&amp;aid=1209093&amp;group_id=75348&amp;atid=543653">SF
2247
- BUG-1209093</a>] When &quot;Full Page Editing&quot; is active, in the &quot;Document
2248
- Properties&quot; dialog, the &quot;Browse Server&quot; button for the page background
2249
- is now correctly hidden if &quot;ImageBrowser&quot; is set to &quot;false&quot;
2250
- in the configurations file. Thanks to Richard. </li>
2251
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1120266&amp;group_id=75348&amp;atid=543653">SF
2252
- BUG-1120266</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1186196&amp;group_id=75348&amp;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&amp;aid=1244480&amp;group_id=75348&amp;atid=543653">SF
2256
- BUG-1244480</a>] The editor now will look first to linked fields &quot;ids&quot;
2257
- and&nbsp;second to &quot;names&quot;. </li>
2258
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1252905&amp;group_id=75348&amp;atid=543653">SF
2259
- BUG-1252905</a>] The &quot;InsertHtml&quot; function now preserves URLs as entered.
2260
- </li>
2261
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1266317&amp;group_id=75348&amp;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&amp;aid=1365664&amp;group_id=75348&amp;atid=543653">SF
2264
- BUG-1365664</a>] The &quot;wrap=virtual&quot; 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&amp;aid=972193&amp;group_id=75348&amp;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 &quot;Web
2270
- Developer Add-On &gt; Forms &gt; Display Forms Details&quot; extension. Thanks to
2271
- Jean-Marie Griess. </li>
2272
- <li>On IE, the &quot;Format&quot; 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
- &quot;Normal (DIV)&quot; type is seen by IE as &quot;Normal&quot;, to avoid confusion,
2276
- both types are ignored by this fix. </li>
2277
- <li>On some very rare cases, IE was loosing the &quot;align&quot; attribute for DIV
2278
- tags. Fixed. </li>
2279
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&amp;atid=543653&amp;aid=1388799&amp;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&amp;aid=1387135&amp;group_id=75348&amp;atid=543653">SF
2283
- BUG-1387135</a>] No more &quot;NaN&quot; 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 &quot;z-index&quot; 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&amp;atid=543653&amp;aid=1364094&amp;group_id=75348">SF
2299
- BUG-1352539</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1208348&amp;group_id=75348&amp;atid=543653">SF
2300
- BUG-1208348</a>] With Firefox, no more &quot;fake&quot; selections are appearing
2301
- when inserting images, tables, special chars or when using the &quot;insertHtml&quot;
2302
- function. </li>
2303
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&amp;atid=543655&amp;aid=1382588&amp;group_id=75348">SF
2304
- Patch-1382588</a>] The &quot;FCKConfig.DisableImageHandles&quot; 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&amp;aid=1368586&amp;group_id=75348&amp;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&amp;aid=1360253&amp;group_id=75348&amp;atid=543655">SF
2310
- Patch-1360253</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1378782&amp;group_id=75348&amp;atid=543653">SF
2311
- BUG-1378782</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1305899&amp;group_id=75348&amp;atid=543653">SF
2312
- BUG-1305899</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1344738&amp;group_id=75348&amp;atid=543653">SF
2313
- BUG-1344738</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1347808&amp;group_id=75348&amp;atid=543653">SF
2314
- BUG-1347808</a>] On dialogs, some fields&nbsp;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&amp;aid=1357445&amp;group_id=75348&amp;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&amp;aid=1350465&amp;group_id=75348&amp;atid=543653">SF
2320
- BUG-1350465</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1376175&amp;group_id=75348&amp;atid=543653">SF
2321
- BUG-1376175</a>] The &quot;Cell Properties&quot; 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&amp;aid=1349166&amp;group_id=75348&amp;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&amp;aid=1350552&amp;group_id=75348&amp;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&amp;aid=1352320&amp;group_id=75348&amp;atid=543655">SF
2329
- Patch-1352320</a> ] Fixed&nbsp;a wrong&nbsp;usage of the &quot;parentElement&quot;
2330
- property on Gecko. </li>
2331
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1355007&amp;group_id=75348&amp;atid=543655">SF
2332
- Patch-1355007</a>] The new &quot;FCKDebug.OutputObject&quot; 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&amp;aid=1329500&amp;group_id=75348&amp;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&amp;aid=1315351&amp;group_id=75348&amp;atid=543655">SF
2338
- Patch-1315351</a>] It is now possible to pass the image width and height to the
2339
- &quot;SetUrl&quot; function of the Flash dialog box. </li>
2340
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1327384&amp;group_id=75348&amp;atid=543655">SF
2341
- Patch-1327384</a>] TH tags are now correctly handled by the source code formatter
2342
- and the &quot;FillEmptyBlocks&quot; configuration option. </li>
2343
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1327406&amp;group_id=75348&amp;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 &quot;<strong>Insert Page Break</strong>&quot;&nbsp;command (for printing)&nbsp;has
2360
- been introduced.* </li>
2361
- <li>The editor package now has a root directory called &quot;FCKeditor&quot;.</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&amp;aid=1326285&amp;group_id=75348&amp;atid=543653">SF
2367
- BUG-1326285</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1316430&amp;group_id=75348&amp;atid=543653">SF
2368
- BUG-1316430</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1323662&amp;group_id=75348&amp;atid=543653">SF
2369
- BUG-1323662</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1326223&amp;group_id=75348&amp;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&nbsp;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&amp;aid=1289372&amp;group_id=75348&amp;atid=543653">SF
2376
- BUG-1275714</a>] Comments in the beginning of the source are now preserved when
2377
- using the &quot;undo&quot; and &quot;redo&quot; commands. </li>
2378
- <li>The &quot;undo&quot; and &quot;redo&quot; 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&amp;atid=543653&amp;aid=1326184&amp;group_id=75348">SF
2382
- BUG-1326184</a>] No strange (invalid) entities are created when using Firefox. Also,
2383
- the &amp;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&nbsp;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&amp;aid=1200328&amp;group_id=75348&amp;atid=543653">SF
2395
- BUG-1200328</a>] The editor now offers a way to &quot;protect&quot; part of the
2396
- source to remain untouched while editing or changing views.&nbsp;Just use the &quot;FCKConfig.ProtectedSource&quot;
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&nbsp;to
2400
- our new developer Jason Huck. </li>
2401
- <li>New language files are available:
2402
- <ul>
2403
- <li><strong>Faraose</strong> (by S&iacute;min Lassaberg and&nbsp;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&nbsp;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&amp;aid=1289372&amp;group_id=75348&amp;atid=543653">SF
2415
- BUG-1289372</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1282758&amp;group_id=75348&amp;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 &quot;combo&quot; toolbar items</strong> , like
2421
- Style and Font, has been introduced.&nbsp;Thanks&nbsp;to Steve Lineberry.&nbsp;See
2422
- sample06.html and the &quot;simplecommands&quot; plugin&nbsp;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&amp;aid=1155906&amp;group_id=75348&amp;atid=543653">SF
2427
- BUG-1155906</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1110116&amp;group_id=75348&amp;atid=543653">SF
2428
- BUG-1110116</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1216332&amp;group_id=75348&amp;atid=543653">SF
2429
- BUG-1216332</a>] The &quot;AutoDetectPasteFromWord&quot; configuration option
2430
- is back (IE only feature). </li>
2431
- <li>The&nbsp;new &quot;OnAfterLinkedFieldUpdate&quot; 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&nbsp;sample &quot;htaccess.txt&quot; 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 &quot;Illegal characters&quot; errors. Respectively the &quot;&iuml;&raquo;&iquest;&quot;
2439
- chars. </li>
2440
- <li>With the JavaScript, ASP and PHP integration files, you can set the QueryString
2441
- value &quot;fcksource=true&quot; 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&amp;aid=1246623&amp;group_id=75348&amp;atid=543656">SF
2445
- Feature-1246623</a>] The new configuration option &quot;ForceStrongEm&quot; has
2446
- been introduced so you can force the editor to convert all &lt;B&gt; and &lt;I&gt;
2447
- tags to &lt;STRONG&gt; and &lt;EM&gt; 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&amp;aid=1246949&amp;group_id=75348&amp;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.&nbsp;
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&amp;aid=1253255&amp;group_id=75348&amp;atid=543653">SF
2481
- BUG-1253255</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1253255&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=1242979&amp;group_id=75348">SF
2485
- BUG-1242979</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1251354&amp;group_id=75348&amp;atid=543653">SF
2486
- BUG-1251354</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1256178&amp;group_id=75348&amp;atid=543653">SF
2487
- BUG-1256178</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1274841&amp;group_id=75348&amp;atid=543653">SF
2488
- BUG-1274841</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1303949&amp;group_id=75348&amp;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&amp;aid=1251373&amp;group_id=75348&amp;atid=543653">SF
2492
- BUG-1251373</a> ] The above fix also has&nbsp;corrected some strange behaviors on
2493
- Firefox. </li>
2494
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&amp;atid=543653&amp;func=detail&amp;aid=1144258">SF
2495
- BUG-1144258</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?group_id=75348&amp;atid=543653&amp;func=detail&amp;aid=1092081">SF
2496
- BUG-1092081</a>] The File Browsers now run on the&nbsp;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&amp;aid=1305619&amp;group_id=75348&amp;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&amp;aid=1245304&amp;group_id=75348&amp;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&amp;aid=1290610&amp;group_id=75348&amp;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&amp;aid=1295538&amp;group_id=75348&amp;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&amp;aid=1247070&amp;group_id=75348&amp;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&amp;aid=1274303&amp;group_id=75348&amp;atid=543653">SF
2520
- BUG-1274303</a>] The &quot;Insert Column&quot; 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&amp;aid=1287070&amp;group_id=75348&amp;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&amp;aid=1157780&amp;group_id=75348&amp;atid=543653">SF
2527
- BUG-1157780</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1229077&amp;group_id=75348&amp;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&amp;aid=1155774&amp;group_id=75348&amp;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&amp;aid=1272018&amp;group_id=75348&amp;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&amp;aid=1263161&amp;group_id=75348&amp;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&amp;aid=1241504&amp;group_id=75348&amp;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&amp;aid=1297431&amp;group_id=75348&amp;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&amp;aid=1279551&amp;group_id=75348&amp;atid=543653">SF
2548
- BUG-1279551</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1242105&amp;group_id=75348&amp;atid=543653">SF
2549
- BUG-1242105</a>] On IE, some features are dependant of ActiveX components (secure...
2550
- distributed&nbsp;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&nbsp;by the editor to run. </li>
2553
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1298880&amp;group_id=75348&amp;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&amp;aid=1271723&amp;group_id=75348&amp;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&nbsp;activate the cursor
2560
- in the editing area. </li>
2561
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&amp;atid=543653&amp;aid=1221621&amp;group_id=75348">SF
2562
- BUG-1221621</a>] Many &quot;warnings&quot; in the Firefox console are not thrown
2563
- anymore. </li>
2564
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1295526&amp;group_id=75348&amp;atid=543653">SF
2565
- BUG-1295526</a>] While&nbsp;editing on &quot;FullPage&quot; mode the basehref is
2566
- now active for CSS &quot;link&quot; tags. </li>
2567
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1222584&amp;group_id=75348&amp;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&amp;aid=1281313&amp;group_id=75348&amp;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&amp;aid=1275911&amp;group_id=75348&amp;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&nbsp;new &quot;<strong>Flash</strong>&quot; 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 &quot;placeholder&quot;
2585
- is used instead. * </li>
2586
- <li>A&nbsp;&quot;<strong>Quick Upload</strong> &quot; 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&nbsp;are included.&nbsp;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&ouml;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&nbsp;(small squares around them) and the inline editing
2596
- of&nbsp;its contents&nbsp;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&amp;aid=1225372&amp;group_id=75348&amp;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&nbsp;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&amp;atid=543653&amp;func=detail&amp;aid=1211591">SF
2612
- BUG-1211591</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1204273&amp;group_id=75348&amp;atid=543653">SF
2613
- BUG-1204273</a>] The connectors have been changed so it is not possible to use
2614
- &quot;..&quot; on directory names. </li>
2615
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1219734&amp;group_id=75348&amp;atid=543655">SF
2616
- Patch-1219734</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1219728&amp;group_id=75348&amp;atid=543653">SF
2617
- BUG-1219728</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1208654&amp;group_id=75348&amp;atid=543653">SF
2618
- BUG-1208654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1205442&amp;group_id=75348&amp;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&amp;atid=543653&amp;func=detail&amp;aid=1209708">SF
2622
- BUG-1209708</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&amp;atid=543653&amp;func=detail&amp;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 &quot;Full Page&quot; editing correctly. It also uses the
2626
- same XHTML code produced by the final output. </li>
2627
- <li>The &quot;Templates&quot; 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&amp;atid=543653&amp;aid=1199631&amp;group_id=75348">SF
2630
- BUG-1199631</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1171944&amp;group_id=75348&amp;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 &quot;IEForceVScroll&quot; configuration option
2634
- to &quot;true&quot;. Thanks to Grant Bartlett. </li>
2635
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1212026&amp;group_id=75348&amp;atid=543655">SF
2636
- Patch-1212026</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1228860&amp;group_id=75348&amp;atid=543653">SF
2637
- BUG-1228860</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1211775&amp;group_id=75348&amp;atid=543653">SF
2638
- BUG-1211775</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&amp;atid=543653&amp;func=detail&amp;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&amp;atid=543653&amp;func=detail&amp;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 &lt;br /&gt;. </li>
2643
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1213733&amp;group_id=75348&amp;atid=543653">SF
2644
- BUG-1213733</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1216866&amp;group_id=75348&amp;atid=543653">SF
2645
- BUG-1216866</a>]&nbsp;[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1209673&amp;group_id=75348&amp;atid=543653">SF
2646
- BUG-1209673</a>]&nbsp;[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155454&amp;group_id=75348&amp;atid=543653">SF
2647
- BUG-1155454</a>]&nbsp;[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1187936&amp;group_id=75348&amp;atid=543653">SF
2648
- BUG-1187936</a> ]&nbsp;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&amp;aid=1171606&amp;group_id=75348&amp;atid=543653">SF
2653
- BUG-1171606</a>] There&nbsp;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&amp;aid=1225703&amp;group_id=75348&amp;atid=543655">SF
2658
- Patch-1225703</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1214941&amp;group_id=75348&amp;atid=543653">SF
2659
- BUG-1214941</a>] The &quot;ForcePasteAsPlainText&quot; 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&amp;aid=1228836&amp;group_id=75348&amp;atid=543653">SF
2662
- BUG-1228836</a>] The &quot;Show Table Borders&quot; feature is now working on Gecko
2663
- browsers. </li>
2664
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1212529&amp;group_id=75348&amp;atid=543655">SF
2665
- Patch-1212529</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1212517&amp;group_id=75348&amp;atid=543653">SF
2666
- BUG-1212517</a>] The default File Browser now accepts connectors with querystring
2667
- parameters (with &quot;?&quot;). Thanks to Tomas Jucius. </li>
2668
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1233318&amp;group_id=75348&amp;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&amp;aid=1229696&amp;group_id=75348&amp;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&nbsp;dialog window. </li>
2674
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1231978&amp;group_id=75348&amp;atid=543653">SF
2675
- BUG-1231978</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1228939&amp;group_id=75348&amp;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&amp;aid=1232056&amp;group_id=75348&amp;atid=543653">SF
2679
- BUG-1232056</a>] The&nbsp;anchor icon is now working correctly on IE. </li>
2680
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1232056&amp;group_id=75348&amp;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&amp;aid=1236279&amp;group_id=75348&amp;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&amp;aid=1237359&amp;group_id=75348&amp;atid=543653">SF
2688
- BUG-1237359</a>] The trailing &lt;BR&gt; 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&amp;atid=543653&amp;func=detail&amp;aid=1170828">SF
2691
- BUG-1170828</a>] No more &amp;nbsp; is added to the source when using the &quot;New
2692
- Page&quot; button. </li>
2693
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1165264&amp;group_id=75348&amp;atid=543653">SF
2694
- BUG-1165264</a>] A&nbsp;new configuration option has been included to force the
2695
- editor to ignore empty paragraph values&nbsp;(&lt;p&gt;&amp;nbsp;&lt;/p&gt;), returning
2696
- empty (&quot;&quot;). </li>
2697
- <li>No more &amp;nbsp; is added when creating a table or adding columns, rows or cells.
2698
- </li>
2699
- <li>The &lt;TD&gt; 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&amp;aid=1224829&amp;group_id=75348&amp;atid=543653">SF
2702
- BUG-1224829</a>] A small bug in the &quot;Find&quot; dialog has been fixed. </li>
2703
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1221307&amp;group_id=75348&amp;atid=543653">SF
2704
- BUG-1221307</a>] A small bug in the &quot;Image&quot; dialog has been fixed. </li>
2705
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1219981&amp;group_id=75348&amp;atid=543653">SF
2706
- BUG-1219981</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155726&amp;group_id=75348&amp;atid=543653">SF
2707
- BUG-1155726</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1178473&amp;group_id=75348&amp;atid=543653">SF
2708
- BUG-1178473</a>] It is handling the &lt;FORM&gt;, &lt;TEXTAREA&gt; and &lt;SELECT&gt;
2709
- tags &quot;name&quot; attribute correctly. Thanks to thc33. </li>
2710
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1205403&amp;group_id=75348&amp;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&amp;aid=1236626&amp;group_id=75348&amp;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&amp;aid=1212559&amp;group_id=75348&amp;atid=543653">SF
2717
- BUG-1212559</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1017231&amp;group_id=75348&amp;atid=543653">SF
2718
- BUG-1017231</a>] The &quot;Save&quot; button now calls the &quot;onsubmit&quot;
2719
- event before posting the form. The submit can be cancelled if the onsubmit returns
2720
- &quot;false&quot;. </li>
2721
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1215823&amp;group_id=75348&amp;atid=543653">SF
2722
- BUG-1215823</a>] The editor now works correctly on Firefox if it values is set to
2723
- &quot;&lt;p&gt;&lt;/p&gt;&quot;. </li>
2724
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1217546&amp;group_id=75348&amp;atid=543653">SF
2725
- BUG-1217546</a>] No error is thrown when &quot;pasting as plain text&quot; 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&amp;aid=1207031&amp;group_id=75348&amp;atid=543653">SF
2728
- BUG-1207031</a>] [<a target="_blank" href="http://sourceforge.net/tracker/?group_id=75348&amp;atid=543653&amp;func=detail&amp;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&amp;atid=543653&amp;func=detail&amp;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&amp;aid=1205211&amp;group_id=75348&amp;atid=543653">SF
2734
- BUG-1205211</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1229941&amp;group_id=75348&amp;atid=543653">SF
2735
- BUG-1229941</a>] Small bug in the mcpuk file browser&nbsp;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&nbsp;FC (Final Candidate)</h3>
2746
- <p>
2747
- New Features and Improvements:</p>
2748
- <ul>
2749
- <li>A new tab called &quot;<strong>Link</strong>&quot; 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 &quot;<strong>Templates</strong>&quot; 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 &quot;_docs&quot; 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&nbsp;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&amp;aid=1189442&amp;group_id=75348&amp;atid=543653">SF
2762
- BUG-1189442</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1187164&amp;group_id=75348&amp;atid=543653">SF
2763
- BUG-1187164</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1185905&amp;group_id=75348&amp;atid=543653">SF
2764
- BUG-1185905</a>] It is now possible to configure the editor to <strong>not convert Greek</strong>
2765
- or special&nbsp;<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 &quot;ProcessHTMLEntities&quot;,
2767
- &quot;IncludeLatinEntities&quot; and &quot;IncludeGreekEntities&quot; 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&amp;aid=1159854&amp;group_id=75348&amp;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&amp;aid=1181823&amp;group_id=75348&amp;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 &quot;mouse over&quot; effects
2786
- to the buttons when they are &quot;on&quot; of &quot;off&quot;.</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&amp;aid=1162200&amp;group_id=75348&amp;atid=543653">SF
2792
- BUG-1162200</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1161633&amp;group_id=75348&amp;atid=543653">SF
2793
- BUG-1161633</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1050293&amp;group_id=75348&amp;atid=543653">SF
2794
- BUG-1050293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1058948&amp;group_id=75348&amp;atid=543653">SF
2795
- BUG-1058948</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1109120&amp;group_id=75348&amp;atid=543653">SF
2796
- BUG-1109120</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155408&amp;group_id=75348&amp;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&amp;aid=1179645&amp;group_id=75348&amp;atid=543653">SF
2801
- BUG-1179645</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1183252&amp;group_id=75348&amp;atid=543653">SF
2802
- BUG-1183252</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1166779&amp;group_id=75348&amp;atid=543653">SF
2803
- BUG-1181647</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155627&amp;group_id=75348&amp;atid=543653">SF
2804
- BUG-1155627</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155782&amp;group_id=75348&amp;atid=543653">SF
2805
- BUG-1155782</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155750&amp;group_id=75348&amp;atid=543653">SF
2806
- BUG-1155750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1157166&amp;group_id=75348&amp;atid=543653">SF
2807
- BUG-1157166</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1157857&amp;group_id=75348&amp;atid=543653">SF
2808
- BUG-1157857</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1158121&amp;group_id=75348&amp;atid=543653">SF
2809
- BUG-1158121</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1177153&amp;group_id=75348&amp;atid=543653">SF
2810
- BUG-1177153</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1175847&amp;group_id=75348&amp;atid=543653">SF
2811
- BUG-1175847</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155747&amp;group_id=75348&amp;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&amp;aid=1161147&amp;group_id=75348&amp;atid=543653">SF
2815
- BUG-1161147</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1157635&amp;group_id=75348&amp;atid=543653">SF
2816
- BUG-1157635</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1149805&amp;group_id=75348&amp;atid=543653">SF
2817
- BUG-1149805</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1124600&amp;group_id=75348&amp;atid=543653">SF
2818
- BUG-1124600</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1117535&amp;group_id=75348&amp;atid=543653">SF
2819
- BUG-1117535</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1118145&amp;group_id=75348&amp;atid=543653">SF
2820
- BUG-1118145</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1098113&amp;group_id=75348&amp;atid=543653">SF
2821
- BUG-1098113</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1092272&amp;group_id=75348&amp;atid=543653">SF
2822
- BUG-1092272</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1086416&amp;group_id=75348&amp;atid=543653">SF
2823
- BUG-1086416</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1027952&amp;group_id=75348&amp;atid=543653">SF
2824
- BUG-1027952</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=978441&amp;group_id=75348&amp;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&amp;aid=1166779&amp;group_id=75348&amp;atid=543653">SF
2830
- BUG-1166779</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1166651&amp;group_id=75348&amp;atid=543653">SF
2831
- BUG-1166651</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1066198&amp;group_id=75348&amp;atid=543653">SF
2832
- BUG-1066198</a>]&nbsp;[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1090388&amp;group_id=75348&amp;atid=543653">SF
2833
- BUG-1090388</a> ]&nbsp;No more &quot;illegible&quot; characters in the
2834
- toolbar when &quot;ClearType&quot; is active. </li>
2835
- <li>It is now possible to set the &quot;width&quot; 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&amp;aid=1113620&amp;group_id=75348&amp;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&nbsp;older than&nbsp;2.1.0.
2844
- </li>
2845
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1190835&amp;group_id=75348&amp;atid=543653">SF
2846
- BUG-1190835</a>] [<a target="_blank" href="https://sourceforge.net/tracker/?func=detail&amp;atid=543653&amp;aid=1196547&amp;group_id=75348">SF
2847
- BUG-1196547</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1156863&amp;group_id=75348&amp;atid=543653">SF
2848
- BUG-1156863</a>] The &quot;Insert Horizontal Line&quot; 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&amp;aid=1101861&amp;group_id=75348&amp;atid=543653">SF
2851
- BUG-1101861</a>] The editor now shows a normal textarea correctly (as expected)
2852
- on Safari browsers (and all &quot;like Gecko&quot; browsers). Thanks to Bob Paul.
2853
- </li>
2854
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1182224&amp;group_id=75348&amp;atid=543653">SF
2855
- BUG-1182224</a>] The PHP connector can now handle file extensions in upper case,&nbsp;like
2856
- JPG or Gif, correctly. Thanks to Georg Ivancsic. </li>
2857
- <li>The &quot;sample06.html&quot; is now working correctly with Gecko browsers. </li>
2858
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1156660&amp;group_id=75348&amp;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&amp;aid=1192881&amp;group_id=75348&amp;atid=543653">SF
2862
- BUG-1192881</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1185006&amp;group_id=75348&amp;atid=543653">SF
2863
- BUG-1185006</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1156068&amp;group_id=75348&amp;atid=543653">SF
2864
- BUG-1156068</a>] The &quot;Browse Server&quot; button is now working correctly
2865
- for the Background Image in the &quot;Document Properties&quot; dialog window (full
2866
- page editing). The active &quot;BaseHref&quot; is also set to the preview window.
2867
- </li>
2868
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1191704&amp;group_id=75348&amp;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&amp;aid=1185911&amp;group_id=75348&amp;atid=543653">SF
2872
- BUG-1185911</a>] The Greek language file name has been corrected to &quot;el.js&quot;.
2873
- </li>
2874
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1181572&amp;group_id=75348&amp;atid=543653">SF
2875
- BUG-1181572</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1158421&amp;group_id=75348&amp;atid=543653">SF
2876
- BUG-1158421</a>] The &quot;Print&quot; button is now active on startup. </li>
2877
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1181572&amp;group_id=75348&amp;atid=543653">SF
2878
- BUG-1165219</a>] No error occours when the user defines just one color to the FontColors
2879
- on &quot;in page&quot; configurations. </li>
2880
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1162957&amp;group_id=75348&amp;atid=543653">SF
2881
- BUG-1162957</a>] The small problem with Zope (ZPT)&nbsp;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&amp;aid=1026584&amp;group_id=75348&amp;atid=543656">SF
2898
- Feature-1026584</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1112692&amp;group_id=75348&amp;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&amp;aid=1031492&amp;group_id=75348&amp;atid=543656">SF
2903
- Feature-1031492</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1004293&amp;group_id=75348&amp;atid=543656">SF
2904
- Feature-1004293</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=784281&amp;group_id=75348&amp;atid=543656">SF
2905
- Feature-784281</a>] It is now possible to edit <strong>full HTML pages</strong>
2906
- with the editor. Use the &quot;FullPage&quot; configuration setting to activate
2907
- it. </li>
2908
- <li>The&nbsp;new toolbar command, &quot;<strong>Document Properties</strong>&quot;&nbsp;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&amp;aid=1151448&amp;group_id=75348&amp;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&amp;aid=1041686&amp;group_id=75348&amp;atid=543656">SF
2916
- Feature-1041686</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1086386&amp;group_id=75348&amp;atid=543656">SF
2917
- Feature-1086386</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1124602&amp;group_id=75348&amp;atid=543656">SF
2918
- Feature-1124602</a>] New &quot;<strong>Insert Anchor</strong>&quot; command
2919
- has been introduced. (The anchor icon is visible only over&nbsp;IE for now). </li>
2920
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1123816&amp;group_id=75348&amp;atid=543656">SF
2921
- Feature-1123816</a>] It is now possible to configure the editor to <strong>show &quot;fake&quot;
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&amp;aid=1088608&amp;group_id=75348&amp;atid=543656">SF
2927
- Feature-1088608</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1144047&amp;group_id=75348&amp;atid=543656">SF
2928
- Feature-1144047</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1149808&amp;group_id=75348&amp;atid=543656">SF
2929
- Feature-1149808</a>] A new configuration setting is available, &quot;<strong>BaseHref</strong>
2930
- &quot;, to set the URL used to resolve relative links. </li>
2931
- <li>It is now possible to set&nbsp;the <strong>content language direction</strong> .
2932
- See the &quot;FCKConfig.ContentLangDirection&quot; configurations setting. </li>
2933
- <li>All <strong>Field Commands</strong> available on version 1.6 have been upgraded
2934
- and&nbsp;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 &quot;<strong>Universal Keyboard</strong>&quot; 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&nbsp;at fckconfig.js.
2948
- </li>
2949
- <li>A new configuration (FillEmptyBlocks)&nbsp;is available to force the editor to <strong>
2950
- automatically insert a &amp;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 &quot;grows&quot; empty elements to make the user able
2953
- to enter text on it). Attention: the extra &amp;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 &quot;<strong>break</strong>
2957
- &quot; between two toolbar strips. Just insert a &quot;/&quot; 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&ccedil;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 &quot;button.&quot; 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: &quot;<strong>Placeholders</strong>&quot;.
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&nbsp;distributed
2983
- separately. </li>
2984
- <li>The PHP connector now sets the uploaded file permissions (chmod)&nbsp;to 0777. </li>
2985
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1090215&amp;group_id=75348&amp;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 &quot;Last Modified&quot; date, so
2990
- incremental FTP uploads can be used to update to&nbsp;new versions of the editor
2991
- (from now on). </li>
2992
- <li>The &quot;Source&quot; view now forces its contents to be written in &quot;Left
2993
- to Right&quot; 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&amp;aid=1124220&amp;group_id=75348&amp;atid=543653">SF
3000
- BUG-1124220</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1119894&amp;group_id=75348&amp;atid=543653">SF
3001
- BUG-1119894</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1090986&amp;group_id=75348&amp;atid=543653">SF
3002
- BUG-1090986</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1100408&amp;group_id=75348&amp;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&amp;aid=1119380&amp;group_id=75348&amp;atid=543653">SF
3006
- BUG-1119380</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1115750&amp;group_id=75348&amp;atid=543653">SF
3007
- BUG-1115750</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1101808&amp;group_id=75348&amp;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&amp;aid=1098460&amp;group_id=75348&amp;atid=543653">SF
3011
- BUG-1098460</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1076544&amp;group_id=75348&amp;atid=543653">SF
3012
- BUG-1076544</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1077845&amp;group_id=75348&amp;atid=543653">SF
3013
- BUG-1077845</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1092395&amp;group_id=75348&amp;atid=543653">SF
3014
- BUG-1092395</a>] A new upload class has been included for the ASP File
3015
- Manager Connector. It uses the &quot;ADODB.Stream&quot; object. Many thanks to &quot;NetRube&quot;.
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&nbsp;quickly has been solved. </li>
3022
- <li>The &lt;br type= &quot;_moz&quot;&gt;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&amp;aid=1146407&amp;group_id=75348&amp;atid=543653">SF
3026
- BUG-1146407</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1145800&amp;group_id=75348&amp;atid=543653">SF
3027
- BUG-1145800</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1118803&amp;group_id=75348&amp;atid=543653">SF
3028
- BUG-1118803</a> ] Other&nbsp;issues in the XHTML processor have been solved.
3029
- </li>
3030
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1143969&amp;group_id=75348&amp;atid=543653">SF
3031
- BUG-1143969</a>] The editor now accepts the &quot;accept-charset&quot; attribute
3032
- in the FORM tag (IE specific bug). </li>
3033
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1122742&amp;group_id=75348&amp;atid=543653">SF
3034
- BUG-1122742</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1089548&amp;group_id=75348&amp;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&amp;aid=1114748&amp;group_id=75348&amp;atid=543653">SF
3038
- BUG-1114748</a>] The PHP File Manager Connector now sets the new folders permissions
3039
- (chmod)&nbsp;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&nbsp;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&amp;aid=1093732&amp;group_id=75348&amp;atid=543653">SF
3047
- BUG-1093732</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1091377&amp;group_id=75348&amp;atid=543653">SF
3048
- BUG-1091377</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1083044&amp;group_id=75348&amp;atid=543653">SF
3049
- BUG-1083044</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1096307&amp;group_id=75348&amp;atid=543653">SF
3050
- BUG-1096307</a>] The configurations are now encoded so a user can use
3051
- values that has special chars (&amp;=/). </li>
3052
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1103688&amp;group_id=75348&amp;atid=543653">SF
3053
- BUG-1103688</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1092331&amp;group_id=75348&amp;atid=543653">SF
3054
- BUG-1092331</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1088220&amp;group_id=75348&amp;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&amp;aid=1114449&amp;group_id=75348&amp;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&nbsp;source&nbsp;mode has been corrected.
3066
- Thanks to Eric (ric1607). </li>
3067
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1108167&amp;group_id=75348&amp;atid=543653">SF
3068
- BUG-1108167</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1085149&amp;group_id=75348&amp;atid=543653">SF
3069
- BUG-1085149</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1151296&amp;group_id=75348&amp;atid=543653">SF
3070
- BUG-1151296</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1082433&amp;group_id=75348&amp;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&amp;aid=1117779&amp;group_id=75348&amp;atid=543653">SF
3075
- BUG-1117779</a>] The editor now works well if you have more than one element named
3076
- &quot;submit&quot;&nbsp;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&amp;aid=1090213&amp;group_id=75348&amp;atid=543655">SF
3081
- Patch-1090213</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1098929&amp;group_id=75348&amp;atid=543653">SF
3082
- Patch-1098929</a>] With ASP, the editor now works correctly on pages using &quot;Option
3083
- Explicit&quot;. Thanks to Ben Noblet. </li>
3084
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1100759&amp;group_id=75348&amp;atid=543653">SF
3085
- BUG-1100759</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1029125&amp;group_id=75348&amp;atid=543653">SF
3086
- BUG-1029125</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=966130&amp;group_id=75348&amp;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&amp;aid=1146441&amp;group_id=75348&amp;atid=543653">SF
3093
- BUG-1146441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1149777&amp;group_id=75348&amp;atid=543653">SF
3094
- BUG-1149777</a>] The editor now uses the TEXTAREA id&nbsp;in the ReplaceTextarea
3095
- function. If the id is now found, it uses the &quot;name&quot;. The docs have been
3096
- updated. </li>
3097
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1144297&amp;group_id=75348&amp;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&amp;aid=1121365&amp;group_id=75348&amp;atid=543653">SF
3101
- BUG-1121365</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1090102&amp;group_id=75348&amp;atid=543653">SF
3102
- BUG-1090102</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1152171&amp;group_id=75348&amp;atid=543653">SF
3103
- BUG-1152171</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1102907&amp;group_id=75348&amp;atid=543653">SF
3104
- BUG-1102907</a>] There is no problem now to start the editor with values
3105
- like &quot;&lt;div&gt;&lt;/div&gt;&quot; or &quot;&lt;p&gt;&lt;/p&gt;&quot;. </li>
3106
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1114059&amp;group_id=75348&amp;atid=543653">SF
3107
- BUG-1114059</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1041861&amp;group_id=75348&amp;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&amp;aid=1152617&amp;group_id=75348&amp;atid=543653">SF
3111
- BUG-1152617</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1102441&amp;group_id=75348&amp;atid=543653">SF
3112
- BUG-1102441</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1095312&amp;group_id=75348&amp;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&amp;aid=1093514&amp;group_id=75348&amp;atid=543653">SF
3116
- BUG-1093514</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1089204&amp;group_id=75348&amp;atid=543653">SF
3117
- BUG-1089204</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1077609&amp;group_id=75348&amp;atid=543653">SF
3118
- BUG-1077609</a>] The editor now runs correctly if called directly (locally)&nbsp;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&amp;aid=1088248&amp;group_id=75348&amp;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&amp;aid=1042034&amp;group_id=75348&amp;atid=543656">SF
3129
- Feature-1042034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1075961&amp;group_id=75348&amp;atid=543656">SF
3130
- Feature-1075961</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1083200&amp;group_id=75348&amp;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&amp;aid=1042034&amp;group_id=75348&amp;atid=543656">SF
3134
- Feature-1042034</a>] The new &quot;<strong>Split Cell</strong> &quot;, 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&amp;aid=1042034&amp;group_id=75348&amp;atid=543656">SF
3137
- Feature-1042034</a>] The new &quot;<strong>Merge Cells</strong>&quot;, to merge
3138
- table cells (in the same row), has been introduced (right-click). </li>
3139
- <li>The &quot;fake&quot; <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>&lt;BR&gt;</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&amp;aid=1085422&amp;group_id=75348&amp;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:&nbsp;
3151
- <ul>
3152
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1067775&amp;group_id=75348&amp;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&aacute;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&amp;aid=1085816&amp;group_id=75348&amp;atid=543653">SF
3166
- BUG-1085816</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1083743&amp;group_id=75348&amp;atid=543653">SF
3167
- BUG-1083743</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1078783&amp;group_id=75348&amp;atid=543653">SF
3168
- BUG-1078783</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1077861&amp;group_id=75348&amp;atid=543653">SF
3169
- BUG-1077861</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1077861&amp;group_id=75348&amp;atid=543653">SF
3170
- BUG-1037404</a>] Many&nbsp;small bugs&nbsp;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&amp;aid=1083744&amp;group_id=75348&amp;atid=543653">SF
3175
- BUG-1083744</a>] On Gecko browsers, any element attribute that the name starts with
3176
- &quot;_moz&quot; will be ignored. </li>
3177
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1060073&amp;group_id=75348&amp;atid=543653">SF
3178
- BUG-1060073</a>] The &lt;STYLE&gt; and &lt;SCRIPT&gt; 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&amp;aid=1088310&amp;group_id=75348&amp;atid=543653">SF
3184
- BUG-1088310</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1078837&amp;group_id=75348&amp;atid=543653">SF
3185
- BUG-1078837</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=999792&amp;group_id=75348&amp;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&amp;aid=1082323&amp;group_id=75348&amp;atid=543653">SF
3189
- BUG-1082323</a>] The&nbsp;problem in the ASP and PHP connectors when handling non
3190
- &quot;strange&quot; chars in file names has been corrected. </li>
3191
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1085034&amp;group_id=75348&amp;atid=543653">SF
3192
- BUG-1085034</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1076796&amp;group_id=75348&amp;atid=543653">SF
3193
- BUG-1076796</a>] Some bugs in the PHP connector have been corrected. </li>
3194
- <li>A&nbsp;problem with the &quot;Format&quot; 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 &quot;Format&quot; combo while
3197
- moving throw the text (context sensitive). </li>
3198
- <li>On Gecko browsers, when selecting an image and executing the &quot;New Page&quot;
3199
- command, the image handles still appear, even if the image is not available anymore
3200
- (this is a Gecko bug). When clicking in&nbsp;a &quot;phanton&quot; randle, the browser
3201
- crashes. It doesn't&nbsp;happen (the crash)&nbsp;anymore. </li>
3202
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1082197&amp;group_id=75348&amp;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&nbsp;non existing&nbsp;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&amp;aid=1077747&amp;group_id=75348&amp;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&amp;aid=1004078&amp;group_id=75348&amp;atid=543653">SF
3216
- BUG-1004078</a>] ColdFusion: The &quot;config&quot; 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&amp;aid=1075166&amp;group_id=75348&amp;atid=543653">SF
3223
- BUG-1075166</a>] ColdFusion: The &quot;fallback&quot; variant of the texteditor
3224
- (&lt;textarea&gt;) 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&amp;aid=1086370&amp;group_id=75348&amp;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&nbsp;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&amp;aid=1063217&amp;group_id=75348&amp;atid=543656">SF
3239
- Feature-1063217</a>] The new advanced&nbsp;<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 &quot;true&quot;). It handles all entities defined in the W3C&nbsp;XHTML
3251
- DTD file. </li>
3252
- <li>A new &quot;_docs&quot; 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 (&amp;) on attributes (like the links href) instead of its entity
3257
- &amp;amp;. Just set FCKConfig.ForceSimpleAmpersand = true in the&nbsp;configuration
3258
- file. </li>
3259
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1026866&amp;group_id=75348&amp;atid=543656">SF
3260
- Feature-1026866</a>] The &quot;<strong>EditorAreaCSS</strong>&quot; 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&amp;aid=1064902&amp;group_id=75348&amp;atid=543653">SF
3266
- BUG-1064902</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1033933&amp;group_id=75348&amp;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&amp;aid=1027858&amp;group_id=75348&amp;atid=543653">SF
3274
- BUG-1027858</a>] Firefox 1.0 PR&nbsp;introduced&nbsp;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&nbsp;with the color panel. It has been corrected.
3277
- </li>
3278
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1049842&amp;group_id=75348&amp;atid=543653">SF
3279
- BUG-1049842</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1033832&amp;group_id=75348&amp;atid=543653">SF
3280
- BUG-1033832</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1028623&amp;group_id=75348&amp;atid=543653">SF
3281
- BUG-1028623</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1026610&amp;group_id=75348&amp;atid=543653">SF
3282
- BUG-1026610</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1064498&amp;group_id=75348&amp;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&amp;aid=1053399&amp;group_id=75348&amp;atid=543653">SF
3286
- BUG-1053399</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=965318&amp;group_id=75348&amp;atid=543653">SF
3287
- BUG-965318</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1018296&amp;group_id=75348&amp;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&amp;aid=1054621&amp;group_id=75348&amp;atid=543653">SF
3291
- BUG-1054621</a>] Color pickers are now working with the &quot;office2003&quot; and
3292
- &quot;silver&quot; skins. </li>
3293
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1054108&amp;group_id=75348&amp;atid=543653">SF
3294
- BUG-1054108</a>] IE doesn&rsquo;t recognize the &quot;&amp;apos;&quot; entity for
3295
- apostrophes, so a workaround has been developed to replace it with &quot;&amp;#39;&quot;
3296
- (its numeric entity representation). </li>
3297
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=983434&amp;group_id=75348&amp;atid=543653">SF
3298
- BUG-983434</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=983398&amp;group_id=75348&amp;atid=543653">SF
3299
- BUG-983398</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1028103&amp;group_id=75348&amp;atid=543653">SF
3300
- BUG-1028103</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1072496&amp;group_id=75348&amp;atid=543653">SF
3301
- BUG-1072496</a>] The problem with elements with name &quot;submit&quot;
3302
- inside the editor's form has been solved. </li>
3303
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1018743&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=1065268&amp;group_id=75348">SF
3307
- BUG-1065268</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1034354&amp;group_id=75348&amp;atid=543653">SF
3308
- BUG-1034354</a>] The XHTML processor now doesn&rsquo;t use the minimized tag
3309
- syntax (like &lt;br/&gt;) 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&amp;aid=1029654&amp;group_id=75348&amp;atid=543653">SF
3312
- BUG-1029654</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1046500&amp;group_id=75348&amp;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&amp;aid=1065973&amp;group_id=75348&amp;atid=543653">SF
3316
- BUG-1065973</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=999792&amp;group_id=75348&amp;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&amp;aid=1071824&amp;group_id=75348&amp;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&amp;aid=1052856&amp;group_id=75348&amp;atid=543653">SF
3324
- BUG-1052856</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1046493&amp;group_id=75348&amp;atid=543653">SF
3325
- BUG-1046493</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1023530&amp;group_id=75348&amp;atid=543653">SF
3326
- BUG-1023530</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1025978&amp;group_id=75348&amp;atid=543653">SF
3327
- BUG-1025978</a>] The editor now doesn&rsquo;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&amp;aid=1036756&amp;group_id=75348&amp;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&amp;aid=1029101&amp;group_id=75348&amp;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&amp;aid=1034623&amp;group_id=75348&amp;atid=543653">SF
3334
- BUG-1034623</a>] There is an IE bug when setting the editor value to &quot;&lt;p&gt;&lt;hr&gt;&lt;/p&gt;&quot;.
3335
- A workaround has been developed. </li>
3336
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1052695&amp;group_id=75348&amp;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&amp;aid=1073053&amp;group_id=75348&amp;atid=543653">SF
3341
- BUG-1073053</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1050394&amp;group_id=75348&amp;atid=543653">SF
3342
- BUG-1050394</a>] The editor doesn&rsquo;t throw errors when hidden. </li>
3343
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1066321&amp;group_id=75348&amp;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&amp;aid=1046490&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=1073955&amp;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&amp;aid=1049534&amp;group_id=75348&amp;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&amp;aid=1036675&amp;group_id=75348&amp;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 - &quot;<strong>GeckoUseSPAN</strong>&quot; - that
3361
- can be used to tell Gecko browsers to use &lt;SPAN style...&gt; or &lt;B&gt;, &lt;I&gt;
3362
- and &lt;U&gt; for the bold, italic and underline commands. </li>
3363
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1002622&amp;group_id=75348&amp;atid=543656">SF
3364
- Feature-1002622</a>] New <strong>Text Color</strong> and&nbsp;<strong>Background Color</strong>
3365
- &nbsp;commands have been added to the editor. </li>
3366
- <li>On Gecko browsers, a message is shown when,&nbsp;because of&nbsp;security settings,&nbsp;the
3367
- user&nbsp;is not able to&nbsp;cut, copy or paste data from the clipboard using the
3368
- toolbar buttons or the context menu. </li>
3369
- <li>The new &quot;<strong>Paste as Plain Text</strong> &quot; command has been introduced.
3370
- </li>
3371
- <li>The new &quot;<strong>Paste from Word</strong> &quot; command has been introduced.
3372
- </li>
3373
- <li>A new configuration named&nbsp;&quot;StartupFocus&quot; 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&amp;aid=1016781&amp;group_id=75348&amp;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&amp;aid=965067&amp;group_id=75348&amp;atid=543653">SF
3383
- BUG-965067</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1010379&amp;group_id=75348&amp;atid=543653">SF
3384
- BUG-1010379</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=977713&amp;group_id=75348&amp;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&amp;aid=1007547&amp;group_id=75348&amp;atid=543653">SF
3388
- BUG-1007547</a> ] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=974595&amp;group_id=75348&amp;atid=543653">SF
3389
- BUG-974595</a> ]&nbsp;The &quot;FCKLang not defined&quot; error when loading
3390
- has been fixed. </li>
3391
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1021028&amp;group_id=75348&amp;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&amp;aid=981191&amp;group_id=75348&amp;atid=543653">SF
3395
- BUG-981191</a>] We are now using &lt;!--- ---&gt; 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 &quot;expand/collapse&quot; 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&amp;aid=862364&amp;group_id=75348&amp;atid=543653">SF
3432
- BUG-862364</a>] [<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=812733&amp;group_id=75348&amp;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>&quot;Selection Field&quot; command</strong> with advanced dialog box
3449
- for options definitions.* </li>
3450
- <li>New <strong>&quot;Image Button&quot; command</strong> is available.* </li>
3451
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=936196&amp;group_id=75348&amp;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 &quot;Initialize and script ActiveX controls not
3459
- marked as safe&quot; must be set to &quot;Enable&quot; or &quot;Prompt&quot;. 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&amp;aid=748807&amp;group_id=75348&amp;atid=543656">SF
3464
- Feature-748807</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=801030&amp;group_id=75348&amp;atid=543656">SF
3465
- Feature-801030</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=880684&amp;group_id=75348&amp;atid=543656">SF
3466
- Feature-880684</a>] New &quot;<strong>Anchor&quot; 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 &quot;images/toolbar/default&quot; directory. </li>
3474
- <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=934566&amp;group_id=75348&amp;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>&quot;New Page&quot; command</strong> to start a typing from scratch.
3478
- Thanks to Abdul-Aziz A. Al-Oraij. </li>
3479
- <li>New <strong>&quot;Replace&quot; command</strong>. Thanks to Abdul-Aziz A. Al-Oraij.
3480
- </li>
3481
- <li>New <strong>&quot;Advanced Font Style&quot; 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&amp;aid=738193&amp;group_id=75348&amp;atid=543656">SF
3484
- Feature-738193</a>] New <strong>&quot;Save&quot; 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>&quot;Universal Keyboard&quot; 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&amp;aid=935358&amp;group_id=75348&amp;atid=543655">SF
3494
- Patch-935358</a>] New <strong>&quot;Preview&quot; 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 &quot;<strong>Table Auto Format</strong>&quot; 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 &quot;<strong>Bulleted List Properties</strong> &quot; 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>&quot;alt&quot; 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&amp;aid=942250&amp;group_id=75348&amp;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&amp;aid=936514&amp;group_id=75348&amp;atid=543655">SF
3519
- Patch-936514</a>] [<a href="https://sourceforge.net/tracker/?func=detail&amp;atid=543653&amp;aid=918716&amp;group_id=75348">SF
3520
- BUG-918716</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=931037&amp;group_id=75348&amp;atid=543653">SF
3521
- BUG-931037</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=865864&amp;group_id=75348&amp;atid=543653">SF
3522
- BUG-865864</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=915410&amp;group_id=75348&amp;atid=543653">SF
3523
- BUG-915410</a>] [<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=918716&amp;group_id=75348&amp;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 &quot;undefined&quot; 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&amp;atid=543653&amp;aid=924620&amp;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 &quot;description&quot;
3532
- as the name in a page with the &lt;META name=&quot;description&quot;&gt; tag. </li>
3533
- <li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=935018&amp;group_id=75348&amp;atid=543653">SF
3534
- BUG-935018</a>] The &quot;buletted&quot; typo has been corrected. </li>
3535
- <li>[<a href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=902122&amp;group_id=75348&amp;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&amp;aid=918942&amp;group_id=75348&amp;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&amp;atid=543656&amp;aid=913777&amp;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&amp;aid=861149&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=743546&amp;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&amp;atid=543653&amp;aid=875853&amp;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&amp;atid=543656&amp;aid=913777&amp;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 &quot;/FCKeditor/&quot;. 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[&quot;ImageBrowserURL&quot;] = '/imgs/browse.asp?filter=abc*.jpg&amp;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&amp;aid=865378&amp;group_id=75348&amp;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&amp;aid=798128&amp;group_id=75348&amp;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&amp;aid=741963&amp;group_id=75348&amp;atid=543656">SF
3623
- Feature-741963</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=878941&amp;group_id=75348&amp;atid=543656">SF
3624
- Feature-878941</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=869389&amp;group_id=75348&amp;atid=543655">SF
3625
- Patch-869389</a>] A minimal support for a &ldquo;fake&rdquo; <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 (&amp;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&amp;aid=782779&amp;group_id=75348&amp;atid=543653">SF
3631
- BUG-782779</a>][<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=790939&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=853374&amp;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&amp;aid=851609&amp;group_id=75348&amp;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&aacute;zs Szab&oacute;.
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>&lt;BR&gt; tag instead
3654
- of &lt;P&gt;</strong> when the user presses the <strong>&lt;Enter&gt;</strong> key.
3655
- Take a look at the fck_config.js configuration file for the &quot;<strong>UseBROnCarriageReturn</strong>&quot;
3656
- key. This option is disabled by default. </li>
3657
- <li><strong>Icelandic</strong> language pack. Thanks to Andri &Oacute;skarsson. </li>
3658
- <li>[<a href="https://sourceforge.net/tracker/?func=detail&amp;atid=543653&amp;aid=853374&amp;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&amp;atid=543653&amp;aid=853372&amp;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 &quot;default_charset&quot; 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 &quot;<strong>testsubmit.php</strong>&quot; file now strips the &quot;<strong>Magic
3691
- Quotes</strong> &quot; 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 &quot;<strong>ForcePasteAsPlainText</strong>&quot;
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 &quot;<strong>Show Borders</strong>&quot; and &quot;<strong>Show
3712
- Details</strong>&quot; commands. </li>
3713
- <li>Some <strong>characters have been removed</strong> from the &quot;<strong>Insert
3714
- Special Chars</strong>&quot; 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&amp;forum_id=257180">Thanks
3725
- to &quot;mtn_roadie&quot;</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&amp;aid=782779&amp;group_id=75348&amp;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 &quot;-1&quot; 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&amp;aid=739630&amp;group_id=75348&amp;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 &quot;<strong>Multi Language</strong>&quot; 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 &quot;/test/test.doc&quot; has been
3787
- solved. In prior versions, only with XHTML support enabled, the URL was changed
3788
- to something like &quot;http://www.mysite.xxx/test/test.doc&quot; (The domain was
3789
- automatically added). Now the XHTML cleaning procedure gets the URLs exactly how
3790
- they are defined in the editor&rsquo;s HTML. </li>
3791
- <li>[<a target="_blank" href="http://sourceforge.net/tracker/index.php?func=detail&amp;aid=742168&amp;group_id=75348&amp;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&amp;aid=768210&amp;group_id=75348&amp;atid=543653">SF
3794
- BUG-768210</a>] HTML entities, like <strong>&amp;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&amp;aid=748812&amp;group_id=75348&amp;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 &quot;Insert Link&quot; and &quot;Insert
3805
- Image&quot; 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 &lt;p&gt;&lt;hr&gt;&lt;/p&gt;. </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 &quot;Link&quot; 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 &quot;config.ForcePasteAsPlainText&quot; in fck_config.js. </li>
3833
- <li>A new Toolbar button is available: &quot;Paste from Word&quot;. 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 &quot;config.AutoDetectPasteFromWord&quot; 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>&quot;Show Table Borders&quot; option: show borders for tables with borders size
3869
- set to zero. </li>
3870
- <li>&quot;Show Details&quot; option: show hidden elements (comments, scripts, paragraphs,
3871
- line breaks) </li>
3872
- <li>IE behavior integration module. Thanks to Daniel Shryock. </li>
3873
- <li>&quot;Find&quot; 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>&quot;Insert Smiley&quot; toolbar option! Thanks to Fredox. Take a look at fck_config.js
3887
- for configuration options. </li>
3888
- <li>&quot;Paste as plain text&quot; 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 &quot;red x&quot; 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&rsquo;s IFRAME (upload=true/false&amp;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 &amp;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 &lt;br&gt; 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 &lt;PRE&gt;
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 &lt;p&gt; 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 &lt;img &gt; instead of &lt;img /&gt;).</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 &lt;span class=&quot;Apple-style-span&quot;&gt; 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 &lt;head&gt; (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 "&lt;?=" to "&lt;? 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 &lt;object&gt;
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 &lt;strong&gt;
333
+ and &lt;em&gt; instead of &lt;b&gt; and &lt;i&gt;.</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 &lt;style&gt; 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 &lt;OBJECT&gt; and &lt;EMBED&gt; 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 &lt;EMBED&gt; 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/|&lt;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
+ &lt;li&gt; elements now get properly enclosed in a &lt;ul&gt; 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 &lt;button&gt; 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 &lt;div&gt; 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 &lt;o:p&gt; 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: "?&gt;", 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 &amp;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 &lt;PRE&gt;
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) &lt;textarea&gt; 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 &lt;pre&gt; 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 &lt;pre&gt; 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 &lt;style&gt;
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 &lt;area&gt; and &lt;map&gt; 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 &lt;BR&gt; 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 &lt;b&gt;, &lt;strong&gt;, &lt;span class...&gt;,
749
+ &lt;span style...&gt; 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 &lt;font&gt; 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 &quot;Remove All&quot; button, by using the &quot;<b>RemoveFormatTags</b>&quot;
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 &lt;blockquote&gt; 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
+ (&amp;, &lt; and &gt;) 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
+ &lt;form&gt; or &lt;hr&gt; inside &lt;p&gt;. &nbsp;</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 &lt;!--{PS..x}&gt; 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 &lt;area&gt; 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 &lt;pre&gt; blocks:
931
+ <ol>
932
+ <li>Leading whitespaces and line breaks in &lt;pre&gt; blocks are trimmed when the user
933
+ switches between editor mode and source mode;</li>
934
+ <li>Pressing Enter inside a &lt;pre&gt; 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 &lt;pre&gt; blocks entered in source mode are being turned
937
+ into &lt;br&gt; 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 &lt;br&gt; 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 &lt;ol&gt;
1004
+ or &lt;ul&gt; must be &lt;li&gt; nodes;</li>
1005
+ <li>IE editor hacks like &lt;ul type=&quot;1&quot;&gt; will no longer appear;</li>
1006
+ <li>Excessive &lt;div&gt; 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 &lt;br&gt; 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 &lt;div&gt; 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 &lt;style&gt; 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 &lt;pre&gt; 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 &quot;Automatic&quot; and &quot;More Colors...&quot; 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 &quot;Paste as plain text&quot; 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 &lt;p&gt;
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>] &lt;col&gt;
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 &lt;meta&gt; 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 &lt;meta&gt; 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 &lt;marquee&gt;
1172
+ element will no longer append unwanted &lt;p&gt;&amp;nbsp;&lt;/p&gt; 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 &lt;br&gt; 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>] &lt;object&gt; and &lt;embed&gt;
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 &amp;, &lt;
1229
+ and &gt;.</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 &lt;xml&gt;
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 &lt;br&gt; 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 "&lt;p&gt;" where making the caret disappear in Firefox.</li>
1352
+ <li>[<a target="_blank" href="http://dev.fckeditor.net/ticket/99">#99</a>] The &lt;div&gt;
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>&lt;p&gt;, &lt;div&gt; or &lt;br&gt;</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, &lt;style&gt; 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".&nbsp; 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&amp;aid=1421309&amp;group_id=75348&amp;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 &lt;head&gt;
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 &lt;abbr&gt; 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>] &lt;noscript&gt; 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 &lt;a&gt; or empty "src" in &lt;img&gt;
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 &lt;script&gt; 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 &lt;base&gt; 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 &lt;Not Set&gt; 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
+ &lt;pre&gt; 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&amp;aid=1454850&amp;group_id=75348&amp;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 &quot;Text Color&quot; and &quot;Background Color&quot; 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>&quot;Auto Grow&quot; 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&amp;aid=1444943&amp;group_id=75348&amp;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 &lt;EditorInstance&gt;.ToolbarSet.Load( '&lt;ToolbarName&gt;' ). See _testcases/010.html
1957
+ for a sample. </li>
1958
+ <li>The &quot;OnBlur&quot; and &quot;OnFocus&quot; 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&amp;aid=1399966&amp;group_id=75348&amp;atid=543653">SF
1971
+ BUG-1399966</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1249853&amp;group_id=75348&amp;atid=543653">SF
1972
+ BUG-1249853</a>] The &quot;BaseHref&quot; 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&amp;aid=1405263&amp;group_id=75348&amp;atid=543653">SF
1975
+ BUG-1405263</a>] A typo in the configuration file was impacting the Quick Upload
1976
+ feature. </li>
1977
+ <li>Nested &lt;ul&gt; and &lt;ol&gt; tags are now generating valid html.</li>
1978
+ <li>The &quot;wmode&quot; and &quot;quality&quot; 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 &quot;:&quot;,
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&amp;aid=1465203&amp;group_id=75348&amp;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&amp;aid=1456332&amp;group_id=75348&amp;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&amp;aid=1457078&amp;group_id=75348&amp;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&amp;aid=1459846&amp;group_id=75348&amp;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&amp;aid=1432120&amp;group_id=75348&amp;atid=543653">SF
2002
+ BUG-1432120</a>] The &quot;UserFilesAbsolutePath&quot; 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&amp;aid=1432120&amp;group_id=75348&amp;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&amp;aid=1410082&amp;group_id=75348&amp;atid=543653">SF
2008
+ BUG-1410082</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1424240&amp;group_id=75348&amp;atid=543653">SF
2009
+ BUG-1424240</a>] The &quot;moz-bindings.xml&quot; file is now well formed. </li>
2010
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1413980&amp;group_id=75348&amp;atid=543653">SF
2011
+ BUG-1413980</a>] All frameborder &quot;yes/no&quot; values have been changes to
2012
+ &quot;1/0&quot;. </li>
2013
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1414101&amp;group_id=75348&amp;atid=543653">SF
2014
+ BUG-1414101</a>] The fake table borders are now showing correctly when running under
2015
+ the &quot;file://&quot; protocol. </li>
2016
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1414155&amp;group_id=75348&amp;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 &lt;br /&gt; and
2033
+ &lt;hr /&gt; 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 &quot;<strong>Uploader</strong>&quot;, used for quick uploads,&nbsp;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 &quot;/FCKeditor&quot;
2058
+ directory.</li>
2059
+ </ul>
2060
+ </li>
2061
+ <li>And a big welcome also to &quot;Andrew Liu&quot;, 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 &quot;<strong>IsDirty()</strong>&quot; and &quot;<strong>ResetIsDirty()</strong>&quot;
2065
+ functions have been&nbsp;added to the&nbsp;JavaScript API&nbsp;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&scaron;)</li>
2071
+ </ul>
2072
+ </li>
2073
+ <li>For&nbsp;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&amp;aid=1325113&amp;group_id=75348&amp;atid=543653">SF
2076
+ BUG-1325113</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1277661&amp;group_id=75348&amp;atid=543653">SF
2077
+ BUG-1277661</a>] The new &quot;Delete Table&quot; command is available in the
2078
+ Context Menu when right-clicking inside a table. </li>
2079
+ <li>The &quot;FCKConfig.DisableTableHandles&quot; configuration option is now working
2080
+ on Firefox 1.5. </li>
2081
+ <li>The new &quot;<strong>OnBlur</strong>&quot; and &quot;<strong>OnFocus</strong>&quot;
2082
+ events have been added to the JavaScript API (IE only). See&nbsp;&quot;_samples/html/sample09.html&quot;&nbsp;*
2083
+ </li>
2084
+ <li><strong><font color="#ff0000">Attention</font></strong>: The &quot;<strong>GetHTML</strong>&quot;
2085
+ function has been deprecated. It now returns the same value as &quot;<strong>GetXHTML</strong>&quot;.
2086
+ The same is valid for the &quot;EnableXHTML&quot; and &quot;EnableSourceXHTML&quot;
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 &quot;<strong>PreserveSessionOnFileBrowser</strong>&quot;
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 &quot;<strong>fun</strong>&quot;
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 &quot;<strong>mcpuk</strong>&quot;
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 &quot;SpecialCharsOut&quot; and &quot;SpecialCharsOver&quot;
2103
+ in the &quot;fck_dialog.css&quot; skin file.* </li>
2104
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1268726&amp;group_id=75348&amp;atid=543655">SF
2105
+ Patch-1268726</a>] Added table &quot;summary&quot; 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&amp;aid=1284380&amp;group_id=75348&amp;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&amp;aid=1338610&amp;group_id=75348&amp;atid=543655">SF
2112
+ Patch-1338610</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1263009&amp;group_id=75348&amp;atid=543656">SF
2113
+ Patch-1263009</a>] New characters have been added to the &quot;Special Characters&quot;
2114
+ dialog window. Thanks to Deian. </li>
2115
+ <li>You can set the QueryString value &quot;fckdebug=true&quot; to activate &quot;debug
2116
+ mode&quot; in the editor (showing the debug window), overriding the configurations.
2117
+ The &quot;AllowQueryStringDebug&quot; 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&amp;aid=1363548&amp;group_id=75348&amp;atid=543653">SF
2124
+ BUG-1363548</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1364425&amp;group_id=75348&amp;atid=543653">SF
2125
+ BUG-1364425</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1335045&amp;group_id=75348&amp;atid=543653">SF
2126
+ BUG-1335045</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1289661&amp;group_id=75348&amp;atid=543653">SF
2127
+ BUG-1289661</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1225370&amp;group_id=75348&amp;atid=543653">SF
2128
+ BUG-1225370</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1156291&amp;group_id=75348&amp;atid=543653">SF
2129
+ BUG-1156291</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1165914&amp;group_id=75348&amp;atid=543653">SF
2130
+ BUG-1165914</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1111877&amp;group_id=75348&amp;atid=543653">SF
2131
+ BUG-1111877</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1092373&amp;group_id=75348&amp;atid=543653">SF
2132
+ BUG-1092373</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1101596&amp;group_id=75348&amp;atid=543653">SF
2133
+ BUG-1101596</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1246952&amp;group_id=75348&amp;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&amp;aid=1162809&amp;group_id=75348&amp;atid=543653">SF
2138
+ BUG-1162809</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1205638&amp;group_id=75348&amp;atid=543653">SF
2139
+ BUG-1205638</a>] The &quot;Image&quot; and &quot;Flash&quot;&nbsp;dialog windows
2140
+ now loads the preview correctly if the &quot;BaseHref&quot; configuration option
2141
+ is set. </li>
2142
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1329807&amp;group_id=75348&amp;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 &quot;Panel&quot; 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&amp;aid=1186927&amp;group_id=75348&amp;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&amp;aid=1076435&amp;group_id=75348&amp;atid=543653">SF
2157
+ BUG-1076435</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1200631&amp;group_id=75348&amp;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&amp;atid=543653&amp;aid=1364094&amp;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&amp;atid=543653&amp;aid=1315954&amp;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&amp;aid=1341553&amp;group_id=75348&amp;atid=543653">SF
2169
+ BUG-1341553</a>] A small fix for a security alert in the File&nbsp;Browser has been
2170
+ applied. </li>
2171
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1370953&amp;group_id=75348&amp;atid=543653">SF
2172
+ BUG-1370953</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1339898&amp;group_id=75348&amp;atid=543653">SF
2173
+ BUG-1339898</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1323319&amp;group_id=75348&amp;atid=543653">SF
2174
+ BUG-1323319</a>] A message will be shown to the user (instead of a JS error)&nbsp;if
2175
+ a &quot;popup blocker&quot; blocks the &quot;Browser Server&quot; button. Thanks
2176
+ to Erwin Verdonk. </li>
2177
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1370355&amp;group_id=75348&amp;atid=543653">SF
2178
+ BUG-1370355</a>] Anchor links that points to a single character anchor, like &quot;#A&quot;,
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&amp;aid=1368998&amp;group_id=75348&amp;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&amp;aid=1367802&amp;group_id=75348&amp;atid=543653">SF
2184
+ BUG-1367802</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1207740&amp;group_id=75348&amp;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&amp;aid=1358891&amp;group_id=75348&amp;atid=543653">SF
2188
+ BUG-1358891</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1340960&amp;group_id=75348&amp;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&amp;aid=1357247&amp;group_id=75348&amp;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&amp;aid=1328488&amp;group_id=75348&amp;atid=543653">SF
2194
+ BUG-1328488</a>] <strong><font color="#ff0000">Attention</font></strong>: The Page
2195
+ Break command now produces different tags&nbsp;to avoid&nbsp;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&nbsp;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&amp;aid=1336792&amp;group_id=75348&amp;atid=543653">SF
2203
+ BUG-1336792</a>] A fix has been applied to the XHTML processor to allow tag names
2204
+ with the &quot;minus&quot; char (-). </li>
2205
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1339560&amp;group_id=75348&amp;atid=543653">SF
2206
+ BUG-1339560</a>] The editor now correctly removes the &quot;selected&quot; 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&nbsp;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&amp;aid=1360717&amp;group_id=75348&amp;atid=543653">SF
2219
+ BUG-1360717</a>] A wrapping issue in the &quot;Silver&quot; skin has been corrected.
2220
+ Thanks to Ricky Casey. </li>
2221
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1251145&amp;group_id=75348&amp;atid=543653">SF
2222
+ BUG-1251145</a>] In IE, the focus is now maintained in the text when clicking in
2223
+ the empty area&nbsp;following it. </li>
2224
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1181386&amp;group_id=75348&amp;atid=543653">SF
2225
+ BUG-1181386</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1237791&amp;group_id=75348&amp;atid=543653">SF
2226
+ BUG-1237791</a>] The &quot;Stylesheet Classes&quot; field in the Link dialog
2227
+ window in now applied correctly on IE. Thanks to Andrew Crowe. </li>
2228
+ <li>The &quot;Past from Word&quot; 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&amp;aid=1315008&amp;group_id=75348&amp;atid=543653">SF
2231
+ BUG-1315008</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1241992&amp;group_id=75348&amp;atid=543653">SF
2232
+ BUG-1241992</a>] IE, when selecting objects (like images) and hitting the &quot;Backspace&quot;
2233
+ button, the browser's &quot;back&quot; will not get executed anymore and the object
2234
+ will be correctly deleted. </li>
2235
+ <li>The &quot;AutoDetectPasteFromWord&quot; is now working correctly in IE. Thanks to
2236
+ Juan Ant. G&oacute;mez. </li>
2237
+ <li>A small enhancement has been made in the Word pasting detection. Thanks to Juan
2238
+ Ant. G&oacute;mez. </li>
2239
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1090686&amp;group_id=75348&amp;atid=543653">SF
2240
+ BUG-1090686</a>] No more conflict with Firefox &quot;Type-Ahead Find&quot; feature.
2241
+ </li>
2242
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=942653&amp;group_id=75348&amp;atid=543653">SF
2243
+ BUG-942653</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1155856&amp;group_id=75348&amp;atid=543653">SF
2244
+ BUG-1155856</a>] The &quot;width&quot; and &quot;height&quot; 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&amp;aid=1209093&amp;group_id=75348&amp;atid=543653">SF
2247
+ BUG-1209093</a>] When &quot;Full Page Editing&quot; is active, in the &quot;Document
2248
+ Properties&quot; dialog, the &quot;Browse Server&quot; button for the page background
2249
+ is now correctly hidden if &quot;ImageBrowser&quot; is set to &quot;false&quot;
2250
+ in the configurations file. Thanks to Richard. </li>
2251
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1120266&amp;group_id=75348&amp;atid=543653">SF
2252
+ BUG-1120266</a>] [<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1186196&amp;group_id=75348&amp;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&amp;aid=1244480&amp;group_id=75348&amp;atid=543653">SF
2256
+ BUG-1244480</a>] The editor now will look first to linked fields &quot;ids&quot;
2257
+ and&nbsp;second to &quot;names&quot;. </li>
2258
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1252905&amp;group_id=75348&amp;atid=543653">SF
2259
+ BUG-1252905</a>] The &quot;InsertHtml&quot; function now preserves URLs as entered.
2260
+ </li>
2261
+ <li>[<a target="_blank" href="https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1266317&amp;group_id=75348&amp;atid=543653">SF
2262
+ BUG-1266317</a>] Toolbar commands are not anymore executed outside the editor. </li>
2263
+ <li>[<a target="_blank" href="https://sourcefo