GitHub - Gyanam09/react-nickify: Rich text editor package based on react tiptap · GitHub
Skip to content

About

Rich text editor package based on react tiptap

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

📦 React-nickify

npm License Downloads


✨ Features

  • ✅ Rich text editor with a customized toolbar
  • ✅ AI integrated with in editor responses
  • ✅ Build over react tiptap

📦 Installation and Use

Using npm:

npm install react-nickify

Calling the Nickify Component

import  Nickify  from  'react-nickify'
const [content,setContent]=useState<string>('')

return (
<>
   <Nickify  setContent={setContent} isAiEnabled={false}></Nickify>
   <article className="tiptap" dangerouslySetInnerHTML={{__html: content }}/>
</>
)

🛠Accessing the Toolbar

  • Windows: Ctrl + Arrow Down

  • Mac: Cmd + Arrow Down

image
  • On text selection also
image

📦 AI Response

to generate AI response configure GEMINI API KEY make a .env.local file and add

VITE_GEMINI_API_KEY="your api key"

and then

<Nickify  setContent={setContent} isAiEnabled={true}></Nickify>

📦 Developer guide

generate a pull request to LPW branch only

About

Rich text editor package based on react tiptap

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages