react-native-cn-quill
Version:
react-native quill richtext editor
54 lines • 977 B
JavaScript
const fullOptions = [['bold', 'italic', 'underline', 'strike'], // toggled buttons
['blockquote', 'code-block'], [{
size: ['small', false, 'large', 'huge']
}], // custom dropdown
[{
header: 1
}, {
header: 2
}], // custom button values
[{
list: 'ordered'
}, {
list: 'bullet'
}], [{
script: 'sub'
}, {
script: 'super'
}], // superscript/subscript
[{
indent: '-1'
}, {
indent: '+1'
}], // outdent/indent
[{
direction: 'rtl'
}], // text direction
[{
header: [1, 2, 3, 4, 5, 6, false]
}], [{
color: []
}, {
background: []
}], // dropdown with defaults from theme
[{
font: []
}], [{
align: []
}], ['image', 'video'] // ["clean"], // remove formatting button
];
const basicOptions = [['bold', 'italic', 'underline', 'strike'], // toggled buttons
[{
header: 1
}, {
header: 2
}], // custom button values
[{
list: 'ordered'
}, {
list: 'bullet'
}], [{
align: []
}]];
export { fullOptions, basicOptions };
//# sourceMappingURL=toolbar-options.js.map