HarryChen0506 / react-markdown-editor-lite

a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器
https://harrychen0506.github.io/react-markdown-editor-lite/
MIT License
1.02k stars 161 forks source link

[Question] Modifying Toolbar Button's function #298

Open edward1127 opened 10 months ago

edward1127 commented 10 months ago

How do you modify the editor tool bar's function? say I want to modify Italic's symbol from ++{content}++ to something else?

jianhao commented 10 months ago

How do you modify the editor tool bar's function? say I want to modify Italic's symbol from ++{content}++ to something else?

你可以参考下,我这个思路,先把想替换的插件去除,然后把你自定义的插件注册并放到合适位置。https://github.com/HarryChen0506/react-markdown-editor-lite/issues/299

edward1127 commented 10 months ago

How do you modify the editor tool bar's function? say I want to modify Italic's symbol from ++{content}++ to something else?

你可以参考下,我这个思路,先把想替换的插件去除,然后把你自定义的插件注册并放到合适位置。#299

謝謝!