Skip to content

Angular directive for Code Colaboration Editor with tab support

Notifications You must be signed in to change notification settings

hackhandslabs/hhEditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hhEditor - HackHands Code Editor

Angular directive for Code Colaboration Editor with tab support.

Features

  • Multiple Editors support (using tab layout)
  • Standalone or multi-user Colaboration (using Firebase)
  • Bidirectional syntax change
  • Bidirectional tab create
  • Bidirectional tab close
  • Bidirectional tab reorder
  • Bidirectional tab rename
  • Local files download (for every open tab)

Config

  • firebase defaults to null

    • A complete firebase url. A new child object will be created to mannage everything (tabs and editors)
  • syntax defaults to JavaScript (case-sensitive)

    • Default code editor syntax for newly created tabs
  • theme defaults to ace/theme/monokai (case-sensitive)

    • Defaul theme for the code editor
  • readOnly defaults to false

    • Is the editor read only mode
  • initialText defaults to empty

    • When the component is initialized, if there are no tabs on firebase, a new tab will be created with this text/content
  • initialSyntax defaults to previously defined syntax value

    • Default syntax for initialText tab

About

Angular directive for Code Colaboration Editor with tab support

Resources

Stars

Watchers

Forks

Packages

No packages published