Package Exports
- pom-text-editor-react
- pom-text-editor-react/dist/pom-text-editor-react.cjs.js
- pom-text-editor-react/dist/pom-text-editor-react.es.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pom-text-editor-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
PomTextEditor
PomTextEditor is a React component library that provides a customizable text editor for your React applications.
Installation
To use PomTextEditor in your project, install it via npm or yarn.
Using np
npm install pom-text-editor-react
Using yarn
bash
Copy code
yarn add pom-text-editor-react
Usage
Global Registration
To use the Editor component globally in your React application, register it in your main application file (e.g., main.js or main.ts).
main.js
js Copy code
import Editor from 'pom-text-editor-react'; // Correct import path
OtherComponent.React React Copy code
Retrive Data
My App
function change(val) { console.log(val, 'Your HTML content'); }
### CSS
import 'pom-text-editor-react/dist/index.css';
import EditorComponent from 'pom-text-editor-react';
. However,
if you want to customize the styles, you can include additional styles in your main
application stylesheet or scoped styles in your components.Documentation For more detailed information and customization options, please refer to the documentation (Coming soon).
Contributing
We welcome contributions! If you would like to contribute, please follow these steps:
Fork the repository. Create a feature branch (git checkout -b feature/your-feature). Commit your changes (git commit -am 'Add new feature'). Push to the branch (git push origin feature/your-feature). Create a Pull Request.
License` PomTextEditor is licensed under the MIT License. See the LICENSE file for more details.
Contact If you have any questions, suggestions, or need support, feel free to reach out to us at ssengendonazil@gmail.com.
Contributing
We welcome contributions to PomTextEditor! To contribute:
Fork the repository.
Create a new feature branch: git checkout -b feature/your-feature.
Commit your changes: git commit -m 'Add new feature'.
Push to the branch: git push origin feature/your-feature.
Open a Pull Request.
## Contributors
[**SSENGENDO NAZIL**](https://github.com/ssengedonazil) – Lead Project maintainer