|
106 | 106 | var z,
|
107 | 107 | buttons = btnGroups[y].data,
|
108 | 108 | btnGroupContainer = $('<div/>', {
|
109 |
| - 'class': 'btn-group' |
| 109 | + 'class': 'btn-group mr-2' |
110 | 110 | });
|
111 | 111 |
|
112 | 112 | for (z = 0; z < buttons.length; z++) {
|
|
122 | 122 |
|
123 | 123 | // Construct the button object
|
124 | 124 | buttonContainer = $('<button></button>');
|
125 |
| - buttonContainer.text(' ' + this.__localize(btnText)).addClass('btn-default btn-sm').addClass(btnClass); |
| 125 | + buttonContainer.text(' ' + this.__localize(btnText)).addClass('btn-secondary btn-sm').addClass(btnClass); |
126 | 126 | if (btnClass.match(/btn\-(primary|success|info|warning|danger|link)/)) {
|
127 |
| - buttonContainer.removeClass('btn-default'); |
| 127 | + buttonContainer.removeClass('btn-secondary'); |
128 | 128 | }
|
129 | 129 | buttonContainer.attr({
|
130 | 130 | 'type': 'button',
|
|
973 | 973 | width: 'inherit',
|
974 | 974 | height: 'inherit',
|
975 | 975 | resize: 'none',
|
976 |
| - iconlibrary: 'glyph', |
| 976 | + iconlibrary: 'fa', |
977 | 977 | language: 'en',
|
978 | 978 | initialstate: 'editor',
|
979 | 979 | parser: null,
|
|
989 | 989 | hotkey: 'Ctrl+B',
|
990 | 990 | title: 'Bold',
|
991 | 991 | icon: {
|
992 |
| - glyph: 'glyphicon glyphicon-bold', |
993 | 992 | fa: 'fa fa-bold',
|
994 | 993 | 'fa-3': 'icon-bold',
|
995 | 994 | octicons: 'octicon octicon-bold'
|
|
1025 | 1024 | title: 'Italic',
|
1026 | 1025 | hotkey: 'Ctrl+I',
|
1027 | 1026 | icon: {
|
1028 |
| - glyph: 'glyphicon glyphicon-italic', |
1029 | 1027 | fa: 'fa fa-italic',
|
1030 | 1028 | 'fa-3': 'icon-italic',
|
1031 | 1029 | octicons: 'octicon octicon-italic'
|
|
1061 | 1059 | title: 'Heading',
|
1062 | 1060 | hotkey: 'Ctrl+H',
|
1063 | 1061 | icon: {
|
1064 |
| - glyph: 'glyphicon glyphicon-header', |
1065 | 1062 | fa: 'fa fa-header',
|
1066 | 1063 | 'fa-3': 'icon-font',
|
1067 | 1064 | octicons: 'octicon octicon-text-size'
|
|
1105 | 1102 | title: 'URL/Link',
|
1106 | 1103 | hotkey: 'Ctrl+L',
|
1107 | 1104 | icon: {
|
1108 |
| - glyph: 'glyphicon glyphicon-link', |
1109 | 1105 | fa: 'fa fa-link',
|
1110 | 1106 | 'fa-3': 'icon-link',
|
1111 | 1107 | octicons: 'octicon octicon-link'
|
|
1142 | 1138 | title: 'Image',
|
1143 | 1139 | hotkey: 'Ctrl+G',
|
1144 | 1140 | icon: {
|
1145 |
| - glyph: 'glyphicon glyphicon-picture', |
1146 | 1141 | fa: 'fa fa-picture-o',
|
1147 | 1142 | 'fa-3': 'icon-picture',
|
1148 | 1143 | octicons: 'octicon octicon-file-media'
|
|
1185 | 1180 | hotkey: 'Ctrl+U',
|
1186 | 1181 | title: 'Unordered List',
|
1187 | 1182 | icon: {
|
1188 |
| - glyph: 'glyphicon glyphicon-list', |
1189 | 1183 | fa: 'fa fa-list',
|
1190 | 1184 | 'fa-3': 'icon-list-ul',
|
1191 | 1185 | octicons: 'octicon octicon-list-unordered'
|
|
1236 | 1230 | hotkey: 'Ctrl+O',
|
1237 | 1231 | title: 'Ordered List',
|
1238 | 1232 | icon: {
|
1239 |
| - glyph: 'glyphicon glyphicon-th-list', |
1240 | 1233 | fa: 'fa fa-list-ol',
|
1241 | 1234 | 'fa-3': 'icon-list-ol',
|
1242 | 1235 | octicons: 'octicon octicon-list-ordered'
|
|
1289 | 1282 | hotkey: 'Ctrl+K',
|
1290 | 1283 | title: 'Code',
|
1291 | 1284 | icon: {
|
1292 |
| - glyph: 'glyphicon glyphicon-console', |
1293 | 1285 | fa: 'fa fa-code',
|
1294 | 1286 | 'fa-3': 'icon-code',
|
1295 | 1287 | octicons: 'octicon octicon-code'
|
|
1333 | 1325 | hotkey: 'Ctrl+Q',
|
1334 | 1326 | title: 'Quote',
|
1335 | 1327 | icon: {
|
1336 |
| - glyph: 'glyphicon glyphicon-comment', |
1337 | 1328 | fa: 'fa fa-quote-left',
|
1338 | 1329 | 'fa-3': 'icon-quote-left',
|
1339 | 1330 | octicons: 'octicon octicon-quote'
|
|
1391 | 1382 | btnText: 'Preview',
|
1392 | 1383 | btnClass: 'btn btn-primary btn-sm',
|
1393 | 1384 | icon: {
|
1394 |
| - glyph: 'glyphicon glyphicon-search', |
1395 | 1385 | fa: 'fa fa-search',
|
1396 | 1386 | 'fa-3': 'icon-search',
|
1397 | 1387 | octicons: 'octicon octicon-search'
|
|
1424 | 1414 | name: "fullscreenOn",
|
1425 | 1415 | icon: {
|
1426 | 1416 | fa: 'fa fa-expand',
|
1427 |
| - glyph: 'glyphicon glyphicon-fullscreen', |
1428 | 1417 | 'fa-3': 'icon-resize-full',
|
1429 | 1418 | octicons: 'octicon octicon-link-external'
|
1430 | 1419 | }
|
|
1433 | 1422 | name: "fullscreenOff",
|
1434 | 1423 | icon: {
|
1435 | 1424 | fa: 'fa fa-compress',
|
1436 |
| - glyph: 'glyphicon glyphicon-fullscreen', |
1437 | 1425 | 'fa-3': 'icon-resize-small',
|
1438 | 1426 | octicons: 'octicon octicon-browser'
|
1439 | 1427 | }
|
|
0 commit comments