mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-09-24 16:40:55 -06:00
Added 'code' button to default toolbar
My team thought that 'code' button is not even implemented in SimpleMDE, because they didn't see it on the demo page. I think 'code' button is one the most important tools of markdown editors, so why not add it by default in the toolbar :)
This commit is contained in:
parent
0e6e466346
commit
b699de8d65
@ -836,7 +836,7 @@ function SimpleMDE(options) {
|
|||||||
/**
|
/**
|
||||||
* Default toolbar elements.
|
* Default toolbar elements.
|
||||||
*/
|
*/
|
||||||
SimpleMDE.toolbar = ["bold", "italic", "heading", "|", "quote", "unordered-list", "ordered-list", "|", "link", "image", "|", "preview", "side-by-side", "fullscreen", "guide"];
|
SimpleMDE.toolbar = ["bold", "italic", "heading", "|", "code", "quote", "unordered-list", "ordered-list", "|", "link", "image", "|", "preview", "side-by-side", "fullscreen", "guide"];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Default markdown render.
|
* Default markdown render.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user