diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-08-16 22:56:09 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-08-16 22:56:09 +0200 |
| commit | bbd10eec6b8b46a7173d3be4dd7e05de212f8038 (patch) | |
| tree | 6250065034eb2cbf9569ca9f43fcf081bfa1dbc4 /app/views/page_translations/edit.html.erb | |
| parent | 9b6a6ff4f2a9f60d8c32dabd1e3d86921db7ba4d (diff) | |
Import Markdown into the editor
Use a vendored marked to import Markdown documents into tinymce.
Diffstat (limited to 'app/views/page_translations/edit.html.erb')
| -rw-r--r-- | app/views/page_translations/edit.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/page_translations/edit.html.erb b/app/views/page_translations/edit.html.erb index 0172a501..b0cb119a 100644 --- a/app/views/page_translations/edit.html.erb +++ b/app/views/page_translations/edit.html.erb | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | <% content_for :head do %> | ||
| 2 | <script src="<%= mtime_busted_path('/javascripts/marked.18.0.9.umd.js') %>"></script> | ||
| 3 | <% end %> | ||
| 4 | |||
| 1 | <div class="translation_banner"> | 5 | <div class="translation_banner"> |
| 2 | <%= t(".editing_prefix") %> <strong><%= @locale.to_s.upcase %></strong> <%= t(".translation_of") %> <strong><%= title_for_node(@node) %></strong>. | 6 | <%= t(".editing_prefix") %> <strong><%= @locale.to_s.upcase %></strong> <%= t(".translation_of") %> <strong><%= title_for_node(@node) %></strong>. |
| 3 | </div> | 7 | </div> |
