Skip to content

Releases: uiwjs/react-md-editor

v3.19.1

20 Oct 17:03

Choose a tag to compare

Documentation v3.19.1: https://raw.githack.com/uiwjs/react-md-editor/5d1f4c7/index.html
Comparing Changes: v3.19.0...v3.19.1

npm i @uiw/react-md-editor@3.19.1

v3.19.0

09 Oct 14:26

Choose a tag to compare

Documentation v3.19.0: https://raw.githack.com/uiwjs/react-md-editor/284808b/index.html
Comparing Changes: v3.18.3...v3.19.0

npm i @uiw/react-md-editor@3.19.0

v3.18.3

09 Oct 14:02

Choose a tag to compare

Documentation v3.18.3: https://raw.githack.com/uiwjs/react-md-editor/62aec34/index.html
Comparing Changes: v3.18.2...v3.18.3

npm i @uiw/react-md-editor@3.18.3
  • 🐞 fix: Added icon for comment; Changed initial toolbar lineup for heading; (#440) 8df90fd @alphacoma18

v3.18.2

07 Oct 16:38

Choose a tag to compare

Documentation v3.18.2: https://raw.githack.com/uiwjs/react-md-editor/8501d42/index.html
Comparing Changes: v3.18.1...v3.18.2

npm i @uiw/react-md-editor@3.18.2

v3.18.1

25 Aug 02:33

Choose a tag to compare

Documentation v3.18.1: https://raw.githack.com/uiwjs/react-md-editor/8bb3ff1/index.html
Comparing Changes: v3.18.0...v3.18.1

npm i @uiw/react-md-editor@3.18.1

v3.18.0

25 Aug 01:24

Choose a tag to compare

Documentation v3.18.0: https://raw.githack.com/uiwjs/react-md-editor/eb103b7/index.html
Comparing Changes: v3.17.2...v3.18.0

npm i @uiw/react-md-editor@3.18.0

v3.17.2

11 Aug 08:32

Choose a tag to compare

Documentation v3.17.2: https://raw.githack.com/uiwjs/react-md-editor/9e28c1f/index.html
Comparing Changes: v3.17.1...v3.17.2

npm i @uiw/react-md-editor@3.17.2

v3.17.1

11 Aug 08:01

Choose a tag to compare

Documentation v3.17.1: https://raw.githack.com/uiwjs/react-md-editor/32b88c4/index.html
Comparing Changes: v3.17.0...v3.17.1

npm i @uiw/react-md-editor@3.17.1

v3.17.0

29 Jul 10:34

Choose a tag to compare

Documentation v3.17.0: https://raw.githack.com/uiwjs/react-md-editor/acea4ee/index.html
Comparing Changes: v3.16.0...v3.17.0

npm i @uiw/react-md-editor@3.17.0

v3.16.0

29 Jul 01:46

Choose a tag to compare

Documentation v3.16.0: https://raw.githack.com/uiwjs/react-md-editor/a482f99/index.html
Comparing Changes: v3.15.0...v3.16.0

npm i @uiw/react-md-editor@3.16.0
const title2 = {
  name: 'title3',
  keyCommand: 'title3',
+  render: (command, disabled, executeCommand) => {
+    return (
+      <button 
+        aria-label="Insert title3"
+        disabled={disabled}
+        onClick={(evn) => {
+          evn.stopPropagation();
+          executeCommand(command, command.groupName)
+        }}
+      >
+        btn
+      </button>
+    )
+  },
  execute: (state, api) => {
    let modifyText = `## ${state.selectedText}\n`;
    if (!state.selectedText) {
      modifyText = `## `;
    }
    api.replaceSelection(modifyText);
  },
}