123456789101112131415161718192021222324252627282930313233343536373839404142 |
- export const defaultMenus = [
- 'head',
- 'bold',
- 'fontSize',
- 'fontName',
- 'italic',
- 'underline',
- 'strikeThrough',
- 'indent',
- 'lineHeight',
- 'foreColor',
- 'backColor',
- 'link',
- 'list',
- 'todo',
- 'justify',
- // 'quote', 引用造成输入汉字时,首字母会多输出一位,出现概率很高
- // 'emoticon', 表情图标
- 'image',
- // 'video',
- 'table',
- // 'code',
- 'splitLine',
- 'undo',
- 'redo'
- ]
- export const colors = ['#000000', '#ffffff', '#eeece0', '#1c487f', '#4d80bf', '#c24f4a', '#8baa4a', '#7b5ba1', '#46acc8', '#f9963b']
- export const fontNames = ['黑体', '仿宋', '楷体', '标楷体', '华文仿宋', '华文楷体', '宋体', '微软雅黑', 'Arial', 'Tahoma', 'Verdana', 'Times New Roman', 'Courier New']
- export const fontSizes = {
- 'x-small': { name: '10px', value: '1' },
- small: { name: '13px', value: '2' },
- normal: { name: '16px', value: '3' },
- large: { name: '18px', value: '4' },
- 'x-large': { name: '24px', value: '5' },
- 'xx-large': { name: '32px', value: '6' },
- 'xxx-large': { name: '48px', value: '7' }
- }
- export const lineHeights = ['1', '1.15', '1.6', '2', '2.5', '3']
|