Comments (2)
Hi.
The plugin inserts an <img>
tag using var imgstr = "<img src='" + json["image"]["url"] + "'";
, so you might want to make sure your controller responds with an absolute URL, and not a relative. For example using the _url
helpers in Rails, and not _path
.
I've also configured my TinyMCE instances to translate relative URLs to absolute when saving (relative_urls: false
in TinyMCE3), which might also help.
from tinymce-rails-imageupload.
I see. Thanks for the info.
from tinymce-rails-imageupload.
Related Issues (20)
- unable to upload the image HOT 3
- tinymce editor disappears when specifying plugin in application.js HOT 19
- Maintainer wanted HOT 3
- Image not rendering in TinyMCE on model edit action only HOT 2
- It messes the absolute paths HOT 1
- POST \ GET request issues. HOT 2
- Image upload failed inside HTTPS site HOT 5
- Problem precompiling assets "Same file" error HOT 3
- Rails 4.2 doesnt return url HOT 2
- Carrierwave usage HOT 2
- Compiling with tinymce-rails config.tinymce.install = :copy breaks. HOT 2
- Wrong assets path HOT 1
- Same file issue HOT 3
- Where is the code for 4.0.17.beta.2? HOT 3
- RuntimeError: unknown file type HOT 4
- Rake Don't know how to build task 'assets:precompile:primary', (and fix...) HOT 1
- Conflict with chrome extensions HOT 1
- Question: is there any possibility to send model type/id to upload_file_url action ? HOT 1
- TypeScript rewrite HOT 3
- Support choose from images uploaded before HOT 1
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 tinymce-rails-imageupload.