Releases: uiwjs/react-md-editor
v3.19.1
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- 🐞 fix: Fix toolbar preview keyboard shortcuts not work (#441). dd976b1 @jaywcjlove
- 💄 chore(deps): update dependency lerna to v6 (#442) 7be450b @renovate-bot
v3.19.0
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- 🎨 style: modify comment icon (#440). a81ee59 @jaywcjlove
v3.18.3
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.3v3.18.2
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- 🌍 website: add
backToUpbutton. 659affd @jaywcjlove - 📖 doc: Update README.md (#433) d7de0e0 @jaywcjlove
- 📖 doc: Update example of README.md (#434) ed817cb @jaywcjlove
- 📖 doc: Update example of README.md (#434) e9b354c @jaywcjlove
- 🐞 fix: Added toolbar title shortcuts (#439) f06a6bf @alphacoma18
- ⛑ test: fix test case (#522) 3670afb @jaywcjlove
v3.18.1
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- 📈 perf: Optimizing React performance by preventing unnecessary re-renders. fdb070e @jaywcjlove
- 🆎 type: fix type error. ccc2e25 @jaywcjlove
v3.18.0
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- 🌟 feat: add
components.previewprops (#429). 950205a @jaywcjlove - 📖 doc: Update
componentsprops document. (#429) e7b62d3 @jaywcjlove
v3.17.2
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- 📖 doc: Update README.md 9450d18 @jaywcjlove
- 🎨 style: Modify toolbar style. (#427) d4d7f7d @jaywcjlove
v3.17.1
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- 🌟 feat: support toolbar height adaptive. (#427) cf7e7ac @jaywcjlove
v3.17.0
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- 🌟 feat: add components props (#419). 155fabf @jaywcjlove
- 📄 webiste: update example. 8acedb0 @jaywcjlove
v3.16.0
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- 🌟 feat: add
command.renderoptions (#419). eab6b37 @jaywcjlove
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);
},
}