Skip to content

v3.2.0

Choose a tag to compare

@github-actions github-actions released this 28 Aug 20:37
· 175 commits to master since this release

npm bundle size npm version

npm i @uiw/react-markdown-editor@3.2.0

v3.1.9...v3.2.0

  • 📖 doc: Update READEME.md a61d5ce
  • 💄 chore: update workflows config. 230ae1d
  • 💄 chore: update .gitignore 876a8b7
  • 💄 chore: update dependency. aaf5b09
  • 📖 doc: Update Document. 035e354

Support Nextjs

Use examples in nextjs. #52 #224

Open in CodeSandbox

npm install next-remove-imports
npm install @uiw/react-markdown-editor
// next.config.js
const removeImports = require('next-remove-imports')();
module.exports = removeImports({});
import dynamic from 'next/dynamic';
import '@uiw/react-markdown-editor/markdown-editor.css';
import '@uiw/react-markdown-preview/markdown.css';

const MarkdownEditor = dynamic(
  () => import("@uiw/react-markdown-editor").then((mod) => mod.default),
  { ssr: false }
);

function HomePage() {
  return (
    <div>
      <MarkdownEditor value="Hello Markdown!" />
    </div>
  );
}

export default HomePage;