uploadcare / uploadcare-redactor Goto Github PK
View Code? Open in Web Editor NEWRedactor Uploadcare plugin
License: MIT License
Redactor Uploadcare plugin
License: MIT License
Hey there
Looking at the latest example at https://imperavi.com/redactor, it seems like images should be wrapped inside a <figure>
tag (or whatever imageTag is set to) after insert, to be consistent with the default redactor behavior.
See: https://imperavi.com/redactor/docs/settings/images/#setting-imageTag
This specifically plays a role when a caption is present, as redactor otherwise doesn't recognize it as a caption for that image.
Repro would be:
console errors on example.html
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (redactor.css, line 0)
[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (redactor.js, line 0)
[Error] TypeError: undefined is not a function (evaluating '$('#redactor').redactor')
(anonymous function) (index.html, line 11)
j (jquery.min.js, line 2)
fireWith (jquery.min.js, line 2)
ready (jquery.min.js, line 2)
I (jquery.min.js, line 2)
We created an extension of this library and added support for Redactor X. Should we create a PR so this library would support v2, v3 and Redactor X or would it make sense to create separate repository for Redactor X?
I have uploaded one image and it is in the redactor widget now.(I am using Click-To-Edit mode)
But the modal is not showing when the image is clicked inside the redactor widget and it works only when the out side of the image is clicked on the redactor editor.
Anybody knows why?
Would it be possible to implement drag and drop directly to the Redactor editor which background upload to uploadcare?
I'd like to use uploadcare for all our images and when somebody pasted and image or drops it into redactor, this should all land on uploadcare.
Thanks for your inputs. Also happy to help if it fits the scope of this plugin.
added in #3
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.