5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-26 16:06:22 +00:00

fix: css del editor

This commit is contained in:
f 2022-12-29 15:55:36 -03:00
parent 33db365597
commit 4ce0eed173
2 changed files with 7 additions and 0 deletions

View file

@ -13,5 +13,10 @@
} }
} }
} }
.ProseMirror,
& > ol li {
@extend .mb-3;
}
} }
} }

View file

@ -1,5 +1,7 @@
import SuttyEditor from "@suttyweb/editor"; import SuttyEditor from "@suttyweb/editor";
import "@suttyweb/editor/dist/editor.css";
document.addEventListener("turbolinks:load", () => { document.addEventListener("turbolinks:load", () => {
document.querySelectorAll(".new-editor").forEach((editorContainer) => { document.querySelectorAll(".new-editor").forEach((editorContainer) => {
new SuttyEditor({ new SuttyEditor({