mazzorini / anchorcms-0.9.2-drag-drop-fix Goto Github PK
View Code? Open in Web Editor NEWAnchorcms drag&drop upload working
Anchorcms drag&drop upload working
Hi Guys,
I always get an error at line 139 in the dragdrop.js .
unexpected token <
The Error seam to have something to do with this line.
var data = JSON.parse(response);
Maybe you can help me finding the error.
Thank you in advance for your help.
Nevermind - nothing to see here.
This got implemented in the latest dev version of Anchor! Thank you @mazzo-!
Thanks for this fix.
When I drag and drop an image that is wider than the post's width, I notice that it is resized to fit the post width. Is it possible to include a link to the full-sized image so that if the person clicks on the resized image, they can view the full-sized image in a new page/tab? Which bit of code in this fix would need to be updated to do this?
When I try to drag&drop an image in the post content, the console returns this warning :
SyntaxError: JSON.parse: unexpected end of data at line 1 column 1 of the JSON data
on dragdrop.js l.139
I've been able to track it down to the call of the upload function in the complete function (l. 93) with the params being : /admin/posts/upload/ and a file object.
Of course, nothing happens and the picture doesn't seem to be uploaded.
Hello, just installed DDF on Anchor 092 and when I post picture it shows me broken url
how can I fix this url and put my address there? which file to correct?
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.