Sha256: 22c6d3edef65a2aa34879885ada8f2fa23fd5c3aa60d0866efdf0cb9011ffc36
Contents?: true
Size: 465 Bytes
Versions: 2
Compression:
Stored size: 465 Bytes
Contents
Fullstack::Ckeditor.setup must also accept and use an "attachment" parameter eg. Fullstack::Ckeditor.setup do |config| config.picture_class = Photo config.picture_attachment = 'file' end So - allow `picture_attachment` in config with a default - assign the data according with "picture_attachment" eg.: `picture_class.new({picture_attachment => params[:data]})` - use it to determine available styles eg.: picture.send(picture_attachment).styles
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fullstack-ckeditor-0.1.4 | TODO.tasks |
fullstack-ckeditor-0.1.3 | TODO.tasks |