@elliemae/ds-wysiwygeditor
Version:
Ellie Mae - Dim Sum - WYSIWYG Editor
34 lines (31 loc) • 1.45 kB
JavaScript
import _toConsumableArray from '@babel/runtime/helpers/esm/toConsumableArray';
import { getRainbowColors } from './components/colors.js';
var colors = ['#000000', '#e60000', '#ff9900', '#ffff00', '#008A00', '#0066cc', '#9933ff', '#ffffff', '#facccc', '#ffebcc', '#ffffcc', '#cce8cc', '#cce0f5', '#ebd6ff', '#bbbbbb', '#f06666', '#ffc266', '#ffff66', '#66b966', '#66a3e0', '#c285ff', '#888888', '#a10000', '#b26b00', '#b2b200', '#006100', '#0047b2', '#6b24b2', '#444444', '#5c0000', '#663d00', '#666600', '#003700', '#002966', '#3d1466'].concat(_toConsumableArray(getRainbowColors(28)));
var fonts = ['Sans Serif', 'Serif', 'Monospace', 'Arial', 'Georgia', 'Helvetica'];
var sizes = ['Small', 'Normal', 'Large', 'Huge'];
var sizesReal = [// https://www.w3schools.com/cssref/pr_font_font-size.asp
'X-Small', 'Normal', 'Large', 'X-Large'];
var defaultItems = {
HEADER: 'header',
FONT: 'font',
FONT_SIZE: 'size',
BOLD: 'bold',
ITALIC: 'italic',
UNDERLINE: 'underline',
STRIKE: 'strike',
SUB: 'sub',
SUPER: 'super',
ORDERED_LIST: 'ordered list',
BULLET_LIST: 'bullet list',
INDENT_MINUS_ONE: 'indent -1',
INDENT_PLUS_ONE: 'indent +1',
ALIGN: 'align',
FONT_COLOR: 'font color',
FONT_BACKGROUND_COLOR: 'font background color',
HYPERLINK: 'hyperlink',
IMAGE: 'image',
CLEAR_FORMAT: 'clear format',
SHOW_HTML: 'show html'
};
export { colors, defaultItems, fonts, sizes, sizesReal };
//# sourceMappingURL=constants.js.map