Thank you for considering contributing to the Angular WYSIWYG project! Contributions are essential for improving the project and making it more robust.
If you encounter a bug or have a suggestion, please open an issue on the GitHub repository. Provide a clear and detailed description of the issue, including steps to reproduce it. If possible, include screenshots or code snippets that demonstrate the problem.
You can help make this project better by submitting issues and feature ideas on the repo issues page.
We welcome contributions in the form of pull requests. To submit a pull request:
-
Fork the repository.
-
Clone your fork to your local machine:
git clone https://github.com/your-username/angular-wysiwyg.git
-
Create a new branch for your changes:
git checkout -b feature-or-fix-branch
-
Make your changes and commit them:
git commit -m "Your descriptive commit message"
-
Push your changes to your fork:
git push origin feature-or-fix-branch
-
Open a pull request on the GitHub repository.
To set up the project for local development:
- Install dependencies:
yarn install
- Run the development server:
yarn start
- Open your browser and navigate to
http://localhost:4200/
. The app will automatically reload if you change any of the source files.
- To run cypress with the interface:
yarn cypress:open:app
:info: Its set on
package.json
to run on chrome by default. If you want to change the default browser (or change browsers through the interface) alter thecypress:open:app
command onpackage.json
"cypress:open:app": "ng run angular-editor-app:cypress-open --browser chrome",
- To run cypress with the interface:
yarn cypress:run:app
- Testing the lib:
yarn test:lib
- Testing with the demo app:
yarn test
Please follow the existing coding style and conventions used in the project. If you are adding new features or modifying existing ones, make sure to include appropriate tests.
Write clear and descriptive commit messages that explain the purpose of your changes. Follow the conventional commit format, such as:
feat: add new feature
fix: resolve a bug
chore: make a maintenance change
refactor: refactoring or improving code
Your contributions are valuable, and we appreciate your efforts in making Angular WYSIWYG even better!
Happy coding!