diff --git a/docs/guide/api.md b/docs/guide/api.md index 05153c1..cc9a984 100644 --- a/docs/guide/api.md +++ b/docs/guide/api.md @@ -2269,9 +2269,6 @@ Use note: ### scroll([setting]) -[todo] - - - **参数**: - {PlainObject} [setting]: optional parameters diff --git a/docs/guide/config.md b/docs/guide/config.md index 3e18124..e379d83 100644 --- a/docs/guide/config.md +++ b/docs/guide/config.md @@ -201,7 +201,8 @@ Note that you also need to configure `loadUrl` and `loadSheetUrl` to take effect bold: false, //'Bold (Ctrl+B)' italic: false, //'Italic (Ctrl+I)' strikethrough: false, //'Strikethrough (Alt+Shift+5)' - textColor: false, //'Text color' + underline: false, // 'Underline (Alt+Shift+6)' + textColor: false, //'Text color' fillColor: false, //'Cell color' border: false, //'border' mergeCell: false, //'Merge cells' diff --git a/docs/guide/resource.md b/docs/guide/resource.md index b777d4e..179a0f0 100644 --- a/docs/guide/resource.md +++ b/docs/guide/resource.md @@ -12,7 +12,8 @@ If you have written or found an excellent tutorial and want to recommend it to u ## Collaborative editing background ### Community Case -- Java background [Luckysheet save and restore](https://gitee.com/ichiva/luckysheet-saved-in-recovery)[Pending translation] +- [Luckysheet save and restore](https://gitee.com/ichiva/luckysheet-saved-in-recovery) (Java version) +- [Online form for collaborative editing based on Luckysheet](https://github.com/DilemmaVi/ecsheet) (Java version) ## Learning Materials diff --git a/docs/zh/guide/api.md b/docs/zh/guide/api.md index a67d942..fbac420 100644 --- a/docs/zh/guide/api.md +++ b/docs/zh/guide/api.md @@ -2571,7 +2571,7 @@ Luckysheet针对常用的数据操作需求,开放了主要功能的API,开 按照scrollWidth, scrollHeight刷新canvas展示数据。 - > 推荐使用新API: [scroll](#scroll([setting])) + > 推荐使用新API: [scroll](/zh/guide/api.html#scroll-setting) ------------ ### setcellvalue(r, c, d, v) diff --git a/docs/zh/guide/config.md b/docs/zh/guide/config.md index 720c718..6b88aaa 100644 --- a/docs/zh/guide/config.md +++ b/docs/zh/guide/config.md @@ -288,7 +288,8 @@ Luckysheet开放了更细致的自定义配置选项,分别有 fontSize: false, // '字号大小' bold: false, // '粗体 (Ctrl+B)' italic: false, // '斜体 (Ctrl+I)' - strikethrough: false, // '删除线 (Alt+Shift+5)' + strikethrough: false, // '删除线 (Alt+Shift+5)' + underline: false, // '下划线 (Alt+Shift+6)' textColor: false, // '文本颜色' fillColor: false, // '单元格颜色' border: false, // '边框' diff --git a/docs/zh/guide/resource.md b/docs/zh/guide/resource.md index b54e683..9044bc0 100644 --- a/docs/zh/guide/resource.md +++ b/docs/zh/guide/resource.md @@ -12,7 +12,8 @@ ## 协同编辑后台 ### 社区案例 -- Java后台 [Luckysheet保存与恢复](https://gitee.com/ichiva/luckysheet-saved-in-recovery) +- [Luckysheet保存与恢复](https://gitee.com/ichiva/luckysheet-saved-in-recovery)(Java版) +- [基于Luckysheet实现的协同编辑在线表格](https://github.com/DilemmaVi/ecsheet)(Java版) ## 学习资料 diff --git a/src/controllers/resize.js b/src/controllers/resize.js index 931ca99..59da226 100644 --- a/src/controllers/resize.js +++ b/src/controllers/resize.js @@ -355,8 +355,7 @@ export function menuToolBarWidth() { underline: { ele:'#luckysheet-icon-underline', index:13, - }, //'Strikethrough (Alt+Shift+6)' - + }, //'Underline (Alt+Shift+6)' textColor: { ele:['#luckysheet-icon-text-color','#luckysheet-icon-text-color-menu','#toolbar-separator-text-color'], index:14, @@ -389,11 +388,11 @@ export function menuToolBarWidth() { ele:['#luckysheet-icon-rotation','#luckysheet-icon-rotation-menu','#toolbar-separator-text-rotate'], index:21, }, //'Text Rotation Mode' - image:{ + image:{ ele:'#luckysheet-insertImg-btn-title', index:22, }, //'Insert link' - link:{ + link:{ ele:'#luckysheet-insertLink-btn-title', index:23, }, //'Insert picture' @@ -445,7 +444,7 @@ export function menuToolBarWidth() { ele:'#luckysheet-icon-protection', index:35, }, // 'Worksheet protection' - print:{ + print:{ ele:'#luckysheet-icon-print', index:36, }, // 'print' @@ -465,6 +464,7 @@ export function menuToolBarWidth() { bold: true, //'Bold (Ctrl+B)' italic: true, //'Italic (Ctrl+I)' strikethrough: true, //'Strikethrough (Alt+Shift+5)' + underline: true, //'Underline (Alt+Shift+6)' textColor: true, //'Text color' fillColor: true, //'Cell color' border: true, //'border' @@ -474,6 +474,7 @@ export function menuToolBarWidth() { textWrapMode: true, //'Wrap mode' textRotateMode: true, //'Text Rotation Mode' image:true, // 'Insert picture' + link: true, // 'Insert link'(TODO) chart: true, //'chart' (the icon is hidden, but if the chart plugin is configured, you can still create a new chart by right click) postil:true, //'comment' pivotTable: true, //'PivotTable' @@ -487,7 +488,6 @@ export function menuToolBarWidth() { findAndReplace: true, //'Find and Replace' protection: true, // 'Worksheet protection' print: true, // 'print' - // link: true, // 'Insert link'(TODO) } // false means all false