Muhammed-Rahif / Notpad

The ordinary notepad that everyone know, but it's rich!
https://muhammed-rahif.github.io/Notpad/
MIT License
57 stars 32 forks source link

Add the functioning of edit menu option like Undo , Redo, Cut, Copy, Paste And insert time and date feature #200

Closed Trishank7409 closed 1 month ago

Trishank7409 commented 1 month ago

What does this PR do?

This PR enable the edit menu features like Undo, Redo, Cut,Copy,Paste and Instert Time and Date feature.

Fixes #175

Demo Video

How should be tested

You have to double click on undo and redo for working perfectly.

Trishank7409 commented 1 month ago

@Muhammed-Rahif should i merge these conflict or again raise PR? one more thing incoming changes has deleted the store file which is required for me.

Muhammed-Rahif commented 1 month ago

@Trishank7409 I'm currently working on this PR. We can't introduce complexity that could negatively impact the app's performance. Manually saving each undo/redo action to local storage would degrade performance. We should stick to the native undo/redo functionality provided by browsers, if possible.

I'll handle the conflicts for now.

Muhammed-Rahif commented 1 month ago

We are actively working on implementing a rich text editor, see https://github.com/Muhammed-Rahif/Notpad/tree/quill.js and https://github.com/Muhammed-Rahif/Notpad/pull/202. PRs which have base branch other than https://github.com/Muhammed-Rahif/Notpad/tree/quill.js are on hold until #202 resolves.