Changeset 4895
- Timestamp:
- 01/06/10 23:00:18 (3 years ago)
- Location:
- CKEditor/trunk/_source
- Files:
-
- 5 edited
-
core/config.js (modified) (3 diffs)
-
core/editor.js (modified) (1 diff)
-
plugins/link/dialogs/link.js (modified) (1 diff)
-
plugins/pastefromword/filter/default.js (modified) (3 diffs)
-
plugins/pastefromword/plugin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/_source/core/config.js
r4858 r4895 168 168 169 169 /** 170 * Sets the 'id' attribute to be used on body if it doesn't have one. 170 * Sets the "id" attribute to be used on the body element of the editing 171 * area. 172 * @since 3.1 171 173 * @type String 172 174 * @default '' … … 175 177 176 178 /** 177 * Sets the 'class' attribute to be used on body if it doesn't have one. 179 * Sets the "class" attribute to be used on the body element of the editing 180 * area. 181 * @since 3.1 178 182 * @type String 179 183 * @default '' … … 186 190 * <body> tags. The final output will also reflect this setting, 187 191 * including the <body> contents only if this setting is disabled. 192 * @since 3.1 188 193 * @type Boolean 189 194 * @default false -
CKEditor/trunk/_source/core/editor.js
r4871 r4895 686 686 * Whether escape HTML when editor update original input element. 687 687 * @name CKEDITOR.config.htmlEncodeOutput 688 * @since 3.1 688 689 * @type {Boolean} 689 690 * @default false -
CKEditor/trunk/_source/plugins/link/dialogs/link.js
r4858 r4895 1360 1360 1361 1361 /** 1362 * The e-mail address anti-spam protection option. 1362 * <p>The e-mail address anti-spam protection option. The protection will be 1363 * applied when creating or modifying e-mail links through the editor interface.</p> 1364 * <p>Two methods of protection can be choosed:</p> 1365 * <ol> <li>The e-mail parts (name, domain and any other query string) are 1366 * assembled into a function call pattern. Such function must be 1367 * provided by the developer in the pages that will use the contents. 1368 * <li>Only the e-mail address is obfuscated into a special string that 1369 * has no meaning for humans or spam bots, but which is properly 1370 * rendered and accepted by the browser.</li></ol> 1371 * <p>Both approaches require JavaScript to be enabled.</p> 1363 1372 * @name CKEDITOR.config.emailProtection 1373 * @since 3.1 1364 1374 * @type {String} 1365 * Two forms of protection could be choosed from : 1366 * 1. The whole address parts ( name, domain with any other query string ) are assembled into a 1367 * function call pattern which invoke you own provided function, with the specified arguments. 1368 * 2. Only the e-mail address is obfuscated into unicode code point sequences, replacement are 1369 * done by a String.fromCharCode() call. 1370 * Note: Both approaches require JavaScript to be enabled. 1371 * @default '' 1375 * @default '' (empty string = disabled) 1372 1376 * @example 1373 * config.emailProtection = ''; 1374 * // href="mailto:tester@ckeditor.com?subject=subject&body=body" 1375 * config.emailProtection = 'encode'; 1376 * // href="<a href=\"javascript:void(location.href=\'mailto:\'+String.fromCharCode(116,101,115,116,101,114,64,99,107,101,100,105,116,111,114,46,99,111,109)+\'?subject=subject&body=body\')\">e-mail</a>" 1377 * config.emailProtection = 'mt(NAME,DOMAIN,SUBJECT,BODY)'; 1378 * // href="javascript:mt('tester','ckeditor.com','subject','body')" 1377 * // href="mailto:tester@ckeditor.com?subject=subject&body=body" 1378 * config.emailProtection = ''; 1379 * @example 1380 * // href="<a href=\"javascript:void(location.href=\'mailto:\'+String.fromCharCode(116,101,115,116,101,114,64,99,107,101,100,105,116,111,114,46,99,111,109)+\'?subject=subject&body=body\')\">e-mail</a>" 1381 * config.emailProtection = 'encode'; 1382 * @example 1383 * // href="javascript:mt('tester','ckeditor.com','subject','body')" 1384 * config.emailProtection = 'mt(NAME,DOMAIN,SUBJECT,BODY)'; 1379 1385 */ -
CKEditor/trunk/_source/plugins/pastefromword/filter/default.js
r4893 r4895 1145 1145 1146 1146 /** 1147 * Whether t he ignore all font-related formatstyles, including:1148 * - font size;1149 * - font family;1150 * - font fore/background color;1147 * Whether to ignore all font related formatting styles, including: 1148 * <ul> <li>font size;</li> 1149 * <li>font family;</li> 1150 * <li>font foreground/background color.</li></ul> 1151 1151 * @name CKEDITOR.config.pasteFromWordRemoveFontStyles 1152 * @since 3.1 1152 1153 * @type Boolean 1153 1154 * @default true … … 1157 1158 1158 1159 /** 1159 * Whether t ransform MS-Word Outline Numbered Heading into html list.1160 * Whether to transform MS Word outline numbered headings into lists. 1160 1161 * @name CKEDITOR.config.pasteFromWordNumberedHeadingToList 1162 * @since 3.1 1161 1163 * @type Boolean 1162 1164 * @default false … … 1166 1168 1167 1169 /** 1168 * Whether remove element styles that can't be managed with editor, note that this1169 * th is doesn't handle the font-specific styles, which depends on1170 * how {@link CKEDITOR.config.pasteFromWordRemoveFontStyles} is configured.1170 * Whether to remove element styles that can't be managed with the editor. Note 1171 * that this doesn't handle the font specific styles, which depends on the 1172 * {@link CKEDITOR.config.pasteFromWordRemoveFontStyles} setting instead. 1171 1173 * @name CKEDITOR.config.pasteFromWordRemoveStyles 1174 * @since 3.1 1172 1175 * @type Boolean 1173 1176 * @default true -
CKEditor/trunk/_source/plugins/pastefromword/plugin.js
r4858 r4895 97 97 98 98 /** 99 * Whether prompt the user about the clean-up of content from MS-Word. 99 * Whether to prompt the user about the clean up of content being pasted from 100 * MS Word. 100 101 * @name CKEDITOR.config.pasteFromWordPromptCleanup 102 * @since 3.1 101 103 * @type Boolean 102 104 * @default undefined … … 106 108 107 109 /** 108 * The file that provides the MS-Word Filtering rules. 109 * Note: It's a global configuration which are shared by all editor instances. 110 * The file that provides the MS Word cleanup function for pasting operations. 111 * Note: This is a global configuration shared by all editor instances present 112 * in the page. 110 113 * @name CKEDITOR.config.pasteFromWordCleanupFile 114 * @since 3.1 111 115 * @type String 112 116 * @default 'default'
Note: See TracChangeset
for help on using the changeset viewer.
