mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 01:46:21 +00:00
fix: css del editor
This commit is contained in:
parent
33db365597
commit
4ce0eed173
2 changed files with 7 additions and 0 deletions
|
@ -13,5 +13,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ProseMirror,
|
||||||
|
& > ol li {
|
||||||
|
@extend .mb-3;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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({
|
||||||
|
|
Loading…
Reference in a new issue