项目作者: Mrcel97

项目描述 :
Compilation of text and code online editors.
高级语言: TypeScript
项目地址: git://github.com/Mrcel97/onlineEditors.git
创建时间: 2018-12-16T17:45:16Z
项目社区:https://github.com/Mrcel97/onlineEditors

开源协议:

下载


OnlineEditors

This project aim is to test the different text/code editors options aviable to introduce in our website.

Table of contents

  1. Text editors
  2. Angular project information

Text editors

This section will be updated every time a new text editor will be added to the compilation. For the moment, the project will contain:

  1. SlateJS
  2. Codemirror
  3. Ace IDE
  4. StackBlitz
  5. Froala
  6. Monaco

SlateJS

  1. Docs:
  2. URL:
  3. Component name:
  4. Files:
  5. Features:

Codemirror

  1. Docs:
  2. URL:
  3. Component name:
  4. Files:
  5. Features:

AceIDE

  1. Docs:
  2. URL:
  3. Component name:
  4. Files:
  5. Features:

StackBlitz

  1. URL: /stackblitz
  2. Component name: stack-blitz
  3. Files:
  4. stack-blitz.component.ts
  5. stack-blitz.component.scss
  6. stack-blitz.component.spec.ts
  7. stack-blitz.component.html
  8. Features:
  9. a. Intellisense, Project Search (Cmd/Ctrl+P), Go to Definition, and other key Visual
  10. Studio Code features.
  11. b. Hot reloading as you type.
  12. c. Import NPM packages into your project.
  13. d. Keep editing while offline thanks to our revolutionary in-browser dev server.
  14. e. Hosted app URL where you can see (or share) your live application at any time.

Froala

  1. URL: /froala
  2. Component name: froala
  3. Files:
  4. froala.component.ts
  5. froala.component.scss
  6. froala.component.spec.ts
  7. froala.component.html
  8. Features:
  9. a. Developer friendly.
  10. b. Easy to extend.
  11. c. Out of the box plugins.
  12. d. Inline WYSIWYG HTML Editor.
  13. e. Multi-Framework.

Monaco

  1. URL: /monaco
  2. Component name: froala
  3. Files:
  4. monaco.component.ts
  5. monaco.component.scss
  6. monaco.component.spec.ts
  7. monaco.component.html
  8. Features:
  9. a. Rich IntelliSense, Validation.
  10. b. Basic Syntax Colorization using Monarch.
  11. c. Diff Editor, side by side live comparison.
  12. d. Supports IE 11, Edge, Chrome, Firefox, Safari and Opera.
  13. e. Monaco Editor is the code editor that powers VS Code.
  14. f. Not supported in mobile browsers or mobile web frameworks.




Angular Project information

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.