mirror of
https://github.com/sparksuite/simplemde-markdown-editor.git
synced 2025-09-24 16:40:55 -06:00
Fix bug(When toolbar is undefined, toolbar not display)
This commit is contained in:
parent
30652f0bf3
commit
c245702fef
@ -1348,7 +1348,7 @@ function SimpleMDE(options) {
|
||||
|
||||
|
||||
// Handle toolbar
|
||||
if(options.toolbar !== false && options.toolbar instanceof Object) {
|
||||
if(options.toolbar === undefined || (options.toolbar !== false && options.toolbar instanceof Object)) {
|
||||
// Initialize
|
||||
var toolbar = [];
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user