Skip to content

pickeloe5/editor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just Sayin'

Download | Documentation

Basic Usage

editorJS file-name.txt

You'll find only the very-most-basic operations are included by default:

  • Insert letters, numbers, symbols, and white-space
  • Backspace one character at a time
  • Move the cursor left or right, one character at a time
  • Save the file being edited (Control+S)

Advanced Usage

The application looks in userData for a Javascript file, script.js, and executes it; A global, editorJSConsole, is exposed to the file, which allows the same, basic operations to be automated intelligently.

  • Linux: ($XDG_CONFIG_HOME or ~/.config)/editorJS/script.js
  • Windows: %APPDATA%/editorJS/script.js
  • Mac: ~/Library/Application Support/editorJS/script.js