Skip to content

Releases: uiwjs/react-markdown-editor

v5.3.1

31 Aug 00:41
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.3.1: https://raw.githack.com/uiwjs/react-markdown-editor/d9c9cd9/index.html
Comparing Changes: v5.3.0...v5.3.1

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

v5.3.0

30 Aug 16:07
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.3.0: https://raw.githack.com/uiwjs/react-markdown-editor/df9e792/index.html
Comparing Changes: v5.2.1...v5.3.0

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

v5.2.1

30 Aug 15:53
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.2.1: https://raw.githack.com/uiwjs/react-markdown-editor/8e3d1e2/index.html
Comparing Changes: v5.2.0...v5.2.1

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

v5.2.0

28 Aug 11:23
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.2.0: https://raw.githack.com/uiwjs/react-markdown-editor/b00f478/index.html
Comparing Changes: v5.1.1...v5.2.0

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

v5.1.1

23 Aug 09:56
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.1.1: https://raw.githack.com/uiwjs/react-markdown-editor/b26e9c1/index.html
Comparing Changes: v5.1.0...v5.1.1

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

v5.1.0

23 Aug 08:24
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.1.0: https://raw.githack.com/uiwjs/react-markdown-editor/30ca1b3/index.html
Comparing Changes: v5.0.1...v5.1.0

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

v5.0.1

02 Jul 18:58
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.0.1: https://raw.githack.com/uiwjs/react-markdown-editor/2134c81/index.html
Comparing Changes: v5.0.0...v5.0.1

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

v5.0.0

02 Jul 18:40
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v5.0.0: https://raw.githack.com/uiwjs/react-markdown-editor/35380f4/index.html
Comparing Changes: v4.0.3...v5.0.0

npm i @uiw/react-markdown-editor@5.0.0
import MarkdownEditor from '@uiw/react-markdown-editor';

const code = 'console.log("hello world!");';

<MarkdownEditor
  value={code}
-  onChange={(editor, data, value) => setMarkdown(value)}
+  onChange={(value, viewUpdate) => setMarkdown(value)}
-  options={{ }}
+  extensions={[
+  ]}
/>
- export type ButtonHandle = (command: ICommand, props: IMarkdownEditor, options: {
-   preview?: HTMLDivElement | null,
-   container?: HTMLDivElement | null,
-   containerEditor?: HTMLDivElement | null;
-   editor?: Editor;
- }) => JSX.Element
+ export type ButtonHandle = (command: ICommand, props: IMarkdownEditor, options: ToolBarProps) => JSX.Element;

export type ICommand = {
  icon?: React.ReactElement;
  name?: string;
  keyCommand?: string;
  button?: ButtonHandle | React.ButtonHTMLAttributes<HTMLButtonElement>;
+  execute?: (editor: ReactCodeMirrorRef) => void;
-  execute?: (editor: Editor, selection: string, position: Position, opts: {
-    preview?: HTMLDivElement | null,
-    container?: HTMLDivElement | null,
-  }) => void;
}

v4.0.3

18 Apr 07:54
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v4.0.3: https://raw.githack.com/uiwjs/react-markdown-editor/6f7a4a0/index.html
Comparing Changes: v4.0.2...v4.0.3

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

v4.0.2

18 Mar 18:54
Compare
Choose a tag to compare

npm bundle size npm version

Documentation v4.0.2: https://raw.githack.com/uiwjs/react-markdown-editor/ea192c0/index.html
Comparing Changes: v4.0.1...v4.0.2

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