@syncfusion/ej2-richtexteditor 19.2.62 → 19.3.43
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/.eslintrc.json +1 -1
- package/CHANGELOG.md +21 -9
- 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 +858 -245
- package/dist/es6/ej2-richtexteditor.es2015.js.map +1 -1
- package/dist/es6/ej2-richtexteditor.es5.js +864 -243
- 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 +12 -12
- package/src/common/types.d.ts +8 -0
- package/src/editor-manager/base/editor-manager.d.ts +1 -1
- package/src/editor-manager/base/editor-manager.js +6 -6
- package/src/editor-manager/base/interface.d.ts +7 -1
- package/src/editor-manager/plugin/clearformat-exec.js +2 -2
- package/src/editor-manager/plugin/clearformat.d.ts +3 -1
- package/src/editor-manager/plugin/clearformat.js +19 -9
- package/src/editor-manager/plugin/dom-node.js +2 -2
- package/src/editor-manager/plugin/formats.d.ts +1 -0
- package/src/editor-manager/plugin/formats.js +87 -7
- package/src/editor-manager/plugin/image.js +55 -47
- package/src/editor-manager/plugin/inserthtml.js +10 -2
- package/src/editor-manager/plugin/isformatted.js +2 -1
- package/src/editor-manager/plugin/lists.d.ts +1 -0
- package/src/editor-manager/plugin/lists.js +87 -8
- package/src/editor-manager/plugin/nodecutter.d.ts +1 -0
- package/src/editor-manager/plugin/nodecutter.js +1 -0
- package/src/editor-manager/plugin/selection-commands.d.ts +2 -1
- package/src/editor-manager/plugin/selection-commands.js +14 -6
- package/src/editor-manager/plugin/selection-exec.js +2 -2
- package/src/editor-manager/plugin/table.js +19 -9
- package/src/rich-text-editor/actions/base-quick-toolbar.js +3 -4
- package/src/rich-text-editor/actions/enter-key.d.ts +18 -0
- package/src/rich-text-editor/actions/enter-key.js +290 -0
- package/src/rich-text-editor/actions/html-editor.js +30 -20
- package/src/rich-text-editor/actions/paste-clean-up.js +5 -5
- package/src/rich-text-editor/actions/resize.js +4 -4
- 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/interface.d.ts +15 -3
- package/src/rich-text-editor/base/rich-text-editor-model.d.ts +27 -1
- package/src/rich-text-editor/base/rich-text-editor.d.ts +34 -5
- package/src/rich-text-editor/base/rich-text-editor.js +58 -56
- package/src/rich-text-editor/base/util.d.ts +7 -1
- package/src/rich-text-editor/base/util.js +45 -11
- package/src/rich-text-editor/formatter/formatter.js +9 -7
- package/src/rich-text-editor/models/items.js +3 -3
- package/src/rich-text-editor/renderer/iframe-content-renderer.js +2 -2
- package/src/rich-text-editor/renderer/image-module.d.ts +6 -0
- package/src/rich-text-editor/renderer/image-module.js +70 -26
- package/src/rich-text-editor/renderer/link-module.js +4 -3
- package/src/rich-text-editor/renderer/popup-renderer.js +1 -2
- package/src/rich-text-editor/renderer/render.js +10 -2
- package/src/rich-text-editor/renderer/table-module.js +13 -5
- package/src/rich-text-editor/renderer/view-source.js +21 -3
- package/styles/bootstrap-dark.css +25 -12
- package/styles/bootstrap.css +25 -12
- package/styles/bootstrap4.css +21 -13
- package/styles/bootstrap5-dark.css +3058 -0
- package/styles/bootstrap5-dark.scss +1 -0
- package/styles/bootstrap5.css +3058 -0
- package/styles/bootstrap5.scss +1 -0
- package/styles/fabric-dark.css +20 -12
- package/styles/fabric.css +20 -12
- package/styles/highcontrast-light.css +20 -12
- package/styles/highcontrast.css +19 -18
- package/styles/material-dark.css +22 -14
- package/styles/material.css +19 -11
- package/styles/rich-text-editor/_bootstrap-dark-definition.scss +1 -1
- package/styles/rich-text-editor/_bootstrap-definition.scss +1 -1
- package/styles/rich-text-editor/_bootstrap4-definition.scss +2 -2
- package/styles/rich-text-editor/_bootstrap5-dark-definition.scss +1 -0
- package/styles/rich-text-editor/_bootstrap5-definition.scss +168 -0
- package/styles/rich-text-editor/_fabric-dark-definition.scss +1 -1
- package/styles/rich-text-editor/_fabric-definition.scss +1 -1
- package/styles/rich-text-editor/_highcontrast-definition.scss +2 -2
- package/styles/rich-text-editor/_highcontrast-light-definition.scss +1 -1
- package/styles/rich-text-editor/_layout.scss +64 -7
- package/styles/rich-text-editor/_tailwind-dark-definition.scss +1 -165
- package/styles/rich-text-editor/_tailwind-definition.scss +74 -72
- package/styles/rich-text-editor/_theme.scss +103 -3
- package/styles/rich-text-editor/bootstrap-dark.css +25 -12
- package/styles/rich-text-editor/bootstrap.css +25 -12
- package/styles/rich-text-editor/bootstrap4.css +21 -13
- package/styles/rich-text-editor/bootstrap5-dark.css +3058 -0
- package/styles/rich-text-editor/bootstrap5-dark.scss +4 -0
- package/styles/rich-text-editor/bootstrap5.css +3058 -0
- package/styles/rich-text-editor/bootstrap5.scss +4 -0
- package/styles/rich-text-editor/fabric-dark.css +20 -12
- package/styles/rich-text-editor/fabric.css +20 -12
- package/styles/rich-text-editor/highcontrast-light.css +20 -12
- package/styles/rich-text-editor/highcontrast.css +19 -18
- package/styles/rich-text-editor/icons/_bootstrap-dark.scss +1 -1
- package/styles/rich-text-editor/icons/_bootstrap.scss +1 -1
- package/styles/rich-text-editor/icons/_bootstrap4.scss +1 -1
- package/styles/rich-text-editor/icons/_bootstrap5-dark.scss +1 -0
- package/styles/rich-text-editor/icons/_bootstrap5.scss +303 -0
- package/styles/rich-text-editor/icons/_fabric-dark.scss +1 -1
- package/styles/rich-text-editor/icons/_fabric.scss +1 -1
- package/styles/rich-text-editor/icons/_highcontrast-light.scss +1 -1
- package/styles/rich-text-editor/icons/_highcontrast.scss +1 -1
- package/styles/rich-text-editor/icons/_material-dark.scss +1 -1
- package/styles/rich-text-editor/icons/_material.scss +1 -1
- package/styles/rich-text-editor/icons/_tailwind-dark.scss +1 -304
- package/styles/rich-text-editor/icons/_tailwind.scss +2 -2
- package/styles/rich-text-editor/material-dark.css +22 -14
- package/styles/rich-text-editor/material.css +19 -11
- package/styles/rich-text-editor/tailwind-dark.css +51 -20
- package/styles/rich-text-editor/tailwind.css +49 -18
- package/styles/tailwind-dark.css +51 -20
- package/styles/tailwind.css +49 -18
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { addClass, detach, EventHandler, isNullOrUndefined, select,
|
|
1
|
+
import { addClass, detach, EventHandler, isNullOrUndefined, select, Ajax, formatUnit } from '@syncfusion/ej2-base';
|
|
2
2
|
import { Browser, closest, removeClass, isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
|
|
3
3
|
import * as events from '../base/constant';
|
|
4
4
|
import * as classes from '../base/classes';
|
|
5
|
-
import { Uploader,
|
|
5
|
+
import { Uploader, TextBox } from '@syncfusion/ej2-inputs';
|
|
6
6
|
import { Popup } from '@syncfusion/ej2-popups';
|
|
7
7
|
import { Button, CheckBox } from '@syncfusion/ej2-buttons';
|
|
8
8
|
import { RenderType } from '../base/enum';
|
|
@@ -14,6 +14,7 @@ import { isIDevice } from '../../common/util';
|
|
|
14
14
|
var Image = /** @class */ (function () {
|
|
15
15
|
function Image(parent, serviceLocator) {
|
|
16
16
|
this.isImgUploaded = false;
|
|
17
|
+
this.isAllowedTypes = true;
|
|
17
18
|
this.pageX = null;
|
|
18
19
|
this.pageY = null;
|
|
19
20
|
this.deletedImg = [];
|
|
@@ -134,7 +135,7 @@ var Image = /** @class */ (function () {
|
|
|
134
135
|
if (Browser.isDevice) {
|
|
135
136
|
removeClass([e.target.parentElement], 'e-mob-span');
|
|
136
137
|
}
|
|
137
|
-
var args =
|
|
138
|
+
var args = { event: e, requestType: 'images' };
|
|
138
139
|
this.parent.trigger(events.resizeStop, args);
|
|
139
140
|
/* eslint-disable */
|
|
140
141
|
var pageX = this.getPointX(e);
|
|
@@ -188,7 +189,7 @@ var Image = /** @class */ (function () {
|
|
|
188
189
|
addClass([this.imgResizeDiv], 'e-mob-span');
|
|
189
190
|
}
|
|
190
191
|
else {
|
|
191
|
-
var args =
|
|
192
|
+
var args = { event: e, requestType: 'images' };
|
|
192
193
|
this.parent.trigger(events.resizeStart, args, function (resizeStartArgs) {
|
|
193
194
|
if (resizeStartArgs.cancel) {
|
|
194
195
|
_this.cancelResizeAction();
|
|
@@ -323,6 +324,12 @@ var Image = /** @class */ (function () {
|
|
|
323
324
|
img.style.height = null;
|
|
324
325
|
img.removeAttribute('height');
|
|
325
326
|
}
|
|
327
|
+
else if (img.style.width === '' && img.style.height !== '') {
|
|
328
|
+
img.style.height = expectedY + 'px';
|
|
329
|
+
}
|
|
330
|
+
else if (img.style.width !== '' && img.style.height === '') {
|
|
331
|
+
img.style.width = ((width / height * expectedY) + width / height).toString() + 'px';
|
|
332
|
+
}
|
|
326
333
|
else if (img.style.width !== '') {
|
|
327
334
|
img.style.width = (width / height * expectedY) + 'px';
|
|
328
335
|
img.style.height = expectedY + 'px';
|
|
@@ -371,7 +378,7 @@ var Image = /** @class */ (function () {
|
|
|
371
378
|
};
|
|
372
379
|
Image.prototype.imgDupMouseMove = function (width, height, e) {
|
|
373
380
|
var _this = this;
|
|
374
|
-
var args =
|
|
381
|
+
var args = { event: e, requestType: 'images' };
|
|
375
382
|
this.parent.trigger(events.onResize, args, function (resizingArgs) {
|
|
376
383
|
if (resizingArgs.cancel) {
|
|
377
384
|
_this.cancelResizeAction();
|
|
@@ -1198,7 +1205,7 @@ var Image = /** @class */ (function () {
|
|
|
1198
1205
|
isModal: Browser.isDevice,
|
|
1199
1206
|
buttons: [{
|
|
1200
1207
|
click: this.insertImageUrl.bind(selectObj),
|
|
1201
|
-
buttonModel: { content: imgInsert, cssClass: 'e-flat e-insertImage', isPrimary: true }
|
|
1208
|
+
buttonModel: { content: imgInsert, cssClass: 'e-flat e-insertImage', isPrimary: true, disabled: true }
|
|
1202
1209
|
},
|
|
1203
1210
|
{
|
|
1204
1211
|
click: function (e) {
|
|
@@ -1324,12 +1331,23 @@ var Image = /** @class */ (function () {
|
|
|
1324
1331
|
};
|
|
1325
1332
|
// eslint-disable-next-line
|
|
1326
1333
|
Image.prototype.imageUrlPopup = function (e) {
|
|
1334
|
+
var _this = this;
|
|
1327
1335
|
var imgUrl = this.parent.createElement('div', { className: 'imgUrl' });
|
|
1328
1336
|
var placeUrl = this.i10n.getConstant('imageUrl');
|
|
1329
1337
|
this.inputUrl = this.parent.createElement('input', {
|
|
1330
1338
|
className: 'e-input e-img-url',
|
|
1331
1339
|
attrs: { placeholder: placeUrl, spellcheck: 'false' }
|
|
1332
1340
|
});
|
|
1341
|
+
this.inputUrl.addEventListener('input', function () {
|
|
1342
|
+
if (!isNOU(_this.inputUrl)) {
|
|
1343
|
+
if (_this.inputUrl.value.length === 0) {
|
|
1344
|
+
_this.dialogObj.getButtons(0).element.disabled = true;
|
|
1345
|
+
}
|
|
1346
|
+
else {
|
|
1347
|
+
_this.dialogObj.getButtons(0).element.removeAttribute('disabled');
|
|
1348
|
+
}
|
|
1349
|
+
}
|
|
1350
|
+
});
|
|
1333
1351
|
imgUrl.appendChild(this.inputUrl);
|
|
1334
1352
|
return imgUrl;
|
|
1335
1353
|
};
|
|
@@ -1380,42 +1398,58 @@ var Image = /** @class */ (function () {
|
|
|
1380
1398
|
}
|
|
1381
1399
|
};
|
|
1382
1400
|
Image.prototype.imgsizeInput = function (e) {
|
|
1401
|
+
var _this = this;
|
|
1383
1402
|
var selectNode = e.selectNode[0];
|
|
1384
1403
|
var imgHeight = this.i10n.getConstant('imageHeight');
|
|
1385
1404
|
var imgWidth = this.i10n.getConstant('imageWidth');
|
|
1386
1405
|
var imgSizeWrap = this.parent.createElement('div', { className: 'e-img-sizewrap' });
|
|
1387
|
-
var widthVal = (selectNode.
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1406
|
+
var widthVal = isNullOrUndefined(this.changedWidthValue) && (selectNode.style.width.toString() === 'auto' ||
|
|
1407
|
+
selectNode.style.width !== "") ? selectNode.style.width : !isNullOrUndefined(this.changedWidthValue) ?
|
|
1408
|
+
this.changedWidthValue : (parseInt(selectNode.getClientRects()[0].width.toString())).toString();
|
|
1409
|
+
var heightVal = isNullOrUndefined(this.changedHeightValue) && (selectNode.style.height.toString() === 'auto' ||
|
|
1410
|
+
selectNode.style.height !== "") ? selectNode.style.height : !isNullOrUndefined(this.changedHeightValue) ?
|
|
1411
|
+
this.changedHeightValue : (parseInt(selectNode.getClientRects()[0].height.toString())).toString();
|
|
1412
|
+
this.changedWidthValue = null;
|
|
1413
|
+
this.changedHeightValue = null;
|
|
1391
1414
|
var content = '<div class="e-rte-label"><label>' + imgWidth +
|
|
1392
|
-
'</label></div><div class="e-rte-field"><input type="text"
|
|
1415
|
+
'</label></div><div class="e-rte-field"><input type="text" id="imgwidth" class="e-img-width" value=' +
|
|
1393
1416
|
widthVal
|
|
1394
1417
|
+ ' /></div>' +
|
|
1395
1418
|
'<div class="e-rte-label">' + '<label>' + imgHeight + '</label></div><div class="e-rte-field"> ' +
|
|
1396
|
-
'<input type="text"
|
|
1419
|
+
'<input type="text" id="imgheight" class="e-img-height" value=' +
|
|
1397
1420
|
heightVal
|
|
1398
1421
|
+ ' /></div>';
|
|
1399
1422
|
var contentElem = parseHtml(content);
|
|
1400
1423
|
imgSizeWrap.appendChild(contentElem);
|
|
1401
|
-
var widthNum = new
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1424
|
+
var widthNum = new TextBox({
|
|
1425
|
+
value: formatUnit(widthVal),
|
|
1426
|
+
enableRtl: this.parent.enableRtl,
|
|
1427
|
+
input: function (e) {
|
|
1428
|
+
_this.inputWidthValue = formatUnit(_this.inputValue(e.value));
|
|
1429
|
+
}
|
|
1405
1430
|
});
|
|
1406
|
-
widthNum.isStringTemplate = true;
|
|
1407
1431
|
widthNum.createElement = this.parent.createElement;
|
|
1408
1432
|
widthNum.appendTo(imgSizeWrap.querySelector('#imgwidth'));
|
|
1409
|
-
var heightNum = new
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
|
|
1433
|
+
var heightNum = new TextBox({
|
|
1434
|
+
value: formatUnit(heightVal),
|
|
1435
|
+
enableRtl: this.parent.enableRtl,
|
|
1436
|
+
input: function (e) {
|
|
1437
|
+
_this.inputHeightValue = formatUnit(_this.inputValue(e.value));
|
|
1438
|
+
}
|
|
1413
1439
|
});
|
|
1414
|
-
heightNum.isStringTemplate = true;
|
|
1415
1440
|
heightNum.createElement = this.parent.createElement;
|
|
1416
1441
|
heightNum.appendTo(imgSizeWrap.querySelector('#imgheight'));
|
|
1417
1442
|
return imgSizeWrap;
|
|
1418
1443
|
};
|
|
1444
|
+
Image.prototype.inputValue = function (value) {
|
|
1445
|
+
if (value === 'auto' || value.indexOf('%') !== -1 || value.indexOf('px') !== -1
|
|
1446
|
+
|| value.match(/(\d+)/)) {
|
|
1447
|
+
return value;
|
|
1448
|
+
}
|
|
1449
|
+
else {
|
|
1450
|
+
return "auto";
|
|
1451
|
+
}
|
|
1452
|
+
};
|
|
1419
1453
|
Image.prototype.insertSize = function (e) {
|
|
1420
1454
|
e.selection.restore();
|
|
1421
1455
|
var proxy = e.selfImage;
|
|
@@ -1423,8 +1457,10 @@ var Image = /** @class */ (function () {
|
|
|
1423
1457
|
proxy.parent.formatter.saveData();
|
|
1424
1458
|
}
|
|
1425
1459
|
var dialogEle = proxy.dialogObj.element;
|
|
1426
|
-
|
|
1427
|
-
|
|
1460
|
+
this.changedWidthValue = this.inputWidthValue;
|
|
1461
|
+
this.changedHeightValue = this.inputHeightValue;
|
|
1462
|
+
var width = dialogEle.querySelector('.e-img-width').value;
|
|
1463
|
+
var height = dialogEle.parentElement.querySelector('.e-img-height').value;
|
|
1428
1464
|
proxy.parent.formatter.process(this.parent, e.args, e.args, {
|
|
1429
1465
|
width: width, height: height, selectNode: e.selectNode,
|
|
1430
1466
|
subCommand: e.args.item.subCommand
|
|
@@ -1534,6 +1570,10 @@ var Image = /** @class */ (function () {
|
|
|
1534
1570
|
}
|
|
1535
1571
|
};
|
|
1536
1572
|
proxy.inputUrl.setAttribute('disabled', 'true');
|
|
1573
|
+
if (isNullOrUndefined(proxy.parent.insertImageSettings.saveUrl) && _this.isAllowedTypes
|
|
1574
|
+
&& !isNullOrUndefined(_this.dialogObj)) {
|
|
1575
|
+
_this.dialogObj.getButtons(0).element.removeAttribute('disabled');
|
|
1576
|
+
}
|
|
1537
1577
|
});
|
|
1538
1578
|
reader_1.readAsDataURL(selectArgs.filesData[0].rawFile);
|
|
1539
1579
|
}
|
|
@@ -1590,6 +1630,9 @@ var Image = /** @class */ (function () {
|
|
|
1590
1630
|
};
|
|
1591
1631
|
proxy.inputUrl.setAttribute('disabled', 'true');
|
|
1592
1632
|
}
|
|
1633
|
+
if (e.operation === 'upload' && !isNullOrUndefined(_this.dialogObj)) {
|
|
1634
|
+
_this.dialogObj.getButtons(0).element.removeAttribute('disabled');
|
|
1635
|
+
}
|
|
1593
1636
|
});
|
|
1594
1637
|
},
|
|
1595
1638
|
failure: function (e) {
|
|
@@ -1599,11 +1642,11 @@ var Image = /** @class */ (function () {
|
|
|
1599
1642
|
// eslint-disable-next-line
|
|
1600
1643
|
_this.parent.trigger(events.imageRemoving, e, function (e) {
|
|
1601
1644
|
proxy.isImgUploaded = false;
|
|
1645
|
+
_this.dialogObj.getButtons(0).element.disabled = true;
|
|
1602
1646
|
proxy.inputUrl.removeAttribute('disabled');
|
|
1603
1647
|
if (proxy.uploadUrl) {
|
|
1604
1648
|
proxy.uploadUrl.url = '';
|
|
1605
1649
|
}
|
|
1606
|
-
_this.dialogObj.getButtons(0).element.removeAttribute('disabled');
|
|
1607
1650
|
});
|
|
1608
1651
|
}
|
|
1609
1652
|
});
|
|
@@ -1616,9 +1659,10 @@ var Image = /** @class */ (function () {
|
|
|
1616
1659
|
if (this.uploadObj.allowedExtensions) {
|
|
1617
1660
|
if (this.uploadObj.allowedExtensions.toLocaleLowerCase().indexOf(('.' + e.type).toLocaleLowerCase()) === -1) {
|
|
1618
1661
|
this.dialogObj.getButtons(0).element.setAttribute('disabled', 'disabled');
|
|
1662
|
+
this.isAllowedTypes = false;
|
|
1619
1663
|
}
|
|
1620
1664
|
else {
|
|
1621
|
-
this.
|
|
1665
|
+
this.isAllowedTypes = true;
|
|
1622
1666
|
}
|
|
1623
1667
|
}
|
|
1624
1668
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventHandler, detach, isNullOrUndefined, select,
|
|
1
|
+
import { EventHandler, detach, isNullOrUndefined, select, extend } from '@syncfusion/ej2-base';
|
|
2
2
|
import { closest, addClass, removeClass, Browser } from '@syncfusion/ej2-base';
|
|
3
3
|
import * as events from '../base/constant';
|
|
4
4
|
import { CLS_RTE_ELEMENTS } from '../base/classes';
|
|
@@ -293,7 +293,7 @@ var Link = /** @class */ (function () {
|
|
|
293
293
|
}
|
|
294
294
|
_this.dialogObj.destroy();
|
|
295
295
|
detach(_this.dialogObj.element);
|
|
296
|
-
var args =
|
|
296
|
+
var args = _this.dialogObj;
|
|
297
297
|
_this.dialogRenderObj.close(args);
|
|
298
298
|
_this.dialogObj = null;
|
|
299
299
|
}
|
|
@@ -385,7 +385,8 @@ var Link = /** @class */ (function () {
|
|
|
385
385
|
proxy.parent.formatter.saveData();
|
|
386
386
|
}
|
|
387
387
|
var argsValue;
|
|
388
|
-
if (this.args
|
|
388
|
+
if (!isNullOrUndefined(this.args) &&
|
|
389
|
+
this.args.code === 'KeyK') {
|
|
389
390
|
var originalEvent = this.args;
|
|
390
391
|
extend(this.args, { item: { command: 'Links', subCommand: 'CreateLink' }, originalEvent: originalEvent }, true);
|
|
391
392
|
var argsVal = {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Popup } from '@syncfusion/ej2-popups';
|
|
2
2
|
import { CLS_QUICK_POP } from '../base/classes';
|
|
3
|
-
import { isBlazor } from '@syncfusion/ej2-base';
|
|
4
3
|
import * as events from '../base/constant';
|
|
5
4
|
/**
|
|
6
5
|
* `Popup renderer` module is used to render popup in RichTextEditor.
|
|
@@ -18,7 +17,7 @@ var PopupRenderer = /** @class */ (function () {
|
|
|
18
17
|
this.parent = parent;
|
|
19
18
|
}
|
|
20
19
|
PopupRenderer.prototype.quickToolbarOpen = function () {
|
|
21
|
-
var args =
|
|
20
|
+
var args = this.popupObj;
|
|
22
21
|
this.parent.trigger(events.quickToolbarOpen, args);
|
|
23
22
|
};
|
|
24
23
|
/**
|
|
@@ -74,9 +74,17 @@ var Render = /** @class */ (function () {
|
|
|
74
74
|
var childNodes = this.parent.contentModule.getEditPanel().childNodes;
|
|
75
75
|
if ((childNodes.length === 0) ||
|
|
76
76
|
(childNodes.length === 1 && childNodes[0].childNodes.length === 0 && ((childNodes[0].tagName === 'BR') ||
|
|
77
|
-
(childNodes[0].tagName === 'P' && childNodes[0].textContent === '')))) {
|
|
77
|
+
((childNodes[0].tagName === 'P' || childNodes[0].tagName === 'DIV') && childNodes[0].textContent === '')))) {
|
|
78
78
|
var node = this.parent.contentModule.getEditPanel();
|
|
79
|
-
|
|
79
|
+
if (this.parent.enterKey === 'DIV') {
|
|
80
|
+
node.innerHTML = '<div><br/></div>';
|
|
81
|
+
}
|
|
82
|
+
else if (this.parent.enterKey === 'BR') {
|
|
83
|
+
node.innerHTML = '<br/>';
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
node.innerHTML = '<p><br/></p>';
|
|
87
|
+
}
|
|
80
88
|
this.parent.formatter.editorManager.nodeSelection.setCursorPoint(this.parent.contentModule.getDocument(), node.childNodes[0], 0);
|
|
81
89
|
}
|
|
82
90
|
break;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { detach, closest, Browser, isNullOrUndefined as isNOU
|
|
1
|
+
import { detach, closest, Browser, isNullOrUndefined as isNOU } from '@syncfusion/ej2-base';
|
|
2
2
|
import { isNullOrUndefined, EventHandler, addClass, removeClass } from '@syncfusion/ej2-base';
|
|
3
3
|
import { Popup } from '@syncfusion/ej2-popups';
|
|
4
4
|
import { Button } from '@syncfusion/ej2-buttons';
|
|
@@ -111,6 +111,7 @@ var Table = /** @class */ (function () {
|
|
|
111
111
|
break;
|
|
112
112
|
case 'Dashed':
|
|
113
113
|
case 'Alternate':
|
|
114
|
+
case 'Custom':
|
|
114
115
|
this.tableStyles(args, item.subCommand);
|
|
115
116
|
break;
|
|
116
117
|
case 'Merge':
|
|
@@ -234,6 +235,13 @@ var Table = /** @class */ (function () {
|
|
|
234
235
|
table.classList.add(classes.CLS_TB_ALT_BOR);
|
|
235
236
|
/* eslint-enable */
|
|
236
237
|
}
|
|
238
|
+
if (args.args && args.args.item.cssClass) {
|
|
239
|
+
var classList = args.args.item.cssClass.split(' ');
|
|
240
|
+
for (var i = 0; i < classList.length; i++) {
|
|
241
|
+
(table.classList.contains(classList[i])) ? table.classList.remove(classList[i]) :
|
|
242
|
+
table.classList.add(classList[i]);
|
|
243
|
+
}
|
|
244
|
+
}
|
|
237
245
|
this.parent.formatter.saveData();
|
|
238
246
|
this.parent.formatter.editorManager.nodeSelection.restore();
|
|
239
247
|
};
|
|
@@ -450,7 +458,7 @@ var Table = /** @class */ (function () {
|
|
|
450
458
|
selectionObj.selection = proxy.parent.formatter.editorManager.nodeSelection.save(range, proxy.contentModule.getDocument());
|
|
451
459
|
}
|
|
452
460
|
var value = {
|
|
453
|
-
|
|
461
|
+
rows: row, columns: col, width: {
|
|
454
462
|
minWidth: proxy.parent.tableSettings.minWidth,
|
|
455
463
|
maxWidth: proxy.parent.tableSettings.maxWidth,
|
|
456
464
|
width: proxy.parent.tableSettings.width
|
|
@@ -649,7 +657,7 @@ var Table = /** @class */ (function () {
|
|
|
649
657
|
EventHandler.add(this.helper, Browser.touchStartEvent, this.resizeStart, this);
|
|
650
658
|
}
|
|
651
659
|
else {
|
|
652
|
-
var args =
|
|
660
|
+
var args = { event: e, requestType: 'Table' };
|
|
653
661
|
this.parent.trigger(events.resizeStart, args, function (resizeStartArgs) {
|
|
654
662
|
if (resizeStartArgs.cancel) {
|
|
655
663
|
_this.cancelResizeAction();
|
|
@@ -726,7 +734,7 @@ var Table = /** @class */ (function () {
|
|
|
726
734
|
var mouseY = (this.parent.enableRtl) ? -(pageY - this.pageY) : (pageY - this.pageY);
|
|
727
735
|
this.pageX = pageX;
|
|
728
736
|
this.pageY = pageY;
|
|
729
|
-
var args =
|
|
737
|
+
var args = { event: e, requestType: 'table' };
|
|
730
738
|
this.parent.trigger(events.onResize, args, function (resizingArgs) {
|
|
731
739
|
if (resizingArgs.cancel) {
|
|
732
740
|
_this.cancelResizeAction();
|
|
@@ -813,7 +821,7 @@ var Table = /** @class */ (function () {
|
|
|
813
821
|
this.pageY = null;
|
|
814
822
|
this.moveEle = null;
|
|
815
823
|
}
|
|
816
|
-
var args =
|
|
824
|
+
var args = { event: e, requestType: 'table' };
|
|
817
825
|
this.parent.trigger(events.resizeStop, args);
|
|
818
826
|
this.parent.formatter.saveData();
|
|
819
827
|
};
|
|
@@ -178,7 +178,21 @@ var ViewSource = /** @class */ (function () {
|
|
|
178
178
|
baseToolbar: this.parent.getBaseToolbarObject()
|
|
179
179
|
});
|
|
180
180
|
var serializeValue = this.parent.serializeValue(editHTML.value);
|
|
181
|
-
var value
|
|
181
|
+
var value;
|
|
182
|
+
if (serializeValue === null || serializeValue === '') {
|
|
183
|
+
if (this.parent.enterKey === 'DIV') {
|
|
184
|
+
value = '<div><br/></div>';
|
|
185
|
+
}
|
|
186
|
+
else if (this.parent.enterKey === 'BR') {
|
|
187
|
+
value = '<br/>';
|
|
188
|
+
}
|
|
189
|
+
else {
|
|
190
|
+
value = '<p><br/></p>';
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
else {
|
|
194
|
+
value = serializeValue;
|
|
195
|
+
}
|
|
182
196
|
if (this.parent.iframeSettings.enable) {
|
|
183
197
|
editHTML.parentElement.style.display = 'none';
|
|
184
198
|
editHTML.style.display = 'none';
|
|
@@ -210,9 +224,13 @@ var ViewSource = /** @class */ (function () {
|
|
|
210
224
|
};
|
|
211
225
|
ViewSource.prototype.getTextAreaValue = function () {
|
|
212
226
|
return (this.contentModule.getEditPanel().innerHTML === '<p><br></p>') ||
|
|
227
|
+
(this.contentModule.getEditPanel().innerHTML === '<div><br></div>') ||
|
|
228
|
+
(this.contentModule.getEditPanel().innerHTML === '<br>') ||
|
|
213
229
|
(this.contentModule.getEditPanel().childNodes.length === 1 &&
|
|
214
|
-
this.contentModule.getEditPanel().childNodes[0].tagName === 'P' &&
|
|
215
|
-
|
|
230
|
+
(this.contentModule.getEditPanel().childNodes[0].tagName === 'P' &&
|
|
231
|
+
this.contentModule.getEditPanel().innerHTML.length === 7) ||
|
|
232
|
+
(this.contentModule.getEditPanel().childNodes[0].tagName === 'DIV' &&
|
|
233
|
+
this.contentModule.getEditPanel().innerHTML.length === 11)) ? '' : this.parent.value;
|
|
216
234
|
};
|
|
217
235
|
/**
|
|
218
236
|
* getPanel method
|
|
@@ -196,8 +196,8 @@
|
|
|
196
196
|
content: '\e33c';
|
|
197
197
|
}
|
|
198
198
|
|
|
199
|
-
.e-rte-toolbar .e-dimension::before,
|
|
200
|
-
.e-rte-dropdown-popup .e-dimension::before {
|
|
199
|
+
.e-rte-toolbar .e-img-dimension::before,
|
|
200
|
+
.e-rte-dropdown-popup .e-img-dimension::before {
|
|
201
201
|
content: '\e336';
|
|
202
202
|
}
|
|
203
203
|
|
|
@@ -663,15 +663,15 @@
|
|
|
663
663
|
font-size: 13px;
|
|
664
664
|
}
|
|
665
665
|
|
|
666
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
667
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
668
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
669
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
670
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
671
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
672
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
673
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
674
|
-
|
|
666
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
667
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
668
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
669
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
670
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
671
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
672
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
673
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content {
|
|
674
|
+
line-height: 1;
|
|
675
675
|
}
|
|
676
676
|
|
|
677
677
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-background-color.e-icons::before,
|
|
@@ -1884,7 +1884,7 @@
|
|
|
1884
1884
|
.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 .e-rte-list-primary-content .e-order-list,
|
|
1885
1885
|
.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-rte-list-primary-content .e-unorder-list,
|
|
1886
1886
|
.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 .e-rte-list-primary-content .e-unorder-list {
|
|
1887
|
-
line-height:
|
|
1887
|
+
line-height: 30px;
|
|
1888
1888
|
}
|
|
1889
1889
|
|
|
1890
1890
|
.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::after,
|
|
@@ -2384,6 +2384,11 @@
|
|
|
2384
2384
|
padding: 0;
|
|
2385
2385
|
}
|
|
2386
2386
|
|
|
2387
|
+
.e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
|
|
2388
|
+
padding-left: 0;
|
|
2389
|
+
padding-right: 0;
|
|
2390
|
+
}
|
|
2391
|
+
|
|
2387
2392
|
.e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
|
|
2388
2393
|
margin: 1px;
|
|
2389
2394
|
}
|
|
@@ -2394,6 +2399,10 @@
|
|
|
2394
2399
|
border-bottom: 0;
|
|
2395
2400
|
}
|
|
2396
2401
|
|
|
2402
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-overlay .e-tbar-btn .e-icons {
|
|
2403
|
+
color: #f0f0f0;
|
|
2404
|
+
}
|
|
2405
|
+
|
|
2397
2406
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn,
|
|
2398
2407
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2399
2408
|
background: rgba(26, 26, 26, 0.12);
|
|
@@ -2658,6 +2667,10 @@
|
|
|
2658
2667
|
border-bottom: 0;
|
|
2659
2668
|
}
|
|
2660
2669
|
|
|
2670
|
+
.e-richtexteditor.e-rte-tb-expand .e-rte-toolbar .e-toolbar-extended.e-popup-open {
|
|
2671
|
+
border-bottom: 0;
|
|
2672
|
+
}
|
|
2673
|
+
|
|
2661
2674
|
.e-richtexteditor.e-rte-tb-expand .e-rte-toolbar.e-expand-open + .e-rte-content {
|
|
2662
2675
|
border-top: 0;
|
|
2663
2676
|
}
|
package/styles/bootstrap.css
CHANGED
|
@@ -342,8 +342,8 @@
|
|
|
342
342
|
content: '\e33c';
|
|
343
343
|
}
|
|
344
344
|
|
|
345
|
-
.e-rte-toolbar .e-dimension::before,
|
|
346
|
-
.e-rte-dropdown-popup .e-dimension::before {
|
|
345
|
+
.e-rte-toolbar .e-img-dimension::before,
|
|
346
|
+
.e-rte-dropdown-popup .e-img-dimension::before {
|
|
347
347
|
content: '\e336';
|
|
348
348
|
}
|
|
349
349
|
|
|
@@ -809,15 +809,15 @@
|
|
|
809
809
|
font-size: 13px;
|
|
810
810
|
}
|
|
811
811
|
|
|
812
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
813
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
814
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
815
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
816
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
817
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
818
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
819
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
820
|
-
|
|
812
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
813
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
814
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
815
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
816
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
817
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
818
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
819
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content {
|
|
820
|
+
line-height: 1;
|
|
821
821
|
}
|
|
822
822
|
|
|
823
823
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-background-color.e-icons::before,
|
|
@@ -2030,7 +2030,7 @@
|
|
|
2030
2030
|
.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 .e-rte-list-primary-content .e-order-list,
|
|
2031
2031
|
.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-rte-list-primary-content .e-unorder-list,
|
|
2032
2032
|
.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 .e-rte-list-primary-content .e-unorder-list {
|
|
2033
|
-
line-height:
|
|
2033
|
+
line-height: 30px;
|
|
2034
2034
|
}
|
|
2035
2035
|
|
|
2036
2036
|
.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::after,
|
|
@@ -2530,6 +2530,11 @@
|
|
|
2530
2530
|
padding: 0;
|
|
2531
2531
|
}
|
|
2532
2532
|
|
|
2533
|
+
.e-rte-quick-toolbar.e-rte-toolbar.e-toolbar .e-toolbar-items .e-toolbar-item .e-rte-backgroundcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control {
|
|
2534
|
+
padding-left: 0;
|
|
2535
|
+
padding-right: 0;
|
|
2536
|
+
}
|
|
2537
|
+
|
|
2533
2538
|
.e-richtexteditor .e-rte-table-popup.e-popup-open.e-dialog .e-rte-tablecell {
|
|
2534
2539
|
margin: 1px;
|
|
2535
2540
|
}
|
|
@@ -2540,6 +2545,10 @@
|
|
|
2540
2545
|
border-bottom: 0;
|
|
2541
2546
|
}
|
|
2542
2547
|
|
|
2548
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-overlay .e-tbar-btn .e-icons {
|
|
2549
|
+
color: #000;
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2543
2552
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn,
|
|
2544
2553
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2545
2554
|
background: rgba(0, 0, 0, 0.12);
|
|
@@ -2804,6 +2813,10 @@
|
|
|
2804
2813
|
border-bottom: 0;
|
|
2805
2814
|
}
|
|
2806
2815
|
|
|
2816
|
+
.e-richtexteditor.e-rte-tb-expand .e-rte-toolbar .e-toolbar-extended.e-popup-open {
|
|
2817
|
+
border-bottom: 0;
|
|
2818
|
+
}
|
|
2819
|
+
|
|
2807
2820
|
.e-richtexteditor.e-rte-tb-expand .e-rte-toolbar.e-expand-open + .e-rte-content {
|
|
2808
2821
|
border-top: 0;
|
|
2809
2822
|
}
|
package/styles/bootstrap4.css
CHANGED
|
@@ -475,8 +475,8 @@
|
|
|
475
475
|
content: '\e80b';
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
.e-rte-toolbar .e-dimension::before,
|
|
479
|
-
.e-rte-dropdown-popup .e-dimension::before {
|
|
478
|
+
.e-rte-toolbar .e-img-dimension::before,
|
|
479
|
+
.e-rte-dropdown-popup .e-img-dimension::before {
|
|
480
480
|
content: '\e791';
|
|
481
481
|
}
|
|
482
482
|
|
|
@@ -942,15 +942,15 @@
|
|
|
942
942
|
font-size: 13px;
|
|
943
943
|
}
|
|
944
944
|
|
|
945
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
946
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
947
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
948
|
-
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
949
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
950
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
951
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-
|
|
952
|
-
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-
|
|
953
|
-
|
|
945
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
946
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
947
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
948
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
949
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
950
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content,
|
|
951
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-numberformatlist-dropdown .e-rte-list-primary-content,
|
|
952
|
+
.e-richtexteditor .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-extended .e-toolbar-item .e-rte-bulletformatlist-dropdown .e-rte-list-primary-content {
|
|
953
|
+
line-height: 1;
|
|
954
954
|
}
|
|
955
955
|
|
|
956
956
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-items .e-toolbar-item .e-background-color.e-icons::before,
|
|
@@ -2163,7 +2163,7 @@
|
|
|
2163
2163
|
.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 .e-rte-list-primary-content .e-order-list,
|
|
2164
2164
|
.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-rte-list-primary-content .e-unorder-list,
|
|
2165
2165
|
.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 .e-rte-list-primary-content .e-unorder-list {
|
|
2166
|
-
line-height:
|
|
2166
|
+
line-height: 28px;
|
|
2167
2167
|
}
|
|
2168
2168
|
|
|
2169
2169
|
.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::after,
|
|
@@ -2418,7 +2418,7 @@
|
|
|
2418
2418
|
.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.e-active .e-rte-list-primary-content .e-order-list,
|
|
2419
2419
|
.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 .e-rte-list-primary-content .e-unorder-list,
|
|
2420
2420
|
.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.e-active .e-rte-list-primary-content .e-unorder-list {
|
|
2421
|
-
line-height:
|
|
2421
|
+
line-height: 36px;
|
|
2422
2422
|
}
|
|
2423
2423
|
|
|
2424
2424
|
.e-bigger .e-rte-toolbar.e-toolbar.e-extended-toolbar .e-toolbar-items .e-toolbar-item button.e-rte-fontcolor-dropdown.e-dropdown-btn.e-tbar-btn.e-btn.e-control .e-icons.e-btn-icon,
|
|
@@ -2673,6 +2673,10 @@
|
|
|
2673
2673
|
border-bottom: 0;
|
|
2674
2674
|
}
|
|
2675
2675
|
|
|
2676
|
+
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-overlay .e-tbar-btn .e-icons {
|
|
2677
|
+
color: rgba(108, 117, 125, 0.3);
|
|
2678
|
+
}
|
|
2679
|
+
|
|
2676
2680
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn,
|
|
2677
2681
|
.e-richtexteditor .e-rte-toolbar .e-toolbar-item.e-active .e-tbar-btn:focus {
|
|
2678
2682
|
background: #6c757d;
|
|
@@ -2937,6 +2941,10 @@
|
|
|
2937
2941
|
border-bottom: 0;
|
|
2938
2942
|
}
|
|
2939
2943
|
|
|
2944
|
+
.e-richtexteditor.e-rte-tb-expand .e-rte-toolbar .e-toolbar-extended.e-popup-open {
|
|
2945
|
+
border-bottom: 0;
|
|
2946
|
+
}
|
|
2947
|
+
|
|
2940
2948
|
.e-richtexteditor.e-rte-tb-expand .e-rte-toolbar.e-expand-open + .e-rte-content {
|
|
2941
2949
|
border-top: 0;
|
|
2942
2950
|
}
|