import * as React from 'react'; import JqxEditor, { IEditorProps } from 'jqwidgets-scripts/jqwidgets-react-tsx/jqxeditor'; class App extends React.PureComponent<{}, IEditorProps> { constructor(props: {}) { super(props); this.state = { localization: { background: 'Hintergrundfarbe', bold: 'Fett', center: 'Mitte ausrichten', clean: 'Formatierung entfernen', color: 'Textfarbe', font: 'Schriftname', format: 'Block-Format', html: 'html anzeigen', image: 'Bild einfügen', indent: 'Mehr Einzug', italic: 'Kursiv', left: 'Links ausrichten', link: 'Link einfügen', ol: 'Geordnete Liste einfügen', outdent: 'Weniger Einzug', right: 'Rechts ausrichten', size: 'Schriftgröße', ul: 'Legen Sie ungeordnete Liste', underline: 'Unterstreichen' } } } public render() { return ( <b>jqxEditor</b> is a HTML text editor designed to simplify web content creation. You can use it as a replacement of your Textarea or you can create it from a DIV element. <br /> <br /> Features include: <br /> <ul> <li>Text formatting</li> <li>Text alignment</li> <li>Hyperlink dialog</li> <li>Image dialog</li> <li>Bulleted list</li> <li>Numbered list</li> </ul> ); } } export default App;