A modern, accessible highlight text plugin for Contentstack's JSON Rich Text Editor that allows you to highlight important content with customizable styling.
- ⚡ Easy Integration: Simple setup with Contentstack's JSON Rich Text Editor.
- 🎯 Accessible: Designed with accessibility in mind.
- 📱 Responsive: Works seamlessly across all devices.
- 🔧 Customizable: Easily modify the highlight styles to match your brand.
- Node.js (v16 or higher)
- npm (v8 or higher)
- A Contentstack account
# Clone the repository
git clone https://github.com/contentstack/marketplace-highlight-app.git
cd marketplace-highlight-app
# Install dependencies
npm install
# Start the development server
npm start
# Build the application for production
npm run build
# The bundled plugin will be in the `dist` directory
rte-highlight-plugin/
├── src/ # Source code
│ ├── components/ # React components (if any) # Styles for the plugin
│ ├── styles/styles.css # Styles for the plugin
│ └── plugin.tsx # Main plugin entry point
├── dist/ # Production build output
└── config files... # package.json, webpack.config.js, etc.
- TSLint for code linting.
- Prettier for code formatting (via tslint-config-prettier).
- Create a feature branch from
main
. - Implement your changes in the
src
directory. - Add or update tests for the new functionality.
- Update the documentation (
README.md
) if necessary. - Submit a pull request for review.
This project uses TSLint with the Standard and Prettier configurations to enforce a consistent code style.
This project follows the Conventional Commits specification.
- Build the Plugin: Run
npm run build
to create the production bundle in thedist/
directory. - Host the Plugin: Upload the contents of the
dist/
folder to a secure hosting provider. - Add to Contentstack: In your Contentstack stack, navigate to Settings > Extensions, and add a new Custom Field. Point the "Hosting method" to the URL where you hosted your plugin.
We welcome contributions! Please see the following guide for details.
- Fork the repository.
- Create a feature branch (
git checkout -b feature/amazing-feature
). - Commit your changes (
git commit -m 'feat: add amazing feature'
). - Push to the branch (
git push origin feature/amazing-feature
). - Open a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Contentstack for the amazing CMS platform.
- Issues: GitHub Issues
- Documentation: Contentstack Developer Hub
- Marketplace: Contentstack Marketplace App Guide
- Community: Contentstack Community
Made with ❤️ by the Contentstack team