muhammed-rahif / notepad Goto Github PK
View Code? Open in Web Editor NEWWindows notepad in web with additional features! Made with typescript and nextjs.
Home Page: https://notepad-dusky.vercel.app/
License: MIT License
Windows notepad in web with additional features! Made with typescript and nextjs.
Home Page: https://notepad-dusky.vercel.app/
License: MIT License
There is already a button for find in Edit -> Find ( ctrl + f ) in text editor mode, but its not working. Words that matches the find string from user should highlight on textarea.
Use the npm module called highlight-within-textarea. To use this module we also need to install jquery. After installing both packages you need to done these task :-
- document.getElementById("some-id") // code like this
+ $("#some-id") // replace by using jquery
Helpful resources :-
Add link button in this dropdown, at bottom:-
Should add a logo like the above buttons. Icons can be chosen from react-icons
librery, use a matching comfortable logo from the librery. Select logo from here.
The github project should open in new tab, which means you should use
window.open("https://github.com/Muhammed-Rahif/Notepad", "_blank");
or
<a href="https://github.com/Muhammed-Rahif/Notepad" target="_blank">
window.open
.Describe the bug :-
While I was testing this site out on safari , there was this bug , while I was clicking on other options on the menu bar , the scroll down windows for other options like file , edit , mode was not closing
Since, this a cross platform OS software you are making , I guess it would be better to take account of other browsers as well
To Reproduce :-
Steps to reproduce the behavior:
Desktop (please complete the following information) :-
The line to change :-
Line 19 in 8883b86
To Reproduce :-
Steps to reproduce the behavior:
Expected behavior :-
Body background should be the same of background color of textarea
Desktop :-
The solution :-
Changing this line
Line 19 in 8883b86
- background-color: #272727;
+ background-color: var(--bg-color);
Hi everyone! ๐ It is the first issue that I am posting in this project. ๐๐ Really awesome idea ๐
In the native notepad, we can rename a file when saving it for the first time. Here, I am not able to rename the file before downloading it because of that in my download directory all the files which I download from you are ending with Untitled.txt (n)
( n = no. of the same file downloaded - 1 ). That got me annoyed ๐.
This request is to introduce a feature in your project that allows users (like me) to be able to edit the name of the file which can be triggered either by shortcut key or In-place input
.
With In-place input
, we can edit the file name at the place where it has been rendered i.e on the top. I found this library react-inline-input-edit useful to implement this feature.
ctrl + r
shortcut can be used to rename a file and when pressed we will focus the in-place input to edit.
We also need to think of save as
functionality in our project. Just a random idea for save as
, we could open a Model with input to edit the filename and two buttons save and cancel. On saving button clicked, we will download the file and on cancel, we'll close the modal.
Thank you!! ๐
We haven't added Erase Mode in the Drawing Mode.
Can I work on this issue??
Adding an extra feature of Markdown text editor and viewer along with this notepad will be an added advantage.
There are many online markdown text editors available but not a tool that provides both a normal notepad option and a markdown editor.
I thought of adding this feature by a mode switching option.
MenuBar
component into multiple components for in order to easy the developmentThe multiple dropdowns are :-
When we select the contents that we have wrote and click any of the menu items in the menu bar , the selection is gone . This will make difficult to user when user want to use edit options without using keyboard shortcuts.
Also, these bugs should be fixed by this problem: -
The project made from a PWA template, but the service worker didn't registered yet. If service worker registered, users can install the app (chrome browsers). Other browsers cache the resources, and that will load our website faster.
You don't need to add so more code, because there is already the code added by the template. All you need to do is remove two letters from src/index.tsx
.
Line 17 in fadaff2
- serviceWorkerRegistration.unregister();
+ serviceWorkerRegistration.register();
Like in the windows notepad, we want to customize the font settings such as font size, font family
Describe the bug :-
Font size changes restoring when changing from draw mode to text editor mode
To Reproduce :-
Steps to reproduce the behavior:
14px
.Expected behavior :-
Font size should be the user changed value, that will never return to the default value until the user changes.
Screenshots :-
Desktop (please complete the following information) :-
Describe the bug :-
Recently I changed the production URL from 'https://rahif.me/Notepad' to 'https://notepad.rahif.me'. So every line that contains 'https://rahif.me/Notepad' should be overwritten by 'https://notepad.rahif.me'.
Additional context :-
To find where 'https://rahif.me/Notepad' link is used:-
https://github.com/Muhammed-Rahif/Notepad/search?q=rahif.me%2FNotepad
Example :-
- https://rahif.me/Notepad
+ https://notepad.rahif.me
Describe the bug :-
The fullscreen button on the MenuBar
component not working.
To Reproduce :-
Steps to reproduce the behavior:
Expected behavior :-
The browser should toggle fullscreen each time when clicks on the button.
Related article which is useful :- https://dev.to/ananyaneogi/create-a-dark-light-mode-switch-with-css-variables-34l8
Nowdays we are using drawing notebook often for online classes. So we add an options for color palette which can make it both notepad as well as a drawing notebook.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.