Add markdown for sample
This commit is contained in:
parent
409d2e3115
commit
6c170cccdd
3 changed files with 25 additions and 3 deletions
|
@ -37,6 +37,7 @@
|
|||
background: transparent;
|
||||
font-size: 1em;
|
||||
color: black;
|
||||
|
||||
}
|
||||
|
||||
white-space: pre-wrap;
|
||||
|
@ -49,6 +50,14 @@
|
|||
border-radius: $widget_border_radius;
|
||||
}
|
||||
|
||||
pre.no-border {
|
||||
margin-top: -0.7em;
|
||||
padding: 0.5em;
|
||||
border: none;
|
||||
background-color: inherit;
|
||||
border-radius: none;
|
||||
}
|
||||
|
||||
b, strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
@ -1457,7 +1457,6 @@
|
|||
}
|
||||
}
|
||||
else {
|
||||
console.log(button);
|
||||
button.classList.remove("wmd-button-active");
|
||||
button.classList.add("wmd-button-inactive");
|
||||
button.onclick = function () { };
|
||||
|
@ -1538,7 +1537,6 @@
|
|||
}
|
||||
|
||||
function setUndoRedoButtonStates() {
|
||||
console.log(undoManager.canUndo());
|
||||
if (undoManager) {
|
||||
setupButton(buttons.undo, undoManager.canUndo());
|
||||
setupButton(buttons.redo, undoManager.canRedo());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue