Код: Выделить всё
import ReactQuill from 'react-quill-new';
export const QuildingTitor = (oans: any) => {
const {description, setDescription} = props; < /p>
Код: Выделить всё
// toolbar options for quill editor
const toolbarOptions = [
[{ 'size': ['small', false, 'large', 'huge'] }],
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],
[{ 'font': [] }],
[{ 'list': 'ordered' }, { 'list': 'bullet' }],
[{ 'script': 'sub' }, { 'script': 'super' }],
[{ 'direction': 'rtl' }],
[{ 'color': [] }, { 'background': [] }],
[{ 'align': [] }],
['bold', 'italic', 'underline', 'strike'],
['blockquote', 'code-block'],
['link', 'image', 'video', 'formula'],
['clean'],
];
return
Любая справка будет утверждена.
Подробнее здесь: https://stackoverflow.com/questions/794 ... lves-on-op