Set ratio for videos via style
And update lexical to allow style attributes
This commit is contained in:
+1
-1
@@ -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? %>
|
||||
|
||||
Reference in New Issue
Block a user