Skip to content

Commit c831874

Browse files
committed
update readme
1 parent 4856332 commit c831874

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -20,26 +20,26 @@ npm install @zurmokeeper/exceljs
2020

2121
Change Log:
2222

23-
* 1: Fixbug: [Internal hyperlink does not work on wps office](https://github.com/zurmokeeper/excelize/issues/4). (brank change) and support new internal linking methods。
23+
* 1: Fixbug: [Internal hyperlink does not work on wps office](https://github.com/zurmokeeper/excelize/issues/4). (Break change) and support new internal hyperlink methods。
2424
* 2:Add type definition for WorksheetModel.merges, Thank you <a href="https://github.com/ytjmt">ytjmt</a>, Merged <a href="https://github.com/exceljs/exceljs/pull/2281"> PR2281</a>.
2525
* 3:Add type definition for WorksheetProtection.spinCount,Thank you <a href="https://github.com/damingerdai">damingerdai</a>, Merged <a href="https://github.com/exceljs/exceljs/pull/2284"> PR2284</a>.
2626

27-
PS: Since V4.4.2 @zurmokeeper/exceljs new cell insertion internal links support `Sheet2!A1:B1` and `A1:B1` and other forms, the original only supports `Sheet2!A1`, use the following way::
27+
PS: Since V4.4.2 @zurmokeeper/exceljs new cell insertion internal hyperlink support `Sheet2!A1:B1` and `A1:B1` and other forms, the original only supports `Sheet2!A1`, use the following way::
2828

2929

3030
```
3131
const wb = new ExcelJS.Workbook();
3232
const ws1 = wb.addWorksheet('Sheet1');
3333
const ws2 = wb.addWorksheet('Sheet2');
3434
35-
'#' is required, @zurmokeeper/exceljs is to distinguish internal links by '#', the default will be considered non-internal links, older versions also need to manually add '#' , how not to add if
36-
// internal link
35+
'#' is required, @zurmokeeper/exceljs is to distinguish internal hyperlink by '#', the default will be considered non-internal hyperlink, older versions also need to manually add '#' , how not to add if
36+
// internal hyperlink
3737
ws1.getCell('A1').value = { text: 'Sheet2', hyperlink: '#Sheet2!A1' };
3838
39-
// internal link
39+
// internal hyperlink
4040
ws1.getCell('A1').value = { text: 'Sheet2', hyperlink: '#Sheet2!A1:B1' };
4141
42-
// internal link
42+
// internal hyperlink
4343
ws1.getCell('A1').value = { text: 'Sheet2', hyperlink: '#A1:B1' };
4444
```
4545

0 commit comments

Comments
 (0)