Is Ckeditor loading CSS files by itself? If not, you could leave the CSS files in assets folder, then load the css files through @Import in the component Java class.
On Mon, Aug 5, 2013 at 6:08 PM, Dimitris Zenios <dimitris.zen...@gmail.com>wrote: > Also Yunhua Sang module dispatcher only support .js files.Ckeditor needs to > load css files alsos > > > On Tue, Aug 6, 2013 at 12:30 AM, Dimitris Zenios > <dimitris.zen...@gmail.com>wrote: > > > There is a slight problem.I am using a require.js module to load > > ckeditor.I have ckeditor-library as a shim and a ckeditor module like > this > > > > define(["ckeditor-library"], function() { > > return function(spec) { > > blah blah > > } > > }); > > > > When ckeditor library is initialized, it tries to get its javascript > files > > from /assets.gz/modules which are not there.All of its javascript/css > files > > are located inside META-INF/assets/ckeditor. > > > > > > On Tue, Aug 6, 2013 at 12:21 AM, Yunhua Sang <yunhua.s...@gmail.com > >wrote: > > > >> Hi Dimitris, > >> > >> You could create a new JavaScript module and put all the needed > JavaScript > >> files into the same folder. > >> > >> The folder structure could be like: > >> > >> resources > >> META-INF > >> modules > >> ckeditor > >> js files... > >> > >> > >> The default folder of JavaScript modules is resources/META-INF/modules; > in > >> the example above, the module name is ckeditor. > >> > >> Regards, > >> Yunhua > >> > >> > >> > >> > >> > >> > >> > >> > >> > >> On Mon, Aug 5, 2013 at 2:01 PM, Dimitris Zenios > >> <dimitris.zen...@gmail.com>wrote: > >> > >> > Hello everybody.I am trying to integrate tapestry 5.4 and ckeditor. > >> > Ckeditor loads all its dependencies asynchronously but not through > >> > require.js. How can i expose ckeditors folder for the to the client in > >> > order to let ckeditor.js load its resources from? > >> > > >> > Regards > >> > Dimitris Zenios > >> > > >> > > > > >