Skip to content

Commit

Permalink
chore: replace wt-editor toolbar icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mengshuicmq committed Jan 6, 2022
1 parent 8090fe5 commit e1fbe20
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions dist/wt-editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,38 +33,38 @@ angular.module("wt-editor")
"heading": {
id: 0,
title: '标题',
className: 'fa fa-header',
className: 'wtf wtf-heading',
type: 'headingFns',
name: 'heading'
},
"bold": {
id: 1,
title: '粗体',
className: 'fa fa-bold',
className: 'wtf wtf-bold',
modifier: '**',
type: 'styleFn',
name: 'bold'
},
"italic": {
id: 2,
title: '斜体',
className: 'fa fa-italic',
className: 'wtf wtf-italic',
modifier: '*',
type: 'styleFn',
name: 'italic'
},
"underline": {
id: 3,
title: '下划线',
className: 'fa fa-underline',
className: 'wtf wtf-underline',
modifier: 'u',
type: 'styleFn',
name: 'underline'
},
"strikethrough": {
id: 4,
title: '删除线',
className: 'fa fa-strikethrough',
className: 'wtf wtf-strikethrough',
modifier: '~~',
type: 'styleFn',
name: 'strikethrough'
Expand Down Expand Up @@ -120,54 +120,54 @@ angular.module("wt-editor")
"hr": {
id: 11,
title: '横线',
className: 'fa fa-minus',
className: 'wtf wtf-minus',
type: 'styleFn',
name: 'hr'
},
"quote": {
id: 12,
title: '引用',
className: 'fa fa-quote-left',
className: 'wtf wtf-quote-left',
prefix: '> ',
type: 'styleFn',
name: 'quote'
},
"list": {
id: 13,
title: '无序列表',
className: 'fa fa-list-ul',
className: 'wtf wtf-list-ul1',
prefix: '- ',
type: 'styleFn',
name: 'list'
},
"list-2": {
id: 14,
title: '有序列表',
className: 'fa fa-list-ol',
className: 'wtf wtf-list-ol',
prefix: '1. ',
type: 'styleFn',
name: 'list-2'
},
"square": {
id: 15,
title: '未完成任务列表',
className: 'fa fa-square-o',
className: 'wtf wtf-check-square',
prefix: '- [ ] ',
type: 'styleFn',
name: 'square'
},
"check-square": {
id: 16,
title: '已完成任务列表',
className: 'fa fa-check-square-o',
className: 'wtf wtf-check-square-o',
prefix: '- [x] ',
type: 'styleFn',
name: 'check-square'
},
"link": {
id: 17,
title: '链接',
className: 'fa fa-link',
className: 'wtf wtf-link',
text: '链接文字',
url: 'http://example.com',
type: 'styleFn',
Expand All @@ -176,7 +176,7 @@ angular.module("wt-editor")
"image": {
id: 18,
title: '图片',
className: 'fa fa-image',
className: 'wtf wtf-image',
text: '图片描述',
url: 'http://example.com/example.png',
type: 'styleFn',
Expand All @@ -185,64 +185,64 @@ angular.module("wt-editor")
"code": {
id: 19,
title: '代码',
className: 'fa fa-code',
className: 'wtf wtf-code',
type: 'styleFn',
name: 'code'
},
"table": {
id: 20,
title: '表格',
className: 'fa fa-table',
className: 'wtf wtf-table-editor',
type: 'tableFn',
name: 'table'
},
"emoji": {
id: 21,
title: 'Emoji 图标',
className: 'fa fa-smile-o',
className: 'wtf wtf-emoji',
target: 'emoji-modal',
type: 'emoji'
},
"math": {
id: 22,
title: '数学公式',
className: 'fa fa-superscript',
className: 'wtf wtf-superscript',
sample: 'E = mc^2',
type: 'mathFn',
name: 'math'
},
"flow": {
id: 23,
title: '流程图',
className: 'fa fa-long-arrow-right',
className: 'wtf wtf-long-arrow-alt-right',
type: 'flowchart',
name: 'flow'
},
"diagram": {
id: 24,
title: '顺序图',
className: 'fa fa-exchange',
className: 'wtf wtf-exchange-alt',
type: 'diagram',
name: 'diagram'
},
"gantt": {
id: 25,
title: '甘特图',
className: 'fa fa-sliders',
className: 'wtf wtf-sliders',
type: 'gantt',
name: 'gantt'
},
"preview": {
id: 27,
title: '预览',
className: 'fa fa-columns',
className: 'wtf wtf-columns',
type: 'preview'
},
"expand": {
id: 28,
title: '最大化',
title2: '还原',
className: 'fa fa-expand',
className: 'wtf wtf-expand-arrows-alt',
type: 'expand'
},
"divider": {
Expand Down

0 comments on commit e1fbe20

Please sign in to comment.