sirocco-ventures / raggenie

RAGGENIE: An open-source, low-code platform to build custom Retrieval-Augmented Generation (RAG) Copilets with your own data. Simplify AI development with ease!
https://www.raggenie.com
MIT License
138 stars 52 forks source link

Style Formatting Getting Copied into User Query Input on Copy-Paste #120

Closed agberoz closed 1 month ago

agberoz commented 1 month ago

When a user copies content and pastes it into the query input, the style formatting (e.g., font, color, background) is being retained.

To Reproduce Steps to reproduce the behavior:

  1. Go to Preview page
  2. Copy styled content from any page and paste

Expected behavior We want only the plain text to appear in the input box without any style formatting

Screenshots

Screenshot 2024-10-15 at 6 42 19 PM
dexterousdhruv commented 1 month ago

@agberoz Could you please assign it to me ? Also, mention the file in which the bug resides. Would save me so time.

agberoz commented 1 month ago

hi @dexterousdhruv,

Assigning this issue to you, happy coding

If any assistance is required meet our team here: https://join.slack.com/t/theailounge/shared_invite/zt-2ogkrruyf-FPOHuPr5hdqXl34bDWjHjw

agberoz commented 1 month ago

@sethumadhavan-k , Please guide him

dexterousdhruv commented 1 month ago

@agberoz Kindly review the PR.

agberoz commented 1 month ago

@sethumadhavan-k , Please check the PR

dexterousdhruv commented 1 month ago

@sethumadhavan-k I've created a fresh PR. Please review it.