// CMS editors: the complex package editor + simpler blog/page/vehicle editors // ---- Rich text toolbar mock (visual only) ---- const RichTextField = ({ label, value, onChange, rows = 10, hint }) => (
{label &&
{label}
}
{[ ['heading-1', 'H1'], ['heading-2', 'H2'], ['bold', 'B'], ['italic', 'I'], ['underline', 'U'], ['list', null], ['list-ordered', null], ['quote', null], ['link', null], ['image', null], ['code', null] ].map(([ic, t], i) => ( ))}
Markdown supported