Slideshow plugin for Editor.js: Allows users to add multiple images in a grid and slideshow layout.
- For production builds:
yarn build
- For Development:
yarn build:dev
tools: {
slideshow: {
class: Slideshow,
config: {
/**
* All the available image objects as an array.
*/
imageData: [],
/**
* Base URL to fetch images from given names.
* In your case: https://res.cloudinary.com/fatcap/image/upload/.
*/
cloudinaryBaseUrl: 'SomeBaseURL'
}
},
},
Checkout ./example/index.html
for more information.
-
In the package root directory, run the npm init command and pass the scope to the scope flag:
i. For an organization-scoped package, replace my-org with the name of your organization:
npm init --scope=@my-org
ii. For a user-scoped package, replace my-username with your username:
npm init --scope=@my-username
-
On the command line, navigate to the root directory of your package.
cd /path/to/package
-
To publish your private package to the npm registry, run:
npm publish
To see your private package page, visit https://npmjs.com/package/*package-name, replacing package-name* with the name of your package.
Visit https://docs.npmjs.com/creating-and-publishing-private-packages for more information.