Skip to content

Commit

Permalink
Bump to 12.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerpena committed May 2, 2022
1 parent 2467a72 commit d984119
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 902 deletions.
10 changes: 3 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-mde",
"version": "12.0.4",
"version": "12.0.5",
"description": "React Markdown Editor",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
Expand Down Expand Up @@ -66,11 +66,7 @@
},
"homepage": "https://github.com/andrerpena/react-mde.git#readme",
"peerDependencies": {
"react": "^17.0.0",
"react-dom": "^17.0.0"
},
"style": "react-mde/lib/styles/css/react-mde-all.css",
"resolutions": {
"@types/react": "16.9.4"
"react": "*",
"react-dom": "*"
}
}
10 changes: 7 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// Command controller

// Individual commands
import { header } from "./commands/markdown-commands/header";
import { bold } from "./commands/markdown-commands/bold";
Expand All @@ -19,12 +17,16 @@ import type { TextController } from "./types/CommandOptions";
import { TextAreaTextController } from "./text/textarea-text-controller";
import { textHelpers } from "./helpers/textHelpers";
import { code } from "./commands/markdown-commands/code";
import { useTextAreaMarkdownEditor } from "./hooks/use-markdown-editor";

export {
// helpers
textHelpers,
// controllers
CommandController,
TextController,
TextAreaTextController,
// commands
header,
bold,
italic,
Expand All @@ -36,5 +38,7 @@ export {
checkedListCommand,
orderedListCommand,
unorderedListCommand,
image
image,
// hooks
useTextAreaMarkdownEditor
};
Loading

0 comments on commit d984119

Please sign in to comment.