It is a text editor which allows user to add text formatting, images and memes in the text content.
Live url: https://purple-editor.netlify.app/
- ReactJS
- Vanilla CSS
- Tiptap Editor
- Tenor API
Purple.Editor.mp4
-
To add bold style text click on
B
button and start typing. If you want to write non-bold text, deselect theB
button and start typing.If you want to add bold/non-bold style to the existing text, then select the text and click on
B
button. -
To add italic style text click on
I
button and start typing. If you want to write non-italic text, deselect theI
button and start typing.If you want to add italic/non-italic style to the existing text, then select the text and click on
I
button. -
To add underline style text click on
U
button and start typing. If you want to write no-underline text, deselect theU
button and start typing.If you want to add underline/no-underline style to the existing text, then select the text and click on
U
button. -
To add hyperlink to your text, select the text, click on
🔗
button, enter url in opened pop-up. Please make sure you are entering the full url e.g. https://www.google.comIf you want to remove hyperlink, select the text and click on
button.🔗
-
To add image, click on
Add Image
button and enter image url in pop-up window.If you want to delete image, then click on the image and press
delete
button on keyboard, orbackspace
will work as well. For Testing: You can use image url-http://res.cloudinary.com/u-and-i/image/upload/v1626699937/images/chrome-capture_1_qh0byh.png
-
To add meme, type "{{yourFavMemer_meme}}" e.g.{{cat_meme}}, click on
Add Meme
button, meme will get added to the editor.If you want to delete meme, then click on the image and press
delete
button on keyboard, orbackspace
will work as well. -
If you want to reorder your images in the text editor, just drag and drop anywhere in the editor.