Canvasbird / canvasboard

An interactive board with plugins focusing on replacing the need of multiple platforms for teaching, presenting, managing or explaining your ideas.
MIT License
198 stars 119 forks source link

Fixed On-Paste Title CSS #480

Closed Aniket-508 closed 2 years ago

Aniket-508 commented 2 years ago

Issue that this pull request solves

Closes: #470

Proposed changes

Added an 'onpaste' event on the id 'cb-title' element and then retrieving only the plain text part from the copied clipboard text and then executing command 'insertText' to paste the text in the element.

Types of changes

Put an x in the boxes that apply

Checklist

Put an x in the boxes that apply

Screenshots

https://user-images.githubusercontent.com/71957423/147415284-7479a826-4720-479d-a3b0-0ed9ab094c53.mp4

Aniket-508 commented 2 years ago

@goliakshay357 I have made the changes.

goliakshay357 commented 2 years ago

LGTM! Thanks for the enhancement, @Aniket-508!