summaryrefslogtreecommitdiff
path: root/app/views/nodes
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-08-16 22:56:09 +0200
committererdgeist <erdgeist@erdgeist.org>2026-08-16 22:56:09 +0200
commitbbd10eec6b8b46a7173d3be4dd7e05de212f8038 (patch)
tree6250065034eb2cbf9569ca9f43fcf081bfa1dbc4 /app/views/nodes
parent9b6a6ff4f2a9f60d8c32dabd1e3d86921db7ba4d (diff)
Import Markdown into the editor
Use a vendored marked to import Markdown documents into tinymce.
Diffstat (limited to 'app/views/nodes')
-rw-r--r--app/views/nodes/edit.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index 269e0e49..927cc648 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/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<h1><%= title_for_node(@node) %></h1> 5<h1><%= title_for_node(@node) %></h1>
2 6
3<div class="admin_layout"> 7<div class="admin_layout">