{"repo":"MailUi/mailui-editor-react","free":true,"listed":false,"github":"https://github.com/MailUi/mailui-editor-react","clone":"git clone https://github.com/MailUi/mailui-editor-react.git","description":"MailUi offers a powerful React.js component for a user-friendly drag-and-drop email editor, perfect for your app.","language":"TypeScript","stars":20,"topics":["builder","embedded","nextjs","no-code","reactjs","ai","ai-email-generator","ai-template","drag-and-drop","email-builder"],"license":"MIT","category":"workflow-automation","readme_excerpt":"React MailUi Editor Enhance your app with MailUi user-friendly React.js wrapper component for designing emails. Enjoy it's easy drag-and-drop editor, making email creation a breeze! Table of contents - Live Demo - Getting started - Installation - Usage - Methods - Properties - Browser support - React - Localization - License Live Demo A minimal demo page can be found in example directory. - Examples: https://mailui.co/docs/examples/sample-email - Live demo link: https://app.mailui.co/demo - Source Code: https://github.com/MailUi/react-mailui-editor/tree/master/example Getting started Installation Install it from npm and include it in your React build process OR React installation Usage Require the MailUiEditor component and render it with JSX: See the example source for a reference implementation. Methods All MailUi methods are available in the editor instance ( emailEditorRef.current.editor ). See the MailUi Docs for more information, or log the object in the console to explore it. Here are the most used ones: method params description -------------- ------------------- ------------------------------------------------------- loadDesign Object data Takes the design JSON and loads it in the editor saveDesign Function callback Returns the design JSON in a callback function exportHtml Function callback Returns the design HTML and JSON in a callback function Properties - editorId { String } HTML div id of the container where the editor will be embedded (optional) - minHeight { St","default_branch":null,"files":null,"tree":[],"storefront":"/r/MailUi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MailUi/mailui-editor-react/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}