Skip to content

Text editor implemented from scratch using canvas 2D graphics

License

Notifications You must be signed in to change notification settings

wpdevelopment11/text-editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Description

Text editor implemented from scratch using HTML5 Canvas API, more specifically its 2D context.

Common features of the text editors are implemented:

  • Cursor movement using arrow keys and mouse.

  • Copy and paste text.

    When text is pasted, text editor window is automatically scrolled to make the cursor visible.

  • Text selection using mouse.

    Text selection can be deleted or replaced with some other text.

  • Text deletion using Delete and Backspace keys.

  • Vertical and horizontal scrollbars.

How to try

Clone the repository and open index.html in your browser. Try to type some text in the editor window.

Watch a demo

About

Text editor implemented from scratch using canvas 2D graphics

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published