mirror of
https://github.com/marktext/marktext.git
synced 2025-05-02 20:12:23 +08:00
48 lines
1011 B
JavaScript
48 lines
1011 B
JavaScript
import editIcon from '../../assets/pngicon/imageEdit/2.png'
|
|
import openIcon from '../../assets/pngicon/imageOpen/2.png'
|
|
import inlineIcon from '../../assets/pngicon/inline_image/2.png'
|
|
import leftIcon from '../../assets/pngicon/algin_left/2.png'
|
|
import middleIcon from '../../assets/pngicon/algin_center/2.png'
|
|
import rightIcon from '../../assets/pngicon/algin_right/2.png'
|
|
import deleteIcon from '../../assets/pngicon/image_delete/2.png'
|
|
|
|
const icons = [
|
|
{
|
|
type: 'edit',
|
|
tooltip: 'Edit Image',
|
|
icon: editIcon
|
|
},
|
|
{
|
|
type: 'open',
|
|
tooltip: 'Open Image',
|
|
icon: openIcon
|
|
},
|
|
{
|
|
type: 'inline',
|
|
tooltip: 'Inline Image',
|
|
icon: inlineIcon
|
|
},
|
|
{
|
|
type: 'left',
|
|
tooltip: 'Align Left',
|
|
icon: leftIcon
|
|
},
|
|
{
|
|
type: 'center',
|
|
tooltip: 'Align Middle',
|
|
icon: middleIcon
|
|
},
|
|
{
|
|
type: 'right',
|
|
tooltip: 'Align Right',
|
|
icon: rightIcon
|
|
},
|
|
{
|
|
type: 'delete',
|
|
tooltip: 'Remove Image',
|
|
icon: deleteIcon
|
|
}
|
|
]
|
|
|
|
export default icons
|