Skip to content

Fix ace mode and worker paths. refs #6850

Matthias Käppler requested to merge github/fork/Vasfed/fix_ace_paths into master

Created by: Vasfed

Ace editor need both modes and workers to function properly (workers are not that necessary, but without them it works slower) It's an overkill to add whole ace to javascript manifest, as not all modes are always used, plus workers must be loaded in separate request anyway.

Symlink public/assets/ace to vendor/bundle/ruby/<ruby version>/gems/ace-rails-ap-<gem version>/vendor/assets/javascripts/ace/, set paths and editor will work.

This PR sets paths, did not yet figured a proper way to make a symlink on assets compilation

Merge request reports

Loading