Comments (4)
image_accessor :data
def url
data.url
end
def size
data.size
end
def current_path
data.path
end
def content_type
data.mime_type
end
def filename
read_attribute(:data_name)
end
This might help when someone has an idea what needs to be changed
from ckeditor.
I have fully implemented this but want try it out a little more before I file a pull request. Shouldn't be long before I have it in production. Check out my fork if you're desperate.
from ckeditor.
Now merged!
from ckeditor.
Hi,
Mergered in commit: da83829
from ckeditor.
Related Issues (20)
- The asset "ckeditor/application.css" is not present in the asset pipeline. HOT 3
- Ckeditor not getting custom config HOT 5
- File Attachments should be scoped
- Error "undefined method `size' for nil:NilClass" HOT 1
- Can't install additional plugins HOT 8
- ckeditor version security vulnerabilities HOT 1
- Setting image size with default image uploader
- ckeditor not rendering in heroku HOT 2
- Wrong asset path being requested HOT 9
- How can I save width and height of images uploaded with CarrieWave? HOT 1
- ActiveStorageValidations gem not working on Ckeditor assets
- delete
- It may be that this problem is in the gem ckeditor ? Images saved using ActiveStorage are different in environments. HOT 2
- undefined method `assets_languages=' for Ckeditor:Module (NoMethodError) Did you mean? asset_path= HOT 1
- image didn't show on staging [ rails4.2 + paperclip5.0.0+ ckeditor(5.1.1)]
- How to use with ActiveStorage+AWS?
- Trying to add 'lineheight' pluggin HOT 1
- Alternative for ckeditor_before_create_asset
- CKEditor4 reached its End-of-Life in June 2023 HOT 8
- Shrine templates are missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ckeditor.