kommitters / editorjs-inline-image Goto Github PK
View Code? Open in Web Editor NEWUnsplash inline images plugin for editorjs
Home Page: https://www.npmjs.com/package/editorjs-inline-image
License: MIT License
Unsplash inline images plugin for editorjs
Home Page: https://www.npmjs.com/package/editorjs-inline-image
License: MIT License
I am working on a big project so I need typescript support . I tried to rewrite the library to typescript but failed . Please write this library in typescript . If you need help , I will also help . Please bro , rewrite this library in typescript .
https://github.com/kommitters/editorjs-inline-image/security/dependabot
To keep the library up-to-date by updating dependencies in response to these alerts.
How to query a specific image size? Because if I take all the images from Unsplash, some of the images are very tall, I want certain images to be Landscape size.
I am currently using both https://github.com/editor-js/image and this tool since I want to offer both upload from file and Unsplash search.
I would prefer to have image upload from file like in editorjs-image available as first tab in this tool.
Please ref.: https://editorjs.io/configuration#read-only-mode
Citing from it:
Each of the Block Tools you use MUST support the read-only mode to enable this mode in the editor.
I am trying to change selected image url. The url has some parameters, I have to add 'q' parameter in order to change image quality or fetch compressed image from unsplash
https://unsplash.com/blog/the-5-minute-guide-to-image-quality/
I need a callback receiving selected image data and returning changed block data, which will be given to the editor for rendering. In other words, we can add callback, which will be called after image select action and before giving the block data to the editor
A clear and concise description of any alternative solutions or features you've considered.
Add any other context or screenshots about the feature request here.
The recent EditorJS version has included a readOnly property. Ref.
To add support to this new property
This issue was automatically created by Allstar.
Security Policy Violation
Security policy not enabled.
A SECURITY.md file can give users information about what constitutes a vulnerability and how to report one securely so that information about a bug is not publicly visible. Examples of secure reporting methods include using an issue tracker with private issue support, or encrypted email with a published key.
To fix this, add a SECURITY.md file that explains how to handle vulnerabilities found in your repository. Go to https://github.com/kommitters/editorjs-inline-image/security/policy to enable.
For more information, see https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository.
This issue will auto resolve when the policy is in compliance.
Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.
Hello, as the title says, i want to disable embedding images from external urls. I just want to use unsplash feature. Is it possible?
https://github.com/kommitters/editorjs-inline-image/security/dependabot
To keep the library up-to-date by updating dependencies in response to these alerts.
This issue was automatically created by Allstar.
Security Policy Violation
Dismiss stale reviews not configured for branch main
This issue will auto resolve when the policy is in compliance.
Issue created by Allstar. See https://github.com/ossf/allstar/ for more information. For questions specific to the repository, please contact the owner or maintainer.
Hi
The main idea is to use GitHub Action to publish automatically when a new release is created.
Thanks
Because of the css-loader dependence was uptated to solve vulnerabilities, the CSS sheet style is not being injected in the DOM, it is necessary to update style-loader as well.
https://github.com/kommitters/editorjs-inline-image/security/dependabot
To keep the library up-to-date by updating dependencies in response to these alerts.
https://github.com/kommitters/editorjs-inline-image/security/dependabot
To keep the library up-to-date by updating dependencies in response to these alerts.
Currently, the publishing process to the NPM library hub is done manually.
Add workflow for automatic publishing in npm when the release on Github is created.
https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
Unsplash is great but what if my pictures/images/video are stored on my server/cloud? I see that config.apiUrl can be whatever I want. But how the apiUrl response should look like? Are paths of inserted media relative or absolute? What if I drag and drop a media inside editorjs from the same page (list of available images for example)?
Maybe adding a dedicated "Custom apiUrl" section in the README.md including the following:
Expected response example:
{
"id": "myuniqueid",
"width": imgwidth,
"height": imgheight,
"urls": {
"full": "articles/1/img/myimage.jpg",
"thumb": "articles/1/img/myimage_thumb.jpg"
},
},
{
"id": "myuniqueid2",
"width": imgwidth,
"height": imgheight,
"urls": {
"full": "articles/1/img/myimage2.jpg",
"thumb": "articles/1/img/myimage2_thumb.jpg"
},
}
other custom apiUrl config options like:
config.imageAddedPath= "absolute/relative",
// option for path option? isn't better for local ressources to have relative paths so it's easier to maintain? host can be adapted on backend (dev server, prod server, amazon bucket, etc...)`
drag and drop from list on the same page:
config.imageDropped= "data or path",
// it would be great to have an option to have the relative path inserted like <img src="/img/example.jpg" instead of having image inserted as <img src="data:image/jpg;base64,...
https://github.com/kommitters/editorjs-inline-image/security/dependabot
To keep the library up-to-date by updating dependencies in response to these alerts.
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.