feat(demo): add story 1 — Sorano: Rock and Time
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
|
||||
.editor-toolbar a.active, .editor-toolbar a:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.CodeMirror, .CodeMirror-scroll {
|
||||
min-height: 70px;
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
$(function () {
|
||||
$(".editor").each(function(){
|
||||
var simplemde = new SimpleMDE({
|
||||
element: this,
|
||||
forceSync: true,
|
||||
hideIcons: ["side-by-side", "fullscreen"],
|
||||
spellChecker: false,
|
||||
toolbar: ["bold", "italic", "heading", "|",
|
||||
"quote", "unordered-list", "ordered-list", "|",
|
||||
"link", "table", "|",
|
||||
"undo", "redo", "|",
|
||||
"preview", "guide"
|
||||
]
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user