jemcode / administrate-field-ckeditor Goto Github PK
View Code? Open in Web Editor NEWA plugin for adding CKEditor support to Administrate
Home Page: https://rubygems.org/gems/administrate-field-ckeditor
License: MIT License
A plugin for adding CKEditor support to Administrate
Home Page: https://rubygems.org/gems/administrate-field-ckeditor
License: MIT License
Hello, thanks for this project!
More of a question than an issue, I have a Rails 5.2 application with ActiveStorage to upload images to S3.
Is there a way to configure it directly from the field or should I customize CKEditor's JavaScript, in order to have the following screen upload the images and retrieve them via ActiveStorage?
Hey folks, thank you for the gem.
I'm trying to deploy new and shiny rails 5.2 api only app to Heroku.
I added administrate and administrate-field-ckeditor.
Deploy succeeds, but app can't start with
...
2018-04-22T02:39:32.250563+00:00 heroku[web.1]: Starting process with command `bundle exec puma -C config/puma.rb`
2018-04-22T02:39:34.886038+00:00 app[web.1]: [4] * Version 3.11.4 (ruby 2.4.1-p111), codename: Love Song
2018-04-22T02:39:34.886023+00:00 app[web.1]: [4] Puma starting in cluster mode...
2018-04-22T02:39:34.886045+00:00 app[web.1]: [4] * Min threads: 5, max threads: 5
2018-04-22T02:39:34.886046+00:00 app[web.1]: [4] * Environment: production
2018-04-22T02:39:34.886049+00:00 app[web.1]: [4] * Preloading application
2018-04-22T02:39:34.886048+00:00 app[web.1]: [4] * Process workers: 1
2018-04-22T02:39:38.100005+00:00 app[web.1]: [4] ! Unable to load application: NoMethodError: undefined method `layout' for Ckeditor::ApplicationController:Class
2018-04-22T02:39:38.100115+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.4.0/bin/puma)
2018-04-22T02:39:38.100250+00:00 app[web.1]: NoMethodError: undefined method `layout' for Ckeditor::ApplicationController:Class
2018-04-22T02:39:38.100254+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/ckeditor-4.2.4/app/controllers/ckeditor/application_controller.rb:2:in `<class:ApplicationController>'
2018-04-22T02:39:38.100255+00:00 app[web.1]: /app/vendor/bundle/ruby/2.4.0/gems/ckeditor-4.2.4/app/controllers/ckeditor/application_controller.rb:1:in `<main>'
....
There aren't much of the docs to go by... and since It's only API mode, I'm not sure what to do about the 'layout' thing. Was hoping you can provide some valuable input.
Best,
Andrei
As Administrate updated to 0.9.0 but I can't update as administrate-field-ckeditor doesn't support it.
Will you push your latest update to rubygems.org? I have this question because I fail to install this gem from source. The reason is the rubygem one restricting administrate version under 0.8 and my administrate version is 0.8.1. However, in your gemspec, it shows this gem is available upto 0.9.
Hope you have plan to support this gem to newer administrate version. Thanks!
Is it possible to use add ons with this gem? ie https://ckeditor.com/cke4/addon/lineheight
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.