2
0
mirror of https://github.com/Ionaru/easy-markdown-editor synced 2025-09-24 16:40:55 -06:00

Fix a bug with 2 icons introduced in iconsSet option

This commit is contained in:
Nathanaël Jourdane 2019-02-12 16:20:42 +01:00
parent d93c46b1f2
commit 7de38d2a01
2 changed files with 19 additions and 19 deletions

2
dist/easymde.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1187,7 +1187,7 @@ var toolbarBuiltInButtons = {
name: 'heading', name: 'heading',
action: toggleHeadingSmaller, action: toggleHeadingSmaller,
className: { className: {
fa: 'fa fa-header', fa: 'fa fa-header fa-heading',
material: 'material-icons' material: 'material-icons'
}, },
textContent: { textContent: {
@ -1200,8 +1200,8 @@ var toolbarBuiltInButtons = {
name: 'heading-smaller', name: 'heading-smaller',
action: toggleHeadingSmaller, action: toggleHeadingSmaller,
className: { className: {
fa: 'fa fa-header fa-header-x fa-header-smaller', fa: 'fa fa-header fa-heading header-smaller',
material: 'material-icons md-18' material: 'material-icons header-smaller'
}, },
textContent: { textContent: {
material: 'title' material: 'title'
@ -1212,8 +1212,8 @@ var toolbarBuiltInButtons = {
name: 'heading-bigger', name: 'heading-bigger',
action: toggleHeadingBigger, action: toggleHeadingBigger,
className: { className: {
fa: 'fa fa-header fa-header-x fa-header-bigger', fa: 'fa fa-header fa-heading header-bigger',
material: 'material-icons md-36' material: 'material-icons header-bigger'
}, },
textContent: { textContent: {
material: 'title' material: 'title'
@ -1224,8 +1224,8 @@ var toolbarBuiltInButtons = {
name: 'heading-1', name: 'heading-1',
action: toggleHeading1, action: toggleHeading1,
className: { className: {
fa: 'fa fa-header fa-header-x fa-header-1', fa: 'fa fa-header fa-heading header-1',
material: 'material-icons md-18' material: 'material-icons header-1'
}, },
textContent: { textContent: {
material: 'title' material: 'title'
@ -1236,8 +1236,8 @@ var toolbarBuiltInButtons = {
name: 'heading-2', name: 'heading-2',
action: toggleHeading2, action: toggleHeading2,
className: { className: {
fa: 'fa fa-header fa-header-x fa-header-2', fa: 'fa fa-header fa-heading header-2',
material: 'material-icons md-24' material: 'material-icons header-2'
}, },
textContent: { textContent: {
material: 'title' material: 'title'
@ -1248,8 +1248,8 @@ var toolbarBuiltInButtons = {
name: 'heading-3', name: 'heading-3',
action: toggleHeading3, action: toggleHeading3,
className: { className: {
fa: 'fa fa-header fa-header-x fa-header-3', fa: 'fa fa-header fa-heading header-3',
material: 'material-icons md-36' material: 'material-icons header-3'
}, },
textContent: { textContent: {
material: 'title' material: 'title'
@ -1314,7 +1314,7 @@ var toolbarBuiltInButtons = {
name: 'clean-block', name: 'clean-block',
action: cleanBlock, action: cleanBlock,
className: { className: {
fa: 'fa fa-eraser fa-clean-block', fa: 'fa fa-eraser',
material: 'material-icons' material: 'material-icons'
}, },
textContent: { textContent: {
@ -1342,7 +1342,7 @@ var toolbarBuiltInButtons = {
name: 'image', name: 'image',
action: drawImage, action: drawImage,
className: { className: {
fa: 'fa fa-picture-o', fa: 'fa fa-image',
material: 'material-icons' material: 'material-icons'
}, },
textContent: { textContent: {
@ -1382,7 +1382,7 @@ var toolbarBuiltInButtons = {
name: 'preview', name: 'preview',
action: togglePreview, action: togglePreview,
className: { className: {
fa: 'fa fa-eye no-disable', fa: 'fa fa-eye',
material: 'material-icons' material: 'material-icons'
}, },
textContent: { textContent: {
@ -1396,7 +1396,7 @@ var toolbarBuiltInButtons = {
name: 'side-by-side', name: 'side-by-side',
action: toggleSideBySide, action: toggleSideBySide,
className: { className: {
fa: 'fa fa-columns no-disable no-mobile', fa: 'fa fa-columns',
material: 'material-icons no-disable no-mobile' material: 'material-icons no-disable no-mobile'
}, },
textContent: { textContent: {
@ -1411,7 +1411,7 @@ var toolbarBuiltInButtons = {
name: 'fullscreen', name: 'fullscreen',
action: toggleFullScreen, action: toggleFullScreen,
className: { className: {
fa: 'fa fa-arrows-alt no-disable no-mobile', fa: 'fa fa-arrows-alt',
material: 'material-icons no-disable no-mobile' material: 'material-icons no-disable no-mobile'
}, },
textContent: { textContent: {
@ -1446,7 +1446,7 @@ var toolbarBuiltInButtons = {
name: 'undo', name: 'undo',
action: undo, action: undo,
className: { className: {
fa: 'fa fa-undo no-disable', fa: 'fa fa-undo',
material: 'material-icons no-disable' material: 'material-icons no-disable'
}, },
textContent: { textContent: {
@ -1459,7 +1459,7 @@ var toolbarBuiltInButtons = {
name: 'redo', name: 'redo',
action: redo, action: redo,
className: { className: {
fa: 'fa fa-repeat no-disable', fa: 'fa fa-repeat fa-redo',
material: 'material-icons no-disable' material: 'material-icons no-disable'
}, },
textContent: { textContent: {