react-native-cn-quill
Version:
react-native quill richtext editor
23 lines (22 loc) • 744 B
JavaScript
const fullOptions = [
['bold', 'italic', 'underline', 'strike'],
['blockquote', 'code-block'],
[{ size: ['small', false, 'large', 'huge'] }],
[{ header: 1 }, { header: 2 }],
[{ list: 'ordered' }, { list: 'bullet' }],
[{ script: 'sub' }, { script: 'super' }],
[{ indent: '-1' }, { indent: '+1' }],
[{ direction: 'rtl' }],
[{ header: [1, 2, 3, 4, 5, 6, false] }],
[{ color: [] }, { background: [] }],
[{ font: [] }],
[{ align: [] }],
['image', 'video'],
];
const basicOptions = [
['bold', 'italic', 'underline', 'strike'],
[{ header: 1 }, { header: 2 }],
[{ list: 'ordered' }, { list: 'bullet' }],
[{ align: [] }],
];
export { fullOptions, basicOptions };