5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-30 02:46:21 +00:00

Merge branch 'usar-sutty-editor' into panel.sutty.nl

This commit is contained in:
f 2022-12-29 16:02:19 -03:00
commit 2c8b7348d8
4 changed files with 12 additions and 5 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({

View file

@ -12,7 +12,7 @@
"@rails/activestorage": "^6.1.3-1", "@rails/activestorage": "^6.1.3-1",
"@rails/ujs": "^6.1.3-1", "@rails/ujs": "^6.1.3-1",
"@rails/webpacker": "5.2.1", "@rails/webpacker": "5.2.1",
"@suttyweb/editor": "^0.1.11", "@suttyweb/editor": "^0.1.12",
"babel-loader": "^8.2.2", "babel-loader": "^8.2.2",
"chart.js": "^3.5.1", "chart.js": "^3.5.1",
"chartkick": "^4.0.5", "chartkick": "^4.0.5",

View file

@ -1171,10 +1171,10 @@
resolved "https://registry.yarnpkg.com/@stimulus/webpack-helpers/-/webpack-helpers-1.1.1.tgz#eff60cd4e58b921d1a2764dc5215f5141510f2c2" resolved "https://registry.yarnpkg.com/@stimulus/webpack-helpers/-/webpack-helpers-1.1.1.tgz#eff60cd4e58b921d1a2764dc5215f5141510f2c2"
integrity sha512-XOkqSw53N9072FLHvpLM25PIwy+ndkSSbnTtjKuyzsv8K5yfkFB2rv68jU1pzqYa9FZLcvZWP4yazC0V38dx9A== integrity sha512-XOkqSw53N9072FLHvpLM25PIwy+ndkSSbnTtjKuyzsv8K5yfkFB2rv68jU1pzqYa9FZLcvZWP4yazC0V38dx9A==
"@suttyweb/editor@^0.1.11": "@suttyweb/editor@^0.1.12":
version "0.1.11" version "0.1.12"
resolved "https://registry.yarnpkg.com/@suttyweb/editor/-/editor-0.1.11.tgz#9f69fa0b66457a63419e744216d24e44d17a77a2" resolved "https://registry.yarnpkg.com/@suttyweb/editor/-/editor-0.1.12.tgz#afcd2497d632b508f405fb484b3bb0a3ea1dd5f7"
integrity sha512-kYZYFf3aAhUdDoWuLZg5BsKXvwuttMmpM31dRg+SyeslUsZLetLGaeXqsWVeh8G13VS+t4s5OrncTOkAHlOlBw== integrity sha512-UjQcAuGJQpaOoN5U0cBYh0MLmSfakThVr2gkdInxx47/ApYlj5GoZ5BkbQ6lDSLeFzlyGOuiuj334VzKdxSB5A==
"@types/caseless@*": "@types/caseless@*":
version "0.12.2" version "0.12.2"