Skip to content

Commit

Permalink
set base url for tinymce in refinery
Browse files Browse the repository at this point in the history
  • Loading branch information
ghoppe committed Dec 23, 2019
1 parent 6d8d31d commit dbc4111
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/refinery/boot_tinymce.js.erb
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit dbc4111

Please sign in to comment.