From 6ddc9d73f1299cdeb90bc88ed0bb53821c4825aa Mon Sep 17 00:00:00 2001 From: erdgeist Date: Tue, 14 Jul 2026 17:25:37 +0200 Subject: Supply related-asset URLs/name and public inline-image CSS RelatedAssetsController#create's JSON includes large_url, original_url, and name alongside thumb_url/url; the related-asset list items in both editors carry them as data-large-url, data-original-url, and data-name. ccc.css gets the public-facing .inline-image--full/--half/--left/ --right rules -- admin.css and TinyMCE's content_style cover the cockpit and in-editor renderings respectively. --- app/views/page_translations/edit.html.erb | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'app/views/page_translations/edit.html.erb') diff --git a/app/views/page_translations/edit.html.erb b/app/views/page_translations/edit.html.erb index 0f64d400..00bf221e 100644 --- a/app/views/page_translations/edit.html.erb +++ b/app/views/page_translations/edit.html.erb @@ -20,6 +20,15 @@
+ <%= form_with url: node_translation_path(@node, @locale), method: :patch, local: true, id: "translation_edit_form", data: { autosave_url: autosave_node_translation_path(@node, @locale), show_url: node_path(@node) } do |f| %>
-- cgit v1.3