Skip to content

[ Fix : URL Copied from Image Drawer And Pasted To Quill Editor Shows Image In Preview Or View Mode ] #232

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 20 commits into
base: main
Choose a base branch
from

Conversation

rohitPandey469
Copy link
Contributor

Description

What was happening?
The Copy URL button from Image Drawer is used to paste a particular formatted string in the quill editor. But it won't inject the image i.e. just shows the URL from Copy Url button in preview or view mode.
What is happening?
When the Copy URL is pasted then the Editor uses custom matcher to handle the pasted URL i.e. as soon as you paste the image by doing ctrl + v, then it parse the URL and injects the corresponding image.
If we want to have a functionality like Git Hub where the image URL, will be shown like this ![alt=image; scale=1.0](URL) in editor mode and image in preview mode then to do this I'll be using a blob package so do tell me if that functioning would be more OK.
First copy changes from #1158, then from this file to see it's working

Related Issue

Fixes #225

Motivation and Context

The Copy URL wasn't working, so made it work!!! And.....

How Has This Been Tested?

Tested locally on my machine.

Video:

codelabz-google-chrome-2024-02-04-18-42-07_9P96PldB.mp4

The copied URL now directly injects the image from firebase to Quill Editor.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

lokeshwar777 and others added 20 commits January 6, 2025 22:35
…ts (c2siorg#163)

* Upgrade Cypress workflow

* Rebuild CI/CD Pipeline

* Fix deployment issues

* Implement like/dislike system for comments and tutorials

* Fix comment display issue

* Implement in-app notification logic

* Add search functionality

* Fix authentication issues

* Enhance feed recommendations with tutorial tags

* Fix author data handling on tutorial page

* Integrate dynamic sidebar rendering feature
Added function and reducer to fetch all organizations on the profile page.
Replaced hardcoded organizations with dynamic data from the organization collection.
Fix : Fetch organizations dynamically from collection
Fixes for Dynamic Data in Profile Page - User Settings
[DOCS]Update CONTRIBUTING.md for easy local setup
Fixed : Follow System Should Be Database-Driven & Fix Visibility Conditions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants