Browse Source

docs(resource): add link

1.add resource link 2.underline button config
master
mengshukeji 5 years ago
parent
commit
41401cd09b
  1. 3
      docs/guide/api.md
  2. 3
      docs/guide/config.md
  3. 3
      docs/guide/resource.md
  4. 2
      docs/zh/guide/api.md
  5. 3
      docs/zh/guide/config.md
  6. 3
      docs/zh/guide/resource.md
  7. 12
      src/controllers/resize.js

3
docs/guide/api.md

@ -2269,9 +2269,6 @@ Use note:
### scroll([setting])
[todo]
- **参数**
- {PlainObject} [setting]: optional parameters

3
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'

3
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

2
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)

3
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, // '边框'

3
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版)
## 学习资料

12
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

Loading…
Cancel
Save