devexpress-richedit 24.1.3 → 24.1.4-build-24183-0102

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/bin/gulpfile.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (gulpfile.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (index-custom.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (localization-builder.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell-index.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (nspell.webpack.config.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack-externals.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (webpack.config.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1933,7 +1933,7 @@
1933
1933
  }
1934
1934
 
1935
1935
  .dxreInputTarget {
1936
- position: fixed;
1936
+ position: absolute;
1937
1937
  overflow: hidden;
1938
1938
  left: -1px;
1939
1939
  top: -1px;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (dx.richedit.d.ts)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * DevExpress WebRichEdit (dx.richedit.js)
3
- * Version: 24.1.3
3
+ * Version: 24.1.4
4
4
  * Copyright (c) 2012 - 2024 Developer Express Inc. ALL RIGHTS RESERVED
5
5
  * License: https://www.devexpress.com/Support/EULAs
6
6
  */
@@ -89413,15 +89413,20 @@ class ControlFontsLoader {
89413
89413
  };
89414
89414
  const xhr = new XMLHttpRequest();
89415
89415
  xhr.onload = (_e) => {
89416
- const fontSource = xhr.response;
89417
- if (xhr.status >= 400 || !fontSource) {
89418
- if (fontInfo.next())
89419
- this.makeRequest(fontInfo, afterLoading);
89416
+ const contentType = xhr.getResponseHeader("Content-Type");
89417
+ if (contentType != null && contentType.startsWith('font')) {
89418
+ const fontSource = xhr.response;
89419
+ if (xhr.status >= 400 || !fontSource) {
89420
+ if (fontInfo.next())
89421
+ this.makeRequest(fontInfo, afterLoading);
89422
+ else
89423
+ notLoaded();
89424
+ }
89420
89425
  else
89421
- notLoaded();
89426
+ afterLoading(fontSource);
89422
89427
  }
89423
89428
  else
89424
- afterLoading(fontSource);
89429
+ notLoaded();
89425
89430
  };
89426
89431
  xhr.onerror = () => notLoaded();
89427
89432
  xhr.open("GET", fontInfo.currentPath, true);
@@ -94359,6 +94364,7 @@ class AnchorObjectPositionCalculatorBase {
94359
94364
  this.obj = obj;
94360
94365
  this.isRelativeCell = !!this.manager.activeFormatter.tableFormatter &&
94361
94366
  (obj.anchorInfo.layoutTableCell || this.manager.model.compatibilitySettings.layoutInTableCell);
94367
+ this.isSimpleView = this.manager.innerClientProperties.viewsSettings.isSimpleView;
94362
94368
  }
94363
94369
  }
94364
94370
 
@@ -94569,13 +94575,15 @@ class AnchorObjectVerticalPositionCalculator extends AnchorObjectPositionCalcula
94569
94575
  switch (this.anchorInfo.verticalPositionType) {
94570
94576
  case AnchorObjectVerticalPositionType.Page:
94571
94577
  return this.isRelativeCell ? this.relativeColumnPos() + this.lp.row.tableCellInfo.y + this.topCellMargin : 0;
94572
- case AnchorObjectVerticalPositionType.Paragraph:
94573
- return this.relativeColumnPos() + this.getRowWhatStartParagraphY();
94574
94578
  case AnchorObjectVerticalPositionType.Line:
94575
94579
  return this.relativeColumnPos() + this.lp.row.y;
94576
94580
  case AnchorObjectVerticalPositionType.Margin:
94577
- return this.isRelativeCell ? this.relativeColumnPos() + this.lp.row.tableCellInfo.y + this.topCellMargin :
94578
- this.manager.boundsCalculator.marginTop;
94581
+ if (!this.isSimpleView) {
94582
+ return this.isRelativeCell ? this.relativeColumnPos() + this.lp.row.tableCellInfo.y + this.topCellMargin :
94583
+ this.manager.boundsCalculator.marginTop;
94584
+ }
94585
+ case AnchorObjectVerticalPositionType.Paragraph:
94586
+ return this.relativeColumnPos() + this.getRowWhatStartParagraphY();
94579
94587
  case AnchorObjectVerticalPositionType.TopMargin:
94580
94588
  case AnchorObjectVerticalPositionType.InsideMargin:
94581
94589
  return this.isRelativeCell ? this.relativeColumnPos() + this.lp.row.tableCellInfo.y + this.topCellMargin : 0;