This commit is contained in:
cuom1999 2022-10-28 23:17:24 -05:00
parent d0547ec106
commit bfadc499b3
4 changed files with 6 additions and 6 deletions

View file

@ -1090,7 +1090,7 @@ urlpatterns = [
]
),
),
# url("__debug__/", include("debug_toolbar.urls")), # debug_toolbar use
url("__debug__/", include("debug_toolbar.urls")), # debug_toolbar use
] + url_static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
favicon_paths = [

View file

@ -55,7 +55,7 @@
hr: "Horizontal Rule <hr> Ctrl+R",
adnomination: "Adnomination",
admonition: "Admonition",
spoiler: "Spoiler",
spoilerSummary: "summary",
spoilerDetail: "detail",
@ -1521,7 +1521,7 @@
buttons.heading = makeButton("wmd-heading-button", getString("heading"), bindCommand("doHeading"));
buttons.hr = makeButton("wmd-hr-button", getString("hr"), bindCommand("doHorizontalRule"));
makeSpacer(3);
buttons.spoiler = makeButton("wmd-adnomination-button", getString("adnomination"), bindCommand("doAdnomination"));
buttons.spoiler = makeButton("wmd-admonition-button", getString("admonition"), bindCommand("doAdmonition"));
buttons.spoiler = makeButton("wmd-spoiler-button", getString("spoiler"), bindCommand("doSpoiler"));
makeSpacer(4);
buttons.undo = makeButton("wmd-undo-button", getString("undo"), null);
@ -1946,7 +1946,7 @@
chunk.after = "\n" + chunk.after;
}
commandProto.doAdnomination = function(chunk, postProcessing) {
commandProto.doAdmonition = function(chunk, postProcessing) {
chunk.selection = "";
if (chunk.before && !/\s$/.test(chunk.before)) {
commandProto.doAutoindent(chunk, postProcessing);

View file

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View file

@ -105,8 +105,8 @@
background-size: 18px;
}
.wmd-adnomination-button {
background-image: url("pagedown/resources/adnomination.svg");
.wmd-admonition-button {
background-image: url("pagedown/resources/admonition.svg");
}
.wmd-spoiler-button {