Skip to content

Commit

Permalink
Disable version check on ckeditor
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDancingClown committed Jul 2, 2024
1 parent e262381 commit 825f7e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/assets/javascripts/application.js.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,7 @@ jQuery ->
height: 200
wordcount:
maxWordCount: $(this).data('word-max')
versionCheck: false

CKEDITOR.on 'instanceCreated', (event) ->
editor = event.editor
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/ckeditor.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
Ckeditor.setup do |config|
config.cdn_url = "//cdn.ckeditor.com/ckeditor5/42.0.0/ckeditor5.js"
config.cdn_url = "//cdn.ckeditor.com/4.22.1/full/ckeditor.js"
end

0 comments on commit 825f7e1

Please sign in to comment.