From dbc4111a39b06581cc1277f343b9bdd022ff16f9 Mon Sep 17 00:00:00 2001 From: Glenn Hoppe Date: Mon, 23 Dec 2019 09:03:20 -0600 Subject: [PATCH] set base url for tinymce in refinery --- app/assets/javascripts/refinery/boot_tinymce.js.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/refinery/boot_tinymce.js.erb b/app/assets/javascripts/refinery/boot_tinymce.js.erb index 691b6c2..e20733b 100644 --- a/app/assets/javascripts/refinery/boot_tinymce.js.erb +++ b/app/assets/javascripts/refinery/boot_tinymce.js.erb @@ -3,6 +3,7 @@ function init_tinymce_for(jq_selector) { selector: jq_selector, extended_valid_elements: 'i[*]', menubar: false, + base_url: '/assets/tinymce' toolbar: "undo redo | styleselect | style-p style-h1 style-h2 style-h3 | bold italic | bullist numlist outdent indent | refinerylink refineryimage | fullscreen | code", content_css: '<%= asset_path "tinymce.scss", only_path: false %>', plugins: ["image", "link", "lists", "fullscreen", "code", "stylebuttons", "refineryimage", "refinerylink"],