Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdtehseenkhan/nova-text


https://github.com/mdtehseenkhan/nova-text

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# Introduction

A simple editor but a value add feature to your next product. Stay tuned there is more to come. It is a WYSIWYG editor.

Enjoy 🚀

[View Demo](https://nova-text.vercel.app)

[Bug Report here](https://www.github.com/MdTehseenKhan/nova-text/issues)

NPM Package: [https://www.npmjs.com/package/nova-text](https://www.npmjs.com/package/nova-text)


## Installation

To use Nova Text in your project, you can run the following command to install the `nova-text`:

```bash
npm i nova-text
```

Here is an example of how you can use it in your project.

```tsx App.tsx
import { useState } from 'react'
import { Editor, EditorContent } from 'nova-text/editor'

export default function App() {
const [value, setValue] = useState('')
const onChange = (value: string) => setValue(value)

// OR you can efficiently use it with react-hook-form with zod validation.

return (


Nova Text Editor Example



)
}
```

One of the use-cases is to use it as a textarea. The value of editor will be in HTML string, which can be used in the `` component.