diff --git a/Gemfile b/Gemfile index f39b2081d..9fea571ba 100644 --- a/Gemfile +++ b/Gemfile @@ -61,9 +61,6 @@ gem 'meta-tags' # gem 'serendipitous', :path => "../serendipitous-gem" gem 'serendipitous', git: 'https://github.com/indentlabs/serendipitous-gem.git' -# Editor -gem 'medium-editor-rails' - # Graphs & Charts gem 'chartkick' gem 'd3-rails', '~> 5.9.2' # used for spider charts diff --git a/Gemfile.lock b/Gemfile.lock index f0f09f914..df905df47 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1445,8 +1445,6 @@ GEM marcel (1.0.2) material_icons (4.0.0) railties (>= 3.2) - medium-editor-rails (2.3.1) - railties (>= 3.0) memory_profiler (1.0.1) meta-tags (2.18.0) actionpack (>= 3.2.0, < 7.1) @@ -1723,7 +1721,6 @@ DEPENDENCIES language_filter listen material_icons - medium-editor-rails memory_profiler meta-tags mini_racer (~> 0.6.3) diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js index 978333bc1..056245db4 100644 --- a/app/assets/javascripts/application.js +++ b/app/assets/javascripts/application.js @@ -12,7 +12,6 @@ // //= require_tree ./preload //= require cocoon -//= require medium-editor //= require Chart.bundle //= require chartkick //= require autocomplete-rails diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index e0b1691b1..d3ac13265 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -11,8 +11,6 @@ *= require_self *= require material_icons *= require font-awesome - *= require medium-editor/medium-editor - *= require medium-editor/themes/beagle *= require tribute *= require_tree . */ diff --git a/app/views/documents/edit.html.erb b/app/views/documents/edit.html.erb index bd37e2c2f..868bc1c56 100644 --- a/app/views/documents/edit.html.erb +++ b/app/views/documents/edit.html.erb @@ -1,3 +1,11 @@ +<%# + We're using the medium-editor CDN here instead of the rails-medium-editor gem because it broke in the latest + version of Chrome, and has been archived for no more changes. Ergo, we gotta move off of it. :) +%> + + + + <% set_meta_tags title: "Editing: " + @document.title, description: truncate(@document.body) %> <%= content_for :full_width_page_header do %>