Skip to content

Commit c9b26de

Browse files
author
pipeline
committed
v19.1.69 is released
1 parent 82e8135 commit c9b26de

File tree

191 files changed

+8414
-487
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

191 files changed

+8414
-487
lines changed

controls/barcodegenerator/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.67 (2021-06-08)
5+
## 19.1.63 (2021-05-13)
66

77
### Barcode
88

controls/barcodegenerator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-barcode-generator",
3-
"version": "19.1.56",
3+
"version": "19.1.63",
44
"description": "Barcode generator component is a pure JavaScript library which will convert a string to Barcode and show it to the user. This supports major 1D and 2D barcodes including coda bar, code 128, QR Code.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/base/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.67 (2021-06-08)
5+
## 19.1.64 (2021-05-19)
66

77
### Common
88

controls/base/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-base",
3-
"version": "19.1.63",
3+
"version": "19.1.64",
44
"description": "A common package of Essential JS 2 base libraries, methods and class definitions",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/base/styles/definition/_material-dark.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$accent: #00b0ff !default;
1+
$accent: #ff80ab !default;
22
$accent-font: #000 !default;
33
$primary: #3f51b5 !default;
44
$primary-50: #e8eaf6 !default;

controls/charts/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## [Unreleased]
44

5+
## 19.1.69 (2021-06-15)
6+
7+
### Chart
8+
9+
#### Bug Fixes
10+
11+
- `#329311` - Legend text is now rendering properly with ampersand symbol.
12+
513
## 19.1.67 (2021-06-08)
614

715
### Chart

controls/charts/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-charts",
3-
"version": "19.1.65",
3+
"version": "19.1.67",
44
"description": "Feature-rich chart control with built-in support for over 25 chart types, technical indictors, trendline, zooming, tooltip, selection, crosshair and trackball.",
55
"author": "Syncfusion Inc.",
66
"license": "SEE LICENSE IN license",

controls/charts/spec/pie/renderer/legend.spec.ts

+21
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,9 @@ describe('Legend checking for the pie series', () => {
666666
let chartContainer: HTMLElement;
667667
let titleElement: Element;
668668
let legendGroup: Element;
669+
let id: string = 'container';
670+
let legendEle: Element;
671+
let legendId: string = id + '_chart_legend';
669672
let backArrow: Element; let fontArrow: Element;
670673
let opacity: string; let path: string;
671674
let xValue: string; let yValue: string;
@@ -966,6 +969,24 @@ describe('Legend checking for the pie series', () => {
966969
pieObj.legendSettings.position = 'Left';
967970
pieObj.refresh();
968971
});
972+
it('11.legend with html entities', (done: Function) => {
973+
pieObj.loaded = (args: IAccLoadedEventArgs) => {
974+
legendEle = getElement(legendId + '_text_1');
975+
expect(legendEle.textContent === '<Serations').toBe(true);
976+
legendEle = getElement(legendId + '_text_4');
977+
expect(legendEle.textContent === 'Prepaid&Assets').toBe(true);
978+
done();
979+
};
980+
pieObj.legendSettings.position = 'Bottom';
981+
pieObj.series[0].dataSource = [{ x: 'Net-s', y: 21, text: '21%' },
982+
{ x: '&#60;Serations', y: 21, text: '21%' },
983+
{ x: 'Privts', y: 8, text: '8%' },
984+
{ x: 'Aler&gt;', y: 8, text: '8%' },
985+
{ x: 'Prepaid&amp;Assets', y: 4, text: '4%' },
986+
{ x: 'St', y: 21, text: '21%' },
987+
{ x: 'Fedeue', y: 16, text: '16%' }];
988+
pieObj.refresh();
989+
});
969990
});
970991
it('memory leak', () => {
971992
profile.sample();

controls/charts/src/accumulation-chart/renderer/legend.ts

+12-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export class AccumulationLegend extends BaseLegend {
9898
name: 'legendRender', cancel: false };
9999
this.chart.trigger('legendRender', legendEventArgs);
100100
legendOption.render = !legendEventArgs.cancel;
101-
legendOption.text = legendEventArgs.text;
101+
legendOption.text = ((legendEventArgs.text.indexOf('&') > -1) ? this.convertHtmlEntities(legendEventArgs.text) : legendEventArgs.text);
102102
legendOption.fill = legendEventArgs.fill;
103103
legendOption.shape = legendEventArgs.shape;
104104
legendOption.textSize = measureText(legendOption.text, legend.textStyle);
@@ -162,6 +162,17 @@ export class AccumulationLegend extends BaseLegend {
162162
this.setBounds(0, 0, legend, legendBounds);
163163
}
164164
}
165+
/**
166+
* To find html entities value for legend
167+
*
168+
* @returns {string} converts the entities to normal string.
169+
*/
170+
public convertHtmlEntities(legendText: string) {
171+
let text = String(legendText).replace('&amp;', '&').replace('&lt;', '<').replace('&gt;', '>').replace('&quot;', '"').replace('&nbsp;', ' ').replace('&cent;', '¢').replace('&pound;', '£').replace('&yen;','¥').replace('&euro;', '€').replace('&copy;','©').replace('&reg;','®');
172+
text = String(text).replace('&#38;', '&').replace('&#60;', '<').replace('&#62;', '>').replace('&#34;', '"').replace('&#160;', ' ').replace('&#162;', '¢').replace('&#163;', '£').replace('&#165;','¥').replace('&#8364;', '€').replace('&#169;','©').replace('&#174;','®');
173+
return text;
174+
}
175+
165176
/**
166177
* To find maximum column size for legend
167178
*

controls/circulargauge/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
## [Unreleased]
66

7-
## 19.1.67 (2021-06-08)
7+
## 19.1.69 (2021-06-15)
88

99
### CircularGauge
1010

controls/compression/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.67 (2021-06-08)
5+
## 19.1.69 (2021-06-15)
66

77
### Compression
88

controls/data/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.67 (2021-06-08)
5+
## 19.1.69 (2021-06-15)
66

77
### DataManager
88

controls/diagrams/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## [Unreleased]
44

5-
## 19.1.67 (2021-06-08)
5+
## 19.1.69 (2021-06-15)
66

77
### Diagram
88

controls/documenteditor/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,20 @@
22

33
## [Unreleased]
44

5+
## 19.1.69 (2021-06-15)
6+
7+
### Document Editor
8+
9+
#### Bug Fixes
10+
11+
- `#I329173`, `#I330233` - Resolve script error while updating cross reference field.
12+
- `#F165501` - Resolve script error while applying border.
13+
- `#I328310` - Shape is now rendered properly in header & footer.
14+
- `#I325741` - Footnote content is now layout properly.
15+
- `#I329564` - Disabled accept and reject changes in read only mode.
16+
- `#F164814` - Character format is now applied properly in RTL text.
17+
- `#I328063` - Resolved script error while scrolling.
18+
519
## 19.1.67 (2021-06-08)
620

721
### Document Editor

controls/documenteditor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syncfusion/ej2-documenteditor",
3-
"version": "19.1.66",
3+
"version": "19.1.67",
44
"description": "Feature-rich document editor control with built-in support for context menu, options pane and dialogs.",
55
"keywords": [
66
"ej2",

controls/documenteditor/spec/implementation/editor_17.spec.ts

+37-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { DocumentEditor } from '../../src/document-editor/document-editor';
2-
import { TableOfContentsSettings, ParagraphWidget, BookmarkDialog, BookmarkElementBox } from '../../src/document-editor/index';
2+
import { TableOfContentsSettings, ParagraphWidget, BookmarkDialog, BookmarkElementBox, BorderSettings } from '../../src/document-editor/index';
33
import { createElement } from '@syncfusion/ej2-base';
44
import { Editor, EditorHistory, TableCellWidget, TextElementBox, TextHelper, RtlInfo, ListTextElementBox, LineWidget, TabElementBox, TextPosition, WSectionFormat } from '../../src/index';
55
import { TestHelper } from '../test-helper.spec';
@@ -431,4 +431,40 @@ describe('Inserting a same bookmark multiple times validation', () => {
431431
editor.editor.insertBookmark('check');
432432
expect(editor.documentHelper.bookmarks.length).toBe(2);
433433
});
434+
});
435+
let mergetable: any = {"sections":[{"sectionFormat":{"pageWidth":612,"pageHeight":792,"leftMargin":72,"rightMargin":72,"topMargin":72,"bottomMargin":72,"differentFirstPage":false,"differentOddAndEvenPages":false,"headerDistance":36,"footerDistance":36,"bidi":false},"blocks":[{"rows":[{"cells":[{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":0},{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":1},{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":2}],"rowFormat":{"height":0,"heightType":"Auto","borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"gridBefore":0,"gridAfter":0}},{"cells":[{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":0},{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":312,"cellWidth":312,"columnSpan":2,"rowSpan":2},"columnIndex":1}],"rowFormat":{"height":0,"heightType":"Auto","borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"gridBefore":0,"gridAfter":0}},{"cells":[{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":0}],"rowFormat":{"height":0,"heightType":"Auto","borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"gridBefore":0,"gridAfter":0}},{"cells":[{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":0},{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":1},{"blocks":[{"paragraphFormat":{"leftIndent":0,"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"cellFormat":{"borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"shading":{},"preferredWidth":156,"cellWidth":156,"columnSpan":1,"rowSpan":1},"columnIndex":2}],"rowFormat":{"height":0,"heightType":"Auto","borders":{"top":{},"left":{},"right":{},"bottom":{},"diagonalDown":{},"diagonalUp":{},"horizontal":{},"vertical":{}},"gridBefore":0,"gridAfter":0}}],"grid":[156,156,156],"tableFormat":{"borders":{"top":{"lineStyle":"Single","lineWidth":0.5},"left":{"lineStyle":"Single","lineWidth":0.5},"right":{"lineStyle":"Single","lineWidth":0.5},"bottom":{"lineStyle":"Single","lineWidth":0.5},"diagonalDown":{},"diagonalUp":{},"horizontal":{"lineStyle":"Single","lineWidth":0.5},"vertical":{"lineStyle":"Single","lineWidth":0.5}},"shading":{},"leftIndent":0,"topMargin":0,"rightMargin":5.4,"leftMargin":5.4,"bottomMargin":0,"preferredWidthType":"Auto"},"columnCount":3},{"paragraphFormat":{"styleName":"Normal","listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}],"headersFooters":{"header":{"blocks":[{"paragraphFormat":{"listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}]},"footer":{"blocks":[{"paragraphFormat":{"listFormat":{}},"characterFormat":{"fontSize":null},"inlines":[]}]},"evenHeader":{},"evenFooter":{},"firstPageHeader":{},"firstPageFooter":{}}}],"characterFormat":{"bold":false,"italic":false,"fontSize":11,"fontFamily":"Calibri","underline":"None","strikethrough":"None","baselineAlignment":"Normal","highlightColor":"NoColor","fontColor":"empty","boldBidi":false,"italicBidi":false,"fontSizeBidi":11,"fontFamilyBidi":"Calibri","allCaps":false},"paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":0,"afterSpacing":0,"lineSpacing":1,"lineSpacingType":"Multiple","listFormat":{},"bidi":false},"defaultTabWidth":36,"trackChanges":false,"enforcement":false,"hashValue":"","saltValue":"","formatting":false,"protectionType":"NoProtection","dontUseHTMLParagraphAutoSpacing":false,"formFieldShading":true,"styles":[{"name":"Normal","type":"Paragraph","paragraphFormat":{"listFormat":{}},"characterFormat":{"fontSize":null},"next":"Normal"},{"name":"Heading 1","type":"Paragraph","paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":12,"afterSpacing":0,"lineSpacing":1.0791666507720947,"lineSpacingType":"Multiple","outlineLevel":"Level1","listFormat":{}},"characterFormat":{"fontSize":16,"fontFamily":"Calibri Light","fontColor":"#2F5496","fontSizeBidi":16,"fontFamilyBidi":"Calibri Light"},"basedOn":"Normal","link":"Heading 1 Char","next":"Normal"},{"name":"Heading 1 Char","type":"Character","characterFormat":{"fontSize":16,"fontFamily":"Calibri Light","fontColor":"#2F5496","fontSizeBidi":16,"fontFamilyBidi":"Calibri Light"},"basedOn":"Default Paragraph Font"},{"name":"Default Paragraph Font","type":"Character","characterFormat":{"fontSize":null}},{"name":"Heading 2","type":"Paragraph","paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":2,"afterSpacing":0,"lineSpacing":1.0791666507720947,"lineSpacingType":"Multiple","outlineLevel":"Level2","listFormat":{}},"characterFormat":{"fontSize":13,"fontFamily":"Calibri Light","fontColor":"#2F5496","fontSizeBidi":13,"fontFamilyBidi":"Calibri Light"},"basedOn":"Normal","link":"Heading 2 Char","next":"Normal"},{"name":"Heading 2 Char","type":"Character","characterFormat":{"fontSize":13,"fontFamily":"Calibri Light","fontColor":"#2F5496","fontSizeBidi":13,"fontFamilyBidi":"Calibri Light"},"basedOn":"Default Paragraph Font"},{"name":"Heading 3","type":"Paragraph","paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":2,"afterSpacing":0,"lineSpacing":1.0791666507720947,"lineSpacingType":"Multiple","outlineLevel":"Level3","listFormat":{}},"characterFormat":{"fontSize":12,"fontFamily":"Calibri Light","fontColor":"#1F3763","fontSizeBidi":12,"fontFamilyBidi":"Calibri Light"},"basedOn":"Normal","link":"Heading 3 Char","next":"Normal"},{"name":"Heading 3 Char","type":"Character","characterFormat":{"fontSize":12,"fontFamily":"Calibri Light","fontColor":"#1F3763","fontSizeBidi":12,"fontFamilyBidi":"Calibri Light"},"basedOn":"Default Paragraph Font"},{"name":"Heading 4","type":"Paragraph","paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":2,"afterSpacing":0,"lineSpacing":1.0791666507720947,"lineSpacingType":"Multiple","outlineLevel":"Level4","listFormat":{}},"characterFormat":{"italic":true,"fontSize":null,"fontFamily":"Calibri Light","fontColor":"#2F5496","italicBidi":true,"fontFamilyBidi":"Calibri Light"},"basedOn":"Normal","link":"Heading 4 Char","next":"Normal"},{"name":"Heading 4 Char","type":"Character","characterFormat":{"italic":true,"fontSize":null,"fontFamily":"Calibri Light","fontColor":"#2F5496","italicBidi":true,"fontFamilyBidi":"Calibri Light"},"basedOn":"Default Paragraph Font"},{"name":"Heading 5","type":"Paragraph","paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":2,"afterSpacing":0,"lineSpacing":1.0791666507720947,"lineSpacingType":"Multiple","outlineLevel":"Level5","listFormat":{}},"characterFormat":{"fontSize":null,"fontFamily":"Calibri Light","fontColor":"#2F5496","fontFamilyBidi":"Calibri Light"},"basedOn":"Normal","link":"Heading 5 Char","next":"Normal"},{"name":"Heading 5 Char","type":"Character","characterFormat":{"fontSize":null,"fontFamily":"Calibri Light","fontColor":"#2F5496","fontFamilyBidi":"Calibri Light"},"basedOn":"Default Paragraph Font"},{"name":"Heading 6","type":"Paragraph","paragraphFormat":{"leftIndent":0,"rightIndent":0,"firstLineIndent":0,"textAlignment":"Left","beforeSpacing":2,"afterSpacing":0,"lineSpacing":1.0791666507720947,"lineSpacingType":"Multiple","outlineLevel":"Level6","listFormat":{}},"characterFormat":{"fontSize":null,"fontFamily":"Calibri Light","fontColor":"#1F3763","fontFamilyBidi":"Calibri Light"},"basedOn":"Normal","link":"Heading 6 Char","next":"Normal"},{"name":"Heading 6 Char","type":"Character","characterFormat":{"fontSize":null,"fontFamily":"Calibri Light","fontColor":"#1F3763","fontFamilyBidi":"Calibri Light"},"basedOn":"Default Paragraph Font"}],"lists":[],"abstractLists":[],"comments":[],"revisions":[],"customXml":[]};
436+
describe('Apply table border via pane validation', () => {
437+
let editor: DocumentEditor = undefined;
438+
beforeAll(() => {
439+
document.body.innerHTML = '';
440+
let ele: HTMLElement = createElement('div', { id: 'container' });
441+
document.body.appendChild(ele);
442+
editor = new DocumentEditor({ enableEditor: true, enableLocalPaste: false, enableComment: true });
443+
DocumentEditor.Inject(Editor, Selection, EditorHistory);
444+
(editor.documentHelper as any).containerCanvasIn = TestHelper.containerCanvas;
445+
(editor.documentHelper as any).selectionCanvasIn = TestHelper.selectionCanvas;
446+
(editor.documentHelper.render as any).pageCanvasIn = TestHelper.pageCanvas;
447+
(editor.documentHelper.render as any).selectionCanvasIn = TestHelper.pageSelectionCanvas;
448+
editor.appendTo('#container');
449+
});
450+
afterAll((done) => {
451+
editor.destroy();
452+
document.body.removeChild(document.getElementById('container'));
453+
editor = undefined;
454+
document.body.innerHTML = '';
455+
setTimeout(() => {
456+
done();
457+
}, 1000);
458+
});
459+
it('Apply table border via pane validation', function () {
460+
editor.open(JSON.stringify(mergetable));
461+
editor.selection.handleControlShiftDownKey();
462+
editor.selection.handleControlShiftDownKey();
463+
editor.selection.handleControlShiftDownKey();
464+
editor.selection.handleControlShiftDownKey();
465+
editor.selection.handleControlShiftDownKey();
466+
editor.selection.handleControlShiftDownKey();
467+
let settings: BorderSettings = { type: 'AllBorders', borderColor: 'red', lineWidth: 1, borderStyle: 'Single' };
468+
expect(() => { editor.editor.applyBorders(settings) }).toThrowError();
469+
});
434470
});

0 commit comments

Comments
 (0)