Set ratio for videos via style

And update lexical to allow style attributes
This commit is contained in:
Jorge Manrubia
2025-06-03 11:39:07 +02:00
parent 34a4ba6c60
commit cf5f0a9f3f
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
GIT
remote: https://github.com/basecamp/actiontext-lexical
revision: 7f327ddd60f4902ac60bb426495e85b31b6f0ad2
revision: 0aa2564ed17775662dcff8d83a02d0c0be294628
specs:
actiontext-lexical (0.1.0)
rails (>= 8.0.2)
@@ -7,6 +7,7 @@
src: rails_blob_path(blob),
controls: true,
preload: :none,
style: "aspect-ratio: #{width} / #{height};",
width: width,
height: height %>
<% elsif blob.audio? %>