rich-text-editor
Version:
Rich text editor
40 lines (39 loc) • 2.04 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = [
{ action: '\\sqrt', label: '\\sqrt{X}' },
{ action: '^', label: 'x^{X}' },
{ action: '\\frac', label: '\\frac{X}{X}' },
{ action: '\\int', label: '\\int_{X}^{X}' },
{ action: '\\lim_', label: '\\lim_{X}' },
{ action: '\\overrightarrow', label: '\\overrightarrow{X}' },
{ action: '\\overleftarrow', label: '\\overleftarrow{X}' },
{ action: '\\sin' },
{ action: '\\cos' },
{ action: '\\tan' },
{ action: '|', label: '\\left|X\\right|' },
{ action: '[', label: '\\left[X\\right]' },
{ action: ']x]', label: ']X]', useWrite: true },
{ action: '\\cases', label: '\\begin{cases}\nX\\\\\nX\n\\end{cases}' },
{ action: '\\matrix', label: '\\begin{matrix}\nX&X\\\\\nX&X\n\\end{matrix}' },
{ action: '\\frac{a}{b}^{\\text{(}x}', label: '\\frac{X}{X}^{\\text{(}X}', useWrite: true },
{ action: '\\binom', label: '\\binom{X}{X}' },
'<br />',
{ action: '\\nthroot', label: '\\sqrt[X]{X}' },
{ action: '_', label: 'x_X' },
{ action: '\\sum', label: '\\sum_{X}^{X}' },
{ action: '\\intsub', label: '\\bigg/_{\\!\\!\\!\\!X}^{X}' },
{ action: '\\lim_{x\\rightarrow\\infty}', label: '\\lim_{x\\rightarrow\\infty}', useWrite: true },
{ action: '\\underrightarrow', label: '\\underrightarrow{X}' },
{ action: '\\overline', label: '\\overline{X}' },
{ action: '\\bar{\\text{i}}', useWrite: true },
{ action: '\\bar{\\text{j}}', useWrite: true },
{ action: '\\bar{\\text{k}}', useWrite: true },
{ action: '(', label: '\\left(X\\right)' },
{ action: ']x[', label: ']X[', useWrite: true },
{ action: '[x[', label: '[X[', useWrite: true },
{ action: '_{ }^{ } ', label: '_{X}^{X}X', useWrite: true },
{ action: '\\array', label: '\\begin{array}{l|l}\nX&X\\\\\n\\hline\nX&X\n\\end{array}' },
{ action: '^{x\\text{)}}\\frac{a}{b}', label: '^{X\\text{)}}\\frac{X}{X}', useWrite: true },
{ action: '\\mathrm', label: '\\mathrm{T}' },
];