Changeset 40583 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 05/08/2017 05:31:08 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r40515 r40583 948 948 'resize' => 'vertical', 949 949 'menubar' => false, 950 'branding' => false, 950 951 951 952 // Limit the preview styles in the menu/toolbar … … 1040 1041 'Anchor' => _x( 'Anchor', 'Link anchor (TinyMCE)' ), 1041 1042 'Anchors' => _x( 'Anchors', 'Link anchors (TinyMCE)' ), 1043 'Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.' => 1044 __( 'Id should start with a letter, followed only by letters, numbers, dashes, dots, colons or underscores.' ), 1045 'Id' => _x( 'Id', 'Id for link anchor (TinyMCE)' ), 1042 1046 1043 1047 // Fullpage plugin … … 1051 1055 1052 1056 // Media, image plugins 1057 'Image' => __( 'Image' ), 1053 1058 'Insert/edit image' => array( __( 'Insert/edit image' ), 'accessM' ), 1054 1059 'General' => __( 'General' ), … … 1062 1067 'Dimensions' => __( 'Dimensions' ), 1063 1068 'Insert image' => __( 'Insert image' ), 1069 'Date/time' => __( 'Date/time' ), 1064 1070 'Insert date/time' => __( 'Insert date/time' ), 1065 'Insert/edit video' => __( 'Insert/edit video' ), 1071 'Table of Contents' => __( 'Table of Contents' ), 1072 'Insert/Edit code sample' => __( 'Insert/edit code sample' ), 1073 'Language' => __( 'Language' ), 1074 'Media' => __( 'Media' ), 1075 'Insert/edit media' => __( 'Insert/edit media' ), 1066 1076 'Poster' => __( 'Poster' ), 1067 1077 'Alternative source' => __( 'Alternative source' ), … … 1088 1098 'Remove link' => array( __( 'Remove link' ), 'accessS' ), 1089 1099 1100 // Link plugin 1101 'Link' => __( 'Link' ), 1102 'Insert link' => __( 'Insert link' ), 1103 'Insert/edit link' => __( 'Insert/edit link' ), 1104 'Target' => __( 'Target' ), 1105 'New window' => __( 'New window' ), 1106 'Text to display' => __( 'Text to display' ), 1107 'Url' => __( 'URL' ), 1108 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?' => 1109 __( 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?' ), 1110 'The URL you entered seems to be an external link. Do you want to add the required http:// prefix?' => 1111 __( 'The URL you entered seems to be an external link. Do you want to add the required http:// prefix?' ), 1112 1090 1113 'Color' => __( 'Color' ), 1091 1114 'Custom color' => __( 'Custom color' ), 1092 1115 'Custom...' => _x( 'Custom...', 'label for custom color' ), // no ellipsis 1093 1116 'No color' => __( 'No color' ), 1117 'R' => _x( 'R', 'Short for red in RGB' ), 1118 'G' => _x( 'G', 'Short for green in RGB' ), 1119 'B' => _x( 'B', 'Short for blue in RGB' ), 1094 1120 1095 1121 // Spelling, search/replace plugins … … 1236 1262 } 1237 1263 1238 /** 1239 * Link plugin (not included): 1240 * Insert link 1241 * Target 1242 * New window 1243 * Text to display 1244 * The URL you entered seems to be an email address. Do you want to add the required mailto: prefix? 1245 * The URL you entered seems to be an external link. Do you want to add the required http:\/\/ prefix? 1246 * Url 1247 */ 1264 /* 1265 Imagetools plugin (not included): 1266 'Edit image' => __( 'Edit image' ), 1267 'Image options' => __( 'Image options' ), 1268 'Back' => __( 'Back' ), 1269 'Invert' => __( 'Invert' ), 1270 'Flip horizontally' => __( 'Flip horizontally' ), 1271 'Flip vertically' => __( 'Flip vertically' ), 1272 'Crop' => __( 'Crop' ), 1273 'Orientation' => __( 'Orientation' ), 1274 'Resize' => __( 'Resize' ), 1275 'Rotate clockwise' => __( 'Rotate clockwise' ), 1276 'Rotate counterclockwise' => __( 'Rotate counterclockwise' ), 1277 'Sharpen' => __( 'Sharpen' ), 1278 'Brightness' => __( 'Brightness' ), 1279 'Color levels' => __( 'Color levels' ), 1280 'Contrast' => __( 'Contrast' ), 1281 'Gamma' => __( 'Gamma' ), 1282 'Zoom in' => __( 'Zoom in' ), 1283 'Zoom out' => __( 'Zoom out' ), 1284 */ 1248 1285 1249 1286 return self::$translation; … … 1457 1494 1458 1495 if ( typeof tinymce !== 'undefined' ) { 1496 if ( tinymce.Env.ie && tinymce.Env.ie < 11 ) { 1497 tinymce.$( '.wp-editor-wrap ' ).removeClass( 'tmce-active' ).addClass( 'html-active' ); 1498 return; 1499 } 1500 1459 1501 for ( id in tinyMCEPreInit.mceInit ) { 1460 1502 init = tinyMCEPreInit.mceInit[id];
Note: See TracChangeset
for help on using the changeset viewer.