@syncfusion/ej2-richtexteditor 24.2.7 → 24.2.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/ej2-richtexteditor.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js +2 -2
- package/dist/ej2-richtexteditor.umd.min.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es2015.js +294 -147
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +295 -146
- package/dist/es6/ej2-richtexteditor.es5.js.map +1 -1
- package/dist/global/ej2-richtexteditor.min.js +2 -2
- package/dist/global/ej2-richtexteditor.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +7 -7
- package/src/editor-manager/plugin/dom-node.js +3 -1
- package/src/editor-manager/plugin/format-painter-actions.d.ts +1 -0
- package/src/editor-manager/plugin/format-painter-actions.js +18 -0
- package/src/editor-manager/plugin/lists.js +79 -70
- package/src/rich-text-editor/actions/base-quick-toolbar.js +2 -2
- package/src/rich-text-editor/actions/color-picker.d.ts +1 -0
- package/src/rich-text-editor/actions/color-picker.js +10 -0
- package/src/rich-text-editor/actions/toolbar.js +3 -0
- package/src/rich-text-editor/base/constant.d.ts +5 -0
- package/src/rich-text-editor/base/constant.js +5 -0
- package/src/rich-text-editor/base/rich-text-editor.js +21 -5
- package/src/rich-text-editor/models/default-locale.js +1 -1
- package/src/rich-text-editor/renderer/dialog-renderer.js +5 -1
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +1 -1
- package/src/rich-text-editor/renderer/image-module.js +28 -7
- package/src/rich-text-editor/renderer/table-module.d.ts +3 -1
- package/src/rich-text-editor/renderer/table-module.js +111 -50
- package/src/rich-text-editor/renderer/toolbar-renderer.js +13 -13
- package/styles/bootstrap-dark.css +32 -13
- package/styles/bootstrap.css +36 -20
- package/styles/bootstrap4.css +18 -3
- package/styles/bootstrap5-dark.css +22 -9
- package/styles/bootstrap5.css +22 -9
- package/styles/fabric-dark.css +18 -3
- package/styles/fabric.css +18 -3
- package/styles/fluent-dark.css +24 -3
- package/styles/fluent.css +24 -3
- package/styles/highcontrast-light.css +18 -3
- package/styles/highcontrast.css +21 -3
- package/styles/material-dark.css +22 -3
- package/styles/material.css +22 -3
- package/styles/material3-dark.css +19 -4
- package/styles/material3.css +19 -4
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +8 -8
- package/styles/rich-text-editor/_bootstrap-definition.scss +14 -14
- package/styles/rich-text-editor/_layout.scss +11 -0
- package/styles/rich-text-editor/_material3-definition.scss +1 -1
- package/styles/rich-text-editor/_theme.scss +47 -13
- package/styles/rich-text-editor/bootstrap-dark.css +32 -13
- package/styles/rich-text-editor/bootstrap.css +36 -20
- package/styles/rich-text-editor/bootstrap4.css +18 -3
- package/styles/rich-text-editor/bootstrap5-dark.css +22 -9
- package/styles/rich-text-editor/bootstrap5.css +22 -9
- package/styles/rich-text-editor/fabric-dark.css +18 -3
- package/styles/rich-text-editor/fabric.css +18 -3
- package/styles/rich-text-editor/fluent-dark.css +24 -3
- package/styles/rich-text-editor/fluent.css +24 -3
- package/styles/rich-text-editor/highcontrast-light.css +18 -3
- package/styles/rich-text-editor/highcontrast.css +21 -3
- package/styles/rich-text-editor/material-dark.css +22 -3
- package/styles/rich-text-editor/material.css +22 -3
- package/styles/rich-text-editor/material3-dark.css +19 -4
- package/styles/rich-text-editor/material3.css +19 -4
- package/styles/rich-text-editor/tailwind-dark.css +30 -3
- package/styles/rich-text-editor/tailwind.css +30 -3
- package/styles/tailwind-dark.css +30 -3
- package/styles/tailwind.css +30 -3
- package/.github/PULL_REQUEST_TEMPLATE/Bug.md +0 -41
- package/.github/PULL_REQUEST_TEMPLATE/Feature.md +0 -27
|
@@ -17,7 +17,6 @@ var Table = /** @class */ (function () {
|
|
|
17
17
|
this.pageY = null;
|
|
18
18
|
this.moveEle = null;
|
|
19
19
|
this.currentColumnResize = '';
|
|
20
|
-
this.currentMarginLeft = 0;
|
|
21
20
|
this.parent = parent;
|
|
22
21
|
this.rteID = parent.element.id;
|
|
23
22
|
this.l10n = serviceLocator.getService('rteLocale');
|
|
@@ -633,7 +632,7 @@ var Table = /** @class */ (function () {
|
|
|
633
632
|
};
|
|
634
633
|
Table.prototype.tableResizeEleCreation = function (table, e) {
|
|
635
634
|
this.parent.preventDefaultResize(e);
|
|
636
|
-
var columns =
|
|
635
|
+
var columns = this.calMaxCol(this.curTable);
|
|
637
636
|
var rows = [];
|
|
638
637
|
for (var i = 0; i < table.rows.length; i++) {
|
|
639
638
|
for (var j = 0; j < table.rows[i].cells.length; j++) {
|
|
@@ -765,6 +764,7 @@ var Table = /** @class */ (function () {
|
|
|
765
764
|
if (target.classList.contains(classes.CLS_TB_COL_RES) ||
|
|
766
765
|
target.classList.contains(classes.CLS_TB_ROW_RES) ||
|
|
767
766
|
target.classList.contains(classes.CLS_TB_BOX_RES)) {
|
|
767
|
+
this.resetResizeHelper(this.curTable);
|
|
768
768
|
e.preventDefault();
|
|
769
769
|
this.parent.preventDefaultResize(e);
|
|
770
770
|
removeClass(this.curTable.querySelectorAll('td,th'), classes.CLS_TABLE_SEL);
|
|
@@ -775,9 +775,10 @@ var Table = /** @class */ (function () {
|
|
|
775
775
|
this.hideTableQuickToolbar();
|
|
776
776
|
if (target.classList.contains(classes.CLS_TB_COL_RES)) {
|
|
777
777
|
this.resizeBtnStat.column = true;
|
|
778
|
-
if (parseInt(target.getAttribute('data-col'), 10) === this.
|
|
778
|
+
if (parseInt(target.getAttribute('data-col'), 10) === this.calMaxCol(this.curTable).length) {
|
|
779
779
|
this.currentColumnResize = 'last';
|
|
780
|
-
this.
|
|
780
|
+
this.colIndex = parseInt(target.getAttribute('data-col'), 10) - 1;
|
|
781
|
+
this.columnEle = this.calMaxCol(this.curTable)[this.colIndex];
|
|
781
782
|
}
|
|
782
783
|
else {
|
|
783
784
|
if (parseInt(target.getAttribute('data-col'), 10) === 0) {
|
|
@@ -824,9 +825,9 @@ var Table = /** @class */ (function () {
|
|
|
824
825
|
}
|
|
825
826
|
}
|
|
826
827
|
}
|
|
827
|
-
this.
|
|
828
|
+
this.colIndex = parseInt(target.getAttribute('data-col'), 10);
|
|
829
|
+
this.columnEle = this.calMaxCol(this.curTable)[this.colIndex];
|
|
828
830
|
}
|
|
829
|
-
this.colIndex = this.columnEle.cellIndex;
|
|
830
831
|
this.moveEle = e.target;
|
|
831
832
|
this.appendHelper();
|
|
832
833
|
}
|
|
@@ -915,16 +916,33 @@ var Table = /** @class */ (function () {
|
|
|
915
916
|
this.helper.style.top = top_1 + 'px';
|
|
916
917
|
}
|
|
917
918
|
};
|
|
918
|
-
Table.prototype.calMaxCol = function (
|
|
919
|
-
var
|
|
920
|
-
var
|
|
921
|
-
for (var
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
919
|
+
Table.prototype.calMaxCol = function (curTable) {
|
|
920
|
+
var cellColl = curTable.rows[0].cells;
|
|
921
|
+
var cellCount = 0;
|
|
922
|
+
for (var cell = 0; cell < cellColl.length; cell++) {
|
|
923
|
+
cellCount = cellCount + cellColl[cell].colSpan;
|
|
924
|
+
}
|
|
925
|
+
var cells = new Array(cellCount);
|
|
926
|
+
var rowSpanCells = new Map();
|
|
927
|
+
for (var i = 0; i < curTable.rows.length; i++) {
|
|
928
|
+
var currentColIndex = 0;
|
|
929
|
+
for (var k = 0; k < curTable.rows[i].cells.length; k++) {
|
|
930
|
+
for (var l = 1; l < curTable.rows[i].cells[k].rowSpan; l++) {
|
|
931
|
+
var key = "" + (i + l) + currentColIndex;
|
|
932
|
+
rowSpanCells.set(key, curTable.rows[i].cells[k]);
|
|
933
|
+
}
|
|
934
|
+
var cellIndex = this.getCellIndex(rowSpanCells, i, k);
|
|
935
|
+
if (cellIndex > currentColIndex) {
|
|
936
|
+
currentColIndex = cellIndex;
|
|
937
|
+
}
|
|
938
|
+
var width = curTable.rows[i].cells[k].offsetWidth;
|
|
939
|
+
if (!cells[currentColIndex] || width < cells[currentColIndex].offsetWidth) {
|
|
940
|
+
cells[currentColIndex] = curTable.rows[i].cells[k];
|
|
941
|
+
}
|
|
942
|
+
currentColIndex += 1 + curTable.rows[i].cells[k].colSpan - 1;
|
|
925
943
|
}
|
|
926
944
|
}
|
|
927
|
-
return
|
|
945
|
+
return cells;
|
|
928
946
|
};
|
|
929
947
|
Table.prototype.resizing = function (e) {
|
|
930
948
|
var _this = this;
|
|
@@ -962,7 +980,6 @@ var Table = /** @class */ (function () {
|
|
|
962
980
|
}
|
|
963
981
|
if (_this.resizeBtnStat.column) {
|
|
964
982
|
var colGroup = _this.curTable.querySelectorAll('colgroup > col');
|
|
965
|
-
var cellRow = _this.curTable.rows[0].cells[0].nodeName === 'TH' ? 1 : 0;
|
|
966
983
|
var currentTableWidth = void 0;
|
|
967
984
|
if (_this.curTable.style.width !== '' && _this.curTable.style.width.includes('%')) {
|
|
968
985
|
currentTableWidth = parseFloat(_this.curTable.style.width.split('%')[0]);
|
|
@@ -970,7 +987,8 @@ var Table = /** @class */ (function () {
|
|
|
970
987
|
else {
|
|
971
988
|
currentTableWidth = _this.getCurrentTableWidth(_this.curTable.offsetWidth, _this.parent.inputElement.offsetWidth);
|
|
972
989
|
}
|
|
973
|
-
var
|
|
990
|
+
var currentCol = _this.calMaxCol(_this.curTable)[_this.colIndex];
|
|
991
|
+
var currentColResizableWidth = _this.getCurrentColWidth(currentCol, tableWidth);
|
|
974
992
|
if (_this.currentColumnResize === 'first') {
|
|
975
993
|
mouseX = mouseX - 0.75; //This was done for to make the gripper and the table first/last column will be close.
|
|
976
994
|
_this.removeResizeElement();
|
|
@@ -979,16 +997,25 @@ var Table = /** @class */ (function () {
|
|
|
979
997
|
_this.curTable.style.maxWidth = maxiumWidth + 'px';
|
|
980
998
|
}
|
|
981
999
|
// Below the value '100' is the 100% width of the parent element.
|
|
982
|
-
if (((mouseX !== 0 && 5 <
|
|
1000
|
+
if (((mouseX !== 0 && 5 < currentColResizableWidth) || mouseX < 0) && currentTableWidth <= 100 &&
|
|
983
1001
|
_this.convertPixelToPercentage(tableWidth - mouseX, widthCompare) <= 100) {
|
|
984
1002
|
var firstColumnsCell = _this.findFirstLastColCells(_this.curTable, true);
|
|
985
1003
|
_this.curTable.style.width = _this.convertPixelToPercentage(tableWidth - mouseX, widthCompare) > 100 ? (100 + '%') :
|
|
986
1004
|
(_this.convertPixelToPercentage(tableWidth - mouseX, widthCompare) + '%');
|
|
987
1005
|
var differenceWidth = currentTableWidth - _this.convertPixelToPercentage(tableWidth - mouseX, widthCompare);
|
|
988
|
-
|
|
989
|
-
_this.curTable.style.marginLeft
|
|
1006
|
+
var preMarginLeft = 0;
|
|
1007
|
+
if (!isNullOrUndefined(_this.curTable.style.marginLeft) && _this.curTable.style.marginLeft !== '') {
|
|
1008
|
+
var regex = /[-+]?\d*\.\d+|\d+/;
|
|
1009
|
+
var value = _this.curTable.style.marginLeft.match(regex);
|
|
1010
|
+
if (!isNullOrUndefined(value)) {
|
|
1011
|
+
preMarginLeft = parseFloat(value[0]);
|
|
1012
|
+
}
|
|
1013
|
+
}
|
|
1014
|
+
var currentMarginLeft = preMarginLeft + differenceWidth;
|
|
1015
|
+
_this.curTable.style.marginLeft = 'calc(' + (_this.curTable.style.width === '100%' ? 0 : currentMarginLeft) + '%)';
|
|
990
1016
|
for (var i = 0; i < firstColumnsCell.length; i++) {
|
|
991
|
-
_this.
|
|
1017
|
+
var currentColumnCellWidth = _this.getCurrentColWidth(firstColumnsCell[i], tableWidth);
|
|
1018
|
+
firstColumnsCell[i].style.width = (currentColumnCellWidth - differenceWidth) + '%';
|
|
992
1019
|
}
|
|
993
1020
|
}
|
|
994
1021
|
}
|
|
@@ -1000,16 +1027,14 @@ var Table = /** @class */ (function () {
|
|
|
1000
1027
|
_this.curTable.style.maxWidth = maxiumWidth + 'px';
|
|
1001
1028
|
}
|
|
1002
1029
|
// Below the value '100' is the 100% width of the parent element.
|
|
1003
|
-
if (((mouseX !== 0 && 5 <
|
|
1030
|
+
if (((mouseX !== 0 && 5 < currentColResizableWidth) || mouseX > 0) &&
|
|
1004
1031
|
currentTableWidth <= 100 && _this.convertPixelToPercentage(tableWidth + mouseX, widthCompare) <= 100) {
|
|
1005
1032
|
var lastColumnsCell = _this.findFirstLastColCells(_this.curTable, false);
|
|
1006
1033
|
_this.curTable.style.width = _this.convertPixelToPercentage(tableWidth + mouseX, widthCompare) > 100 ? (100 + '%') : (_this.convertPixelToPercentage(tableWidth + mouseX, widthCompare) + '%');
|
|
1007
1034
|
var differenceWidth = currentTableWidth - _this.convertPixelToPercentage(tableWidth + mouseX, widthCompare);
|
|
1008
1035
|
for (var i = 0; i < lastColumnsCell.length; i++) {
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
_this.colIndex - 1 : _this.colIndex].style.width = (currentColumnCellWidth - differenceWidth) + '%';
|
|
1012
|
-
}
|
|
1036
|
+
var currentColumnCellWidth = _this.getCurrentColWidth(lastColumnsCell[i], tableWidth);
|
|
1037
|
+
lastColumnsCell[i].style.width = (currentColumnCellWidth - differenceWidth) + '%';
|
|
1013
1038
|
}
|
|
1014
1039
|
}
|
|
1015
1040
|
}
|
|
@@ -1035,7 +1060,7 @@ var Table = /** @class */ (function () {
|
|
|
1035
1060
|
tableTrElementPixel[i] = (parseFloat(currentTableTrElement[i].clientHeight.toString()));
|
|
1036
1061
|
}
|
|
1037
1062
|
}
|
|
1038
|
-
_this.curTable.style.height = (parseFloat(_this.curTable.clientHeight.toString()) + mouseY) + 'px';
|
|
1063
|
+
_this.curTable.style.height = (parseFloat(_this.curTable.clientHeight.toString()) + ((mouseY > 0) ? 0 : mouseY)) + 'px';
|
|
1039
1064
|
for (var i = 0; i < currentTableTrElement.length; i++) {
|
|
1040
1065
|
if (_this.rowEle === currentTableTrElement[i]) {
|
|
1041
1066
|
currentTableTrElement[i].style.height = (parseFloat(currentTableTrElement[i].clientHeight.toString()) + mouseY) + 'px';
|
|
@@ -1070,6 +1095,16 @@ var Table = /** @class */ (function () {
|
|
|
1070
1095
|
}
|
|
1071
1096
|
});
|
|
1072
1097
|
};
|
|
1098
|
+
Table.prototype.getCurrentColWidth = function (col, tableWidth) {
|
|
1099
|
+
var currentColWidth = 0;
|
|
1100
|
+
if (col.style.width !== '' && col.style.width.includes('%')) {
|
|
1101
|
+
currentColWidth = parseFloat(col.style.width.split('%')[0]);
|
|
1102
|
+
}
|
|
1103
|
+
else {
|
|
1104
|
+
currentColWidth = this.convertPixelToPercentage(col.offsetWidth, tableWidth);
|
|
1105
|
+
}
|
|
1106
|
+
return currentColWidth;
|
|
1107
|
+
};
|
|
1073
1108
|
Table.prototype.getCurrentTableWidth = function (tableWidth, parentWidth) {
|
|
1074
1109
|
var currentTableWidth = 0;
|
|
1075
1110
|
currentTableWidth = tableWidth / parentWidth * 100;
|
|
@@ -1077,12 +1112,22 @@ var Table = /** @class */ (function () {
|
|
|
1077
1112
|
};
|
|
1078
1113
|
Table.prototype.findFirstLastColCells = function (table, isFirst) {
|
|
1079
1114
|
var resultColumns = [];
|
|
1080
|
-
var rows = table.
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1115
|
+
var rows = table.rows;
|
|
1116
|
+
var rowSpanCellIndexs = new Array();
|
|
1117
|
+
var _loop_1 = function (i) {
|
|
1118
|
+
var cellIndex = isFirst ? 0 : rows[i].cells.length - 1;
|
|
1119
|
+
var column = rows[i].cells[cellIndex];
|
|
1120
|
+
for (var rowSpan = 1; rowSpan < column.rowSpan; rowSpan++) {
|
|
1121
|
+
var key = i + rowSpan + "-" + cellIndex;
|
|
1122
|
+
rowSpanCellIndexs.push(key);
|
|
1085
1123
|
}
|
|
1124
|
+
var spannedCellKey = i + "-" + cellIndex;
|
|
1125
|
+
if (rowSpanCellIndexs.length === 0 || (isFirst && rowSpanCellIndexs.indexOf(spannedCellKey) === -1) || (!isFirst && rowSpanCellIndexs.indexOf(spannedCellKey) === -1 && rowSpanCellIndexs.every(function (key) { return key.split('-')[0] !== i.toString(); }))) {
|
|
1126
|
+
resultColumns.push(column);
|
|
1127
|
+
}
|
|
1128
|
+
};
|
|
1129
|
+
for (var i = 0; i < rows.length; i++) {
|
|
1130
|
+
_loop_1(i);
|
|
1086
1131
|
}
|
|
1087
1132
|
return resultColumns;
|
|
1088
1133
|
};
|
|
@@ -1106,22 +1151,7 @@ var Table = /** @class */ (function () {
|
|
|
1106
1151
|
detach(this.helper);
|
|
1107
1152
|
this.helper = null;
|
|
1108
1153
|
}
|
|
1109
|
-
|
|
1110
|
-
Array.from(colHelper).forEach(function (element) {
|
|
1111
|
-
if (element.parentNode) {
|
|
1112
|
-
element.parentNode.removeChild(element);
|
|
1113
|
-
}
|
|
1114
|
-
});
|
|
1115
|
-
for (var i = 0; i < this.curTable.rows.length; i++) {
|
|
1116
|
-
for (var k = 0; k < this.curTable.rows[i].cells.length; k++) {
|
|
1117
|
-
var width = this.convertPixelToPercentage(this.curTable.rows[i].cells[k].offsetWidth, parseInt(getComputedStyle(this.curTable).width, 10)) + '%';
|
|
1118
|
-
this.curTable.rows[i].cells[k].style.width = width;
|
|
1119
|
-
}
|
|
1120
|
-
}
|
|
1121
|
-
var colGroup = this.curTable.querySelector('colgroup');
|
|
1122
|
-
if (colGroup) {
|
|
1123
|
-
this.curTable.removeChild(colGroup);
|
|
1124
|
-
}
|
|
1154
|
+
this.resetResizeHelper(this.curTable);
|
|
1125
1155
|
this.pageX = null;
|
|
1126
1156
|
this.pageY = null;
|
|
1127
1157
|
this.moveEle = null;
|
|
@@ -1138,6 +1168,30 @@ var Table = /** @class */ (function () {
|
|
|
1138
1168
|
this.parent.trigger(events.resizeStop, args);
|
|
1139
1169
|
this.parent.formatter.saveData();
|
|
1140
1170
|
};
|
|
1171
|
+
Table.prototype.resetResizeHelper = function (curTable) {
|
|
1172
|
+
var colHelper = this.parent.element.querySelectorAll('.e-table-rhelper.e-column-helper');
|
|
1173
|
+
Array.from(colHelper).forEach(function (element) {
|
|
1174
|
+
if (element.parentNode) {
|
|
1175
|
+
element.parentNode.removeChild(element);
|
|
1176
|
+
}
|
|
1177
|
+
});
|
|
1178
|
+
var rowHelper = this.parent.element.querySelectorAll('.e-table-rhelper.e-row-helper');
|
|
1179
|
+
Array.from(rowHelper).forEach(function (element) {
|
|
1180
|
+
if (element.parentNode) {
|
|
1181
|
+
element.parentNode.removeChild(element);
|
|
1182
|
+
}
|
|
1183
|
+
});
|
|
1184
|
+
var colGroup = curTable.querySelector('colgroup');
|
|
1185
|
+
if (colGroup) {
|
|
1186
|
+
for (var i = 0; i < curTable.rows.length; i++) {
|
|
1187
|
+
for (var k = 0; k < curTable.rows[i].cells.length; k++) {
|
|
1188
|
+
var width = this.convertPixelToPercentage(curTable.rows[i].cells[k].offsetWidth, parseInt(getComputedStyle(curTable).width, 10)) + '%';
|
|
1189
|
+
curTable.rows[i].cells[k].style.width = width;
|
|
1190
|
+
}
|
|
1191
|
+
}
|
|
1192
|
+
curTable.removeChild(colGroup);
|
|
1193
|
+
}
|
|
1194
|
+
};
|
|
1141
1195
|
Table.prototype.resizeBtnInit = function () {
|
|
1142
1196
|
return this.resizeBtnStat = { column: false, row: false, tableBox: false };
|
|
1143
1197
|
};
|
|
@@ -1247,6 +1301,7 @@ var Table = /** @class */ (function () {
|
|
|
1247
1301
|
if (!isNOU(this.parent.cssClass)) {
|
|
1248
1302
|
addClass([this.popupObj.element], this.parent.getCssClass());
|
|
1249
1303
|
}
|
|
1304
|
+
btnEle.focus();
|
|
1250
1305
|
this.popupObj.refreshPosition(target);
|
|
1251
1306
|
};
|
|
1252
1307
|
Table.prototype.onIframeMouseDown = function () {
|
|
@@ -1579,12 +1634,18 @@ var Table = /** @class */ (function () {
|
|
|
1579
1634
|
var _this = this;
|
|
1580
1635
|
if (this.curTable) {
|
|
1581
1636
|
setTimeout(function () {
|
|
1582
|
-
|
|
1583
|
-
mouseOverEvent.initEvent('mouseover', true, true);
|
|
1584
|
-
_this.curTable.dispatchEvent(mouseOverEvent);
|
|
1637
|
+
_this.updateResizeIconPosition();
|
|
1585
1638
|
}, 1);
|
|
1586
1639
|
}
|
|
1587
1640
|
};
|
|
1641
|
+
Table.prototype.updateResizeIconPosition = function () {
|
|
1642
|
+
var tableReBox = this.parent.contentModule.getEditPanel().querySelector('.e-table-box');
|
|
1643
|
+
if (!isNOU(tableReBox)) {
|
|
1644
|
+
var tablePosition = this.calcPos(this.curTable);
|
|
1645
|
+
tableReBox.style.cssText = 'top: ' + (tablePosition.top + parseInt(getComputedStyle(this.curTable).height, 10) - 4) +
|
|
1646
|
+
'px; left:' + (tablePosition.left + parseInt(getComputedStyle(this.curTable).width, 10) - 4) + 'px;';
|
|
1647
|
+
}
|
|
1648
|
+
};
|
|
1588
1649
|
return Table;
|
|
1589
1650
|
}());
|
|
1590
1651
|
export { Table };
|
|
@@ -108,6 +108,19 @@ var ToolbarRenderer = /** @class */ (function () {
|
|
|
108
108
|
addClass([listEle[1], listEle[2]], 'e-disabled');
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
|
+
if (this.parent.showTooltip) {
|
|
112
|
+
this.dropdownTooltip = new Tooltip({
|
|
113
|
+
target: '[aria-owns="' + this.parent.getID() + '"].e-rte-elements [title]',
|
|
114
|
+
showTipPointer: true,
|
|
115
|
+
openDelay: 400,
|
|
116
|
+
opensOn: 'Hover',
|
|
117
|
+
beforeRender: this.tooltipBeforeRender.bind(this),
|
|
118
|
+
cssClass: this.parent.getCssClass(),
|
|
119
|
+
windowCollision: true,
|
|
120
|
+
position: 'BottomCenter'
|
|
121
|
+
});
|
|
122
|
+
this.dropdownTooltip.appendTo(args.element);
|
|
123
|
+
}
|
|
111
124
|
this.parent.notify(events.selectionSave, args);
|
|
112
125
|
};
|
|
113
126
|
ToolbarRenderer.prototype.dropDownClose = function (args) {
|
|
@@ -152,19 +165,6 @@ var ToolbarRenderer = /** @class */ (function () {
|
|
|
152
165
|
});
|
|
153
166
|
this.tooltip.appendTo(args.target);
|
|
154
167
|
}
|
|
155
|
-
if (this.parent.showTooltip) {
|
|
156
|
-
this.dropdownTooltip = new Tooltip({
|
|
157
|
-
target: '[aria-owns="' + this.parent.getID() + '"].e-rte-elements [title]',
|
|
158
|
-
showTipPointer: true,
|
|
159
|
-
openDelay: 400,
|
|
160
|
-
opensOn: 'Hover',
|
|
161
|
-
beforeRender: this.tooltipBeforeRender.bind(this),
|
|
162
|
-
cssClass: this.parent.getCssClass(),
|
|
163
|
-
windowCollision: true,
|
|
164
|
-
position: 'BottomCenter'
|
|
165
|
-
});
|
|
166
|
-
this.dropdownTooltip.appendTo(document.body);
|
|
167
|
-
}
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
170
170
|
* renderDropDownButton method
|
|
@@ -451,8 +451,8 @@
|
|
|
451
451
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-rte-dropdown-btn.e-dropdown-btn:hover,
|
|
452
452
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-rte-dropdown-btn.e-dropdown-btn:focus,
|
|
453
453
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-rte-dropdown-btn.e-dropdown-btn:active {
|
|
454
|
-
padding-left:
|
|
455
|
-
padding-right:
|
|
454
|
+
padding-left: 12px;
|
|
455
|
+
padding-right: 7px;
|
|
456
456
|
}
|
|
457
457
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
458
458
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
.e-richtexteditor.e-bigger .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
463
463
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
464
464
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
465
|
-
padding: 0
|
|
465
|
+
padding: 0 7px;
|
|
466
466
|
}
|
|
467
467
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
|
|
468
468
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-dropdown-btn .e-rte-color-content,
|
|
@@ -698,8 +698,8 @@
|
|
|
698
698
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-dropdown-btn:hover,
|
|
699
699
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-dropdown-btn:focus,
|
|
700
700
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-dropdown-btn:active {
|
|
701
|
-
padding-left:
|
|
702
|
-
padding-right:
|
|
701
|
+
padding-left: 9px;
|
|
702
|
+
padding-right: 3.5px;
|
|
703
703
|
}
|
|
704
704
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-font-color .e-selected-color.e-icons::before,
|
|
705
705
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-font-color .e-selected-color.e-icons::before,
|
|
@@ -744,7 +744,7 @@
|
|
|
744
744
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
745
745
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
746
746
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
747
|
-
padding: 0
|
|
747
|
+
padding: 0 2.5px;
|
|
748
748
|
}
|
|
749
749
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
|
|
750
750
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-dropdown-btn .e-rte-color-content,
|
|
@@ -1776,6 +1776,14 @@
|
|
|
1776
1776
|
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar {
|
|
1777
1777
|
min-height: 48px;
|
|
1778
1778
|
}
|
|
1779
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content,
|
|
1780
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret {
|
|
1781
|
+
height: 30px;
|
|
1782
|
+
}
|
|
1783
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover,
|
|
1784
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
|
|
1785
|
+
height: 30px;
|
|
1786
|
+
}
|
|
1779
1787
|
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) {
|
|
1780
1788
|
margin: 0 6px;
|
|
1781
1789
|
min-height: 48px;
|
|
@@ -1977,8 +1985,8 @@
|
|
|
1977
1985
|
.e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:active,
|
|
1978
1986
|
.e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active,
|
|
1979
1987
|
.e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active:hover {
|
|
1980
|
-
padding-left:
|
|
1981
|
-
padding-right:
|
|
1988
|
+
padding-left: 1px;
|
|
1989
|
+
padding-right: 1px;
|
|
1982
1990
|
}
|
|
1983
1991
|
.e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-color-content,
|
|
1984
1992
|
.e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-list-primary-content,
|
|
@@ -2233,8 +2241,8 @@
|
|
|
2233
2241
|
.e-bigger .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:hover,
|
|
2234
2242
|
.e-bigger .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:focus,
|
|
2235
2243
|
.e-bigger .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:active {
|
|
2236
|
-
padding-left:
|
|
2237
|
-
padding-right:
|
|
2244
|
+
padding-left: 1px;
|
|
2245
|
+
padding-right: 1px;
|
|
2238
2246
|
}
|
|
2239
2247
|
.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-list-primary-content .e-order-list, .e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active .e-rte-list-primary-content .e-order-list,
|
|
2240
2248
|
.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-list-primary-content .e-unorder-list, .e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active .e-rte-list-primary-content .e-unorder-list,
|
|
@@ -2723,9 +2731,6 @@
|
|
|
2723
2731
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons {
|
|
2724
2732
|
color: #f0f0f0;
|
|
2725
2733
|
}
|
|
2726
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-icons {
|
|
2727
|
-
color: #f0f0f0;
|
|
2728
|
-
}
|
|
2729
2734
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn .e-icons {
|
|
2730
2735
|
color: #f0f0f0;
|
|
2731
2736
|
}
|
|
@@ -2908,6 +2913,20 @@
|
|
|
2908
2913
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items {
|
|
2909
2914
|
background: #313131;
|
|
2910
2915
|
}
|
|
2916
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content {
|
|
2917
|
+
padding-top: 1px;
|
|
2918
|
+
padding-top: 5px;
|
|
2919
|
+
height: 30px;
|
|
2920
|
+
}
|
|
2921
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover {
|
|
2922
|
+
background: #313131;
|
|
2923
|
+
}
|
|
2924
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
|
|
2925
|
+
background: #313131;
|
|
2926
|
+
}
|
|
2927
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown.e-tbar-btn:hover {
|
|
2928
|
+
background: #131313;
|
|
2929
|
+
}
|
|
2911
2930
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-separator {
|
|
2912
2931
|
border: 0.5px solid rgba(26, 26, 26, 0.05);
|
|
2913
2932
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-dropdown-btn.e-active.e-tbar-btn {
|
|
2
2
|
background: #e6e6e6;
|
|
3
|
-
border:
|
|
4
|
-
padding-left:
|
|
5
|
-
padding-right:
|
|
3
|
+
border: 0;
|
|
4
|
+
padding-left: 9px;
|
|
5
|
+
padding-right: 3.5px;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.e-bigger .e-richtexteditor .e-rte-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-dropdown-btn.e-rte-dropdown-btn.e-active {
|
|
@@ -592,8 +592,8 @@
|
|
|
592
592
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-rte-dropdown-btn.e-dropdown-btn:hover,
|
|
593
593
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-rte-dropdown-btn.e-dropdown-btn:focus,
|
|
594
594
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn.e-btn.e-control.e-rte-dropdown-btn.e-dropdown-btn:active {
|
|
595
|
-
padding-left:
|
|
596
|
-
padding-right:
|
|
595
|
+
padding-left: 12px;
|
|
596
|
+
padding-right: 7px;
|
|
597
597
|
}
|
|
598
598
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
599
599
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
@@ -603,7 +603,7 @@
|
|
|
603
603
|
.e-richtexteditor.e-bigger .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
604
604
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
605
605
|
.e-richtexteditor.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
606
|
-
padding: 0
|
|
606
|
+
padding: 0 7px;
|
|
607
607
|
}
|
|
608
608
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
|
|
609
609
|
.e-bigger .e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-dropdown-btn .e-rte-color-content,
|
|
@@ -839,8 +839,8 @@
|
|
|
839
839
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-dropdown-btn:hover,
|
|
840
840
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-dropdown-btn:focus,
|
|
841
841
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-dropdown-btn:active {
|
|
842
|
-
padding-left:
|
|
843
|
-
padding-right:
|
|
842
|
+
padding-left: 9px;
|
|
843
|
+
padding-right: 3.5px;
|
|
844
844
|
}
|
|
845
845
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-font-color .e-selected-color.e-icons::before,
|
|
846
846
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-font-color .e-selected-color.e-icons::before,
|
|
@@ -885,7 +885,7 @@
|
|
|
885
885
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
886
886
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn.e-btn,
|
|
887
887
|
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn.e-btn {
|
|
888
|
-
padding: 0
|
|
888
|
+
padding: 0 2.5px;
|
|
889
889
|
}
|
|
890
890
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-dropdown-btn .e-rte-color-content,
|
|
891
891
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-dropdown-btn .e-rte-color-content,
|
|
@@ -1922,6 +1922,14 @@
|
|
|
1922
1922
|
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar {
|
|
1923
1923
|
min-height: 48px;
|
|
1924
1924
|
}
|
|
1925
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content,
|
|
1926
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret {
|
|
1927
|
+
height: 33px;
|
|
1928
|
+
}
|
|
1929
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover,
|
|
1930
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
|
|
1931
|
+
height: 33px;
|
|
1932
|
+
}
|
|
1925
1933
|
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) {
|
|
1926
1934
|
margin: 0 6px;
|
|
1927
1935
|
min-height: 48px;
|
|
@@ -2123,8 +2131,8 @@
|
|
|
2123
2131
|
.e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:active,
|
|
2124
2132
|
.e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active,
|
|
2125
2133
|
.e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active:hover {
|
|
2126
|
-
padding-left:
|
|
2127
|
-
padding-right:
|
|
2134
|
+
padding-left: 1px;
|
|
2135
|
+
padding-right: 1px;
|
|
2128
2136
|
}
|
|
2129
2137
|
.e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-color-content,
|
|
2130
2138
|
.e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-list-primary-content,
|
|
@@ -2379,8 +2387,8 @@
|
|
|
2379
2387
|
.e-bigger .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:hover,
|
|
2380
2388
|
.e-bigger .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:focus,
|
|
2381
2389
|
.e-bigger .e-rte-toolbar.e-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control:active {
|
|
2382
|
-
padding-left:
|
|
2383
|
-
padding-right:
|
|
2390
|
+
padding-left: 1px;
|
|
2391
|
+
padding-right: 1px;
|
|
2384
2392
|
}
|
|
2385
2393
|
.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-list-primary-content .e-order-list, .e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active .e-rte-list-primary-content .e-order-list,
|
|
2386
2394
|
.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-rte-list-primary-content .e-unorder-list, .e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control.e-active .e-rte-list-primary-content .e-unorder-list,
|
|
@@ -2784,7 +2792,7 @@
|
|
|
2784
2792
|
}
|
|
2785
2793
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn, .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2786
2794
|
background: rgba(0, 0, 0, 0.12);
|
|
2787
|
-
border:
|
|
2795
|
+
border: 0;
|
|
2788
2796
|
}
|
|
2789
2797
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn .e-icons, .e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
|
2790
2798
|
color: #000;
|
|
@@ -2852,7 +2860,7 @@
|
|
|
2852
2860
|
}
|
|
2853
2861
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-fontcolor-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-numberformatlist-dropdown.e-active, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-active {
|
|
2854
2862
|
background: #e6e6e6;
|
|
2855
|
-
border:
|
|
2863
|
+
border: 0 solid #adadad;
|
|
2856
2864
|
}
|
|
2857
2865
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-fontcolor-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-numberformatlist-dropdown.e-active .e-rte-color-content::after, .e-richtexteditor .e-rte-toolbar .e-toolbar-item .e-rte-bulletformatlist-dropdown.e-active .e-rte-color-content::after {
|
|
2858
2866
|
background: #adadad;
|
|
@@ -2869,9 +2877,6 @@
|
|
|
2869
2877
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons {
|
|
2870
2878
|
color: #000;
|
|
2871
2879
|
}
|
|
2872
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-icons {
|
|
2873
|
-
color: #000;
|
|
2874
|
-
}
|
|
2875
2880
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn .e-icons {
|
|
2876
2881
|
color: #000;
|
|
2877
2882
|
}
|
|
@@ -3054,12 +3059,23 @@
|
|
|
3054
3059
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items {
|
|
3055
3060
|
background: #fff;
|
|
3056
3061
|
}
|
|
3062
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content {
|
|
3063
|
+
padding-top: 1px;
|
|
3064
|
+
padding-top: 5px;
|
|
3065
|
+
height: 30px;
|
|
3066
|
+
}
|
|
3067
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover {
|
|
3068
|
+
background: rgba(0, 0, 0, 0.12);
|
|
3069
|
+
}
|
|
3070
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
|
|
3071
|
+
background: rgba(0, 0, 0, 0.12);
|
|
3072
|
+
}
|
|
3057
3073
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-separator {
|
|
3058
3074
|
border: 0.5px solid rgba(0, 0, 0, 0.05);
|
|
3059
3075
|
}
|
|
3060
3076
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-tbar-btn {
|
|
3061
3077
|
background: #fff;
|
|
3062
|
-
border:
|
|
3078
|
+
border: 0 solid transparent;
|
|
3063
3079
|
}
|
|
3064
3080
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-tbar-btn:hover {
|
|
3065
3081
|
background: rgba(0, 0, 0, 0.12);
|
|
@@ -3078,7 +3094,7 @@
|
|
|
3078
3094
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn,
|
|
3079
3095
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
3080
3096
|
background: rgba(0, 0, 0, 0.12);
|
|
3081
|
-
border:
|
|
3097
|
+
border: 0;
|
|
3082
3098
|
}
|
|
3083
3099
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn .e-icons,
|
|
3084
3100
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-toolbar-item.e-active .e-tbar-btn:focus .e-icons {
|
package/styles/bootstrap4.css
CHANGED
|
@@ -2012,6 +2012,14 @@
|
|
|
2012
2012
|
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar {
|
|
2013
2013
|
min-height: 48px;
|
|
2014
2014
|
}
|
|
2015
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content,
|
|
2016
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret {
|
|
2017
|
+
height: 36px;
|
|
2018
|
+
}
|
|
2019
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover,
|
|
2020
|
+
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
|
|
2021
|
+
height: 36px;
|
|
2022
|
+
}
|
|
2015
2023
|
.e-bigger .e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items:not(.e-tbar-pos) {
|
|
2016
2024
|
margin: 0 6px;
|
|
2017
2025
|
min-height: 48px;
|
|
@@ -2951,9 +2959,6 @@
|
|
|
2951
2959
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:hover .e-icons {
|
|
2952
2960
|
color: #212529;
|
|
2953
2961
|
}
|
|
2954
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-tbar-btn:focus .e-icons {
|
|
2955
|
-
color: #212529;
|
|
2956
|
-
}
|
|
2957
2962
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item.e-active .e-tbar-btn .e-icons {
|
|
2958
2963
|
color: #f8f9fa;
|
|
2959
2964
|
}
|
|
@@ -3136,6 +3141,16 @@
|
|
|
3136
3141
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items {
|
|
3137
3142
|
background: #fff;
|
|
3138
3143
|
}
|
|
3144
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content {
|
|
3145
|
+
padding-top: 1px;
|
|
3146
|
+
height: 30px;
|
|
3147
|
+
}
|
|
3148
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-rte-color-content:hover {
|
|
3149
|
+
background: #5a6268;
|
|
3150
|
+
}
|
|
3151
|
+
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-rte-backgroundcolor-dropdown .e-caret:hover {
|
|
3152
|
+
background: #5a6268;
|
|
3153
|
+
}
|
|
3139
3154
|
.e-rte-quick-popup .e-rte-quick-toolbar .e-toolbar-items .e-separator {
|
|
3140
3155
|
border: 0.5px solid #dee2e6;
|
|
3141
3156
|
}
|