This repository has been archived by the owner on Aug 10, 2021. It is now read-only.
forked from romul/spree_editor
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
1 changed file
with
1 addition
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still not sure why that code was there.
only problems with that, and ckeditor works well without it.
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello I guess this is related with the asset pipeline issue. The current version do not work in production mode. Could not find the ckeditor/init.js in production mode.
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Godweed what version are you using?
I use spree editor on multiple 2.2 -> 3.0 stores without problems
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am using 3.0 stable version and getting
Request URL:http://www.domain.com/javascripts/ckeditor/init.js
Request Method:GET
Status Code:404 Not Found
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
related: https://github.com/galetahub/ckeditor#deployment
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have already added Rails.application.config.assets.precompile += %w( ckeditor/* )
and the files are precompiled in public/ckeditor but could not find the /javascripts/ckeditor/init.js file
looks like it is related basebath I guess could not fix it yet
var CKEDITOR_BASEPATH = '/assets/ckeditor/';
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the ckeditor gem has a task to copy non digested files, see https://github.com/galetahub/ckeditor/blob/master/lib/tasks/ckeditor.rake
anyway this is a https://github.com/galetahub/ckeditor problem, like most of the issues on this gem
f5215b7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks a lot alepore, at last it works