GithubHelp home page GithubHelp logo

surmon-china / ngx-quill-editor Goto Github PK

View Code? Open in Web Editor NEW
232.0 7.0 54.0 2.28 MB

🍡@quilljs editor component for @angular

Home Page: https://github.surmon.me/ngx-quill-editor

License: MIT License

TypeScript 98.40% CSS 1.60%
quil angular ng2-quill-editor ng2 angular2-component quill quill-editor quilljs angularjs angular-directives angular-components angular4 web-editor text-editor

ngx-quill-editor's Introduction

THIS PROJECT IS DEPRECATED

❌ Component is not maintained anymore.

✅ Please consider using ngx-quill.


GitHub issues GitHub forks GitHub stars GitHub license No Maintenance Intended

ngx-quill-editor

Quill editor for AngularX.

基于 Quill、适用于 AngularX 的富文本编辑器。

Example

Demo Page

Installation

npm install ngx-quill-editor --save

Sample

Include QuillEditorModule in your main module:

import { QuillEditorModule } from 'ngx-quill-editor';

@NgModule({
  // ...
  imports: [
    QuillEditorModule
  ],
  // ...
})
export class AppModule {}

Then use it in your component:

<!-- use with ngModel -->
<quill-editor
  [(ngModel)]="editorContent"
  [options]="editorOptions"
  (blur)="onEditorBlured($event)"
  (focus)="onEditorFocused($event)"
  (ready)="onEditorCreated($event)"
  (change)="onContentChanged($event)"
></quill-editor>


<!-- or use with formControl -->
<quill-editor
  class="form-control"
  [formControl]="editorContent"
  [options]="editorOptions"
  (blur)="onEditorBlured($event)"
  (focus)="onEditorFocused($event)"
  (ready)="onEditorCreated($event)"
  (change)="onContentChanged($event)"
></quill-editor>
import { Component } from '@angular/core';

@Component({
  selector: 'sample',
  template: require('./sample.html')
})
export class Sample {

  public editor;
  public editorContent = `<h3>I am Example content</h3>`;
  public editorOptions = {
    placeholder: "insert content..."
  };

  constructor() {}

  onEditorBlured(quill) {
    console.log('editor blur!', quill);
  }

  onEditorFocused(quill) {
    console.log('editor focus!', quill);
  }

  onEditorCreated(quill) {
    this.editor = quill;
    console.log('quill is ready! this is current quill instance object', quill);
  }

  onContentChanged({ quill, html, text }) {
    console.log('quill content is changed!', quill, html, text);
  }

  ngOnInit() {
    setTimeout(() => {
      this.editorContent = '<h1>content changed!</h1>';
      console.log('you can use the quill instance object to do something', this.editor);
      // this.editor.disable();
    }, 2800)
  }
}

Configuration

ngx-quill-editor's People

Contributors

benniecopeland avatar dusthub avatar garypegeot avatar surmon-china avatar torvaldssg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ngx-quill-editor's Issues

Change the editor's css property after import

Hello,
I have imported the editor correctly, but i want to do some customazation, can you show me an exemple how to modify the default css properties like opacity, hide/display, etc, please?
I use Angular 5 for the project.
Thank you.

Error with webpack

I am running an Angular 2 app inside an MVC.NET app following these instruction: http://blog.stevensanderson.com/2016/10/04/angular2-template-for-visual-studio/. I have successfully added ng2-quill-editor to my project and even linked to it in app.module.ts. But when I follow the instructions to add a third-party library in the link above, I get this error in the console from webpack:
command: webpack --config webpack.config.vendor.js
output: Module not found: Error: Cannot resolve module 'ng2-quill-editor'

I have not had this problem with other third-party packages. Any idea what's wrong?

Thanks

Editing content Ctrl + Z deletes everything in IE 11 / Firefox 50.0.2

After implementing this component in my app I realized that when the user edits content, and the content is loaded into the component successfully, if the user presses crtl + z everything is deleted (the content loaded previously). Why this happens? Is there a workaround or setting to fix it?

Regards,
Luis.

IE 11 click in heading 1 break the line

If I have this title setting as Heading 2:

My Title

When I enter to edit this content and I click in the "l" the final "e" moves to the next line.

This only happens in IE 11.

I hope you have a workaround for this.

Regards,

Luis.

Dynamically change readOnly status of editor

I am able to set the readOnly status while initializing but doesn't work when changing dynamically

this.editorConfig.readOnly = false;

Can I set read only property dynamically? I tried setting [readOnly]="editorState" but looks like readOnly is not a known property

Testing wih Jest fails.

The following block of code is causing a failure when I am using Jest with jest-angular-preset plugin.

styleUrls: [
'./quillEditor.component.css',
'../quill/dist/quill.core.css',
'../quill/dist/quill.snow.css',
'../quill/dist/quill.bubble.css'
],

The details of the error is,

 FAIL  src/app/app.component.spec.ts (5.944s)
  AppComponent
    ✕ should create the app (96ms)

  ● AppComponent › should create the app

    SyntaxError: The string did not match the expected pattern.

      at XMLHttpRequest.open [as __zone_symbol__open] (node_modules/jest-preset-angular/node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:475:15)
      at Array.map (native)

  ● AppComponent › should create the app

    SyntaxError: The string did not match the expected pattern.

      at XMLHttpRequest.open [as __zone_symbol__open] (node_modules/jest-preset-angular/node_modules/jsdom/lib/jsdom/living/xmlhttprequest.js:475:15)
      at Array.map (native)

Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        7.915s
Ran all test suites.

However, the error can be easily fixed if it's changed to inline like the following,

styleUrls: [
    './quillEditor.component.css', '../quill/dist/quill.core.css', '../quill/dist/quill.snow.css', '../quill/dist/quill.bubble.css'
  ],

I know this is jest-angular-preset's plugins regex that fails to parse the line breaks but if you think that little change in code won't hurt I can create a PR :).

unexpected value 'undefined' imported by the module appmodule

Hello,
I tried to use the exemple in my angular 5 project, but I got an error "unexpected value 'undefined' imported by the module appmodule"
I have imported the module like this:

import { QuillEditorModule } from 'ngx-quill-editor';

imports: [
    BrowserModule,
    DataTablesModule,
    FormsModule,
    AppRoutingModule,
    ToasterModule,
    QuillEditorModule,
    NoopAnimationsModule,
    BrowserAnimationsModule,
    MaterialModule,
    ImageZoomModule,
    TranslateModule.forRoot(),
    NgxStepperModule,
    HttpClientModule,

    // The HttpClientInMemoryWebApiModule module intercepts HTTP requests
    // and returns silmulated server response
    // Remove it when a real server is ready to receive requests
    HttpClientInMemoryWebApiModule.forRoot(
      InMemorySearchDataService, { dataEncapsulation: false }
    )],

Then, i copied exactlly the same code from the exemple into my web page, and finally i got the error, can you tell me why, should i install another dependency? or is there anything wrong in my appmodule?
Thanks.

Inline css instead of classes

Not so much an issue more of a question. Is there a way to use inline styles instead of classes? I want to send an email with results.

upload images to the server and render it using image url

Hello
What if i can upload every image, when i press on the image button of the editor so, but i want to store the image to server and return image url [so that i get rid of store the image using base64], and then render the image based on the returned image.

quillEditor.component.ts (14,20): Cannot find namespace 'Quill'.

Version "ngx-quill-editor": "^2.1.0", has following errors;

ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (14,20): Cannot find namespace 'Quill'.

ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (15,22): Cannot find namespace 'Quill'.

ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (16,22): Cannot find namespace 'Quill'.

ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (17,18): Cannot find namespace 'Quill'.

ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (18,20): Cannot find namespace 'Quill'.

ERROR in /path/frontend/node_modules/ngx-quill-editor/quillEditor.component.ts (19,15): Cannot find name 'require'.
webpack: Failed to compile.

Issue with Angular 5.x

After upgrading my project to Angular 5, I now get this error when running ng serve:

ERROR in ./node_modules/ngx-quill-editor/quillEditor.component.ts
Module build failed: Error: C:\projects\event-system\event-system-admin\node_modules\ngx-quill-editor\quillEditor.component.ts is not part of the compilation output. Please check the other error messages for details.
    at AngularCompilerPlugin.getCompiledFile (C:\projects\event-system\event-system-admin\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:629:23)
    at plugin.done.then (C:\projects\event-system\event-system-admin\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
 @ ./src/app/speaker/person-details/person-details.component.ts 18:0-103
 @ ./src/app/speaker/speaker.module.ts
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts
ERROR in ./node_modules/ngx-quill-editor/quillEditor.module.ts
Module build failed: Error: C:\projects\event-system\event-system-admin\node_modules\ngx-quill-editor\quillEditor.module.ts is not part of the compilation output. Please check the other error messages for details.
    at AngularCompilerPlugin.getCompiledFile (C:\projects\event-system\event-system-admin\node_modules\@ngtools\webpack\src\angular_compiler_plugin.js:629:23)
    at plugin.done.then (C:\projects\event-system\event-system-admin\node_modules\@ngtools\webpack\src\loader.js:467:39)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
 @ ./src/app/speaker/speaker.module.ts 18:0-94
 @ ./src/app/app.module.ts
 @ ./src/main.ts
 @ multi webpack-dev-server/client?http://0.0.0.0:0 ./src/main.ts

There's a workaround for this, but it would be good if this issue is fixed.

Uncaught Error: Expected 'styles' to be an array of strings.

Installing on Angular 4. getting this error when webpack compiles for es5.

compiler.es5.js:3920 Uncaught Error: Expected 'styles' to be an array of strings. at assertArrayOfStrings (compiler.es5.js:3920) at CompileMetadataResolver.getNonNormalizedDirectiveMetadata (compiler.es5.js:15174) at CompileMetadataResolver.loadDirectiveMetadata (compiler.es5.js:15096) at compiler.es5.js:26806 at Array.forEach (<anonymous>) at compiler.es5.js:26805 at Array.forEach (<anonymous>) at JitCompiler._loadModules (compiler.es5.js:26802) at JitCompiler._compileModuleAndComponents (compiler.es5.js:26772) at JitCompiler.compileModuleAsync (compiler.es5.js:26701)

Any suggestion?

ERROR TypeError: _co.onContentChanged is not a function

Hello!

After install the package in my Angular5 project, i have this error:
ERROR TypeError: _co.onContentChanged is not a function at Object.eval [as handleEvent]
The control work fine, but, when i type any letter, shows this error in googleChrome console.

Angular5
ngx-quill-editor version 2.2.2

Thank you.

Unexpected RTL & other Issues

Hi folks,

I have the latest versions of ngx-quill-editor and @types-quill installed, and use the editor with the following configuration:

this.editorConfig = { debug: 'info', theme: 'bubble', placeholder: 'Insert text here...' };

and everything looks fine.

I impelement it into the template with:
<quill-editor [(ngModel)]="pkgTexts.Content" [options]="editorConfig" (change)="pkgTexts.Content = $event.text"> </quill-editor>

When I enter text, it is like RTL, [Space] is completely ignored and [Enter] removes any stylings. Prior to my update, everything looked fine and worked as it should.

Thank you in advance & regards

not find css

E:/angular2/my-app2/node_modules/ng2-quill-editor/quillEditor.component.ts (23,5): Cannot find name 'require'.
this is source code quillEditor.component.ts
styles: [
require('quill/dist/quill.core.css'),
require('quill/dist/quill.snow.css'),
require('quill/dist/quill.bubble.css')
],

Where is the index.js

Hi,

I am using Angular-seed project which is using SystemJS. It requires the index.js instead of index.ts. Any ideas?

为什么没有index.js文件呢?

Angular 5

Hello I want to integrate nix-quill-editor to my angular 5 project, and I import the module to my app.module.ts, the browser has a error which is
Error: Unexpected value 'undefined' imported by the module 'AppModule'

The code is
`import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';

import { QuillEditorModule } from 'ngx-quill-editor';

@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
QuillEditorModule
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }`

Anyone knows the reason? Thank you.

Not able to add font

I'm trying to add the Roboto font.

public editorConfig = { modules: { toolbar: [ ['bold', 'italic', 'underline', 'strike'], [{ 'list': 'ordered'}, { 'list': 'bullet' }], [{ 'header': [1, 2, 3, 4, 5, 6, false] }], [{ 'color': [] }, { 'background': [] }], [{ 'font': ['roboto'] }], [{ 'align': [] }], ['link', 'image'], ['clean'] ] } };
It's not adding it, also it's repeating Sans Serif twice.

styleUrls and styles in QuillEditorComponent

QuillEditorComponent has both styleUrls and styles in settings:

@Component({
...
  styleUrls: [
    './quillEditor.component.css'
  ],
  styles: [
    require('quill/dist/quill.core.css'),
    require('quill/dist/quill.snow.css'),
    require('quill/dist/quill.bubble.css')
  ],
...
})

It is the problem when I use @angular/cli, cause it compile in:

QuillEditorComponent = QuillEditorComponent_1 = __decorate([
    core_1.Component({
        selector: 'quill-editor',
        template: "<div class=\"quill-editor\"></div>",
        styles: [__webpack_require__(557)],
        styles: [
            __webpack_require__(559),
            __webpack_require__(560),
            __webpack_require__(558)
        ],
        providers: [{
                provide: forms_1.NG_VALUE_ACCESSOR,
                useExisting: core_1.forwardRef(function () { return QuillEditorComponent_1; }),
                multi: true
            }],
        encapsulation: core_1.ViewEncapsulation.None
    }),
    __metadata("design:paramtypes", [typeof (_e = typeof core_1.ElementRef !== "undefined" && core_1.ElementRef) === "function" && _e || Object])
], QuillEditorComponent);
exports.QuillEditorComponent = QuillEditorComponent;

So, styleUrls become styles somehow and it is the problem. Is it possible to use styleUrls or styles setting, but not both of them?

Uncaught TypeError: cssText.replace is not a function

The error that i've got is typed below;

Uncaught TypeError: cssText.replace is not a function at extractStyleUrls (webpack-internal:///../../../compiler/@angular/compiler.es5.js:12227) at eval (webpack-internal:///../../../compiler/@angular/compiler.es5.js:14436) at Array.map (<anonymous>) at DirectiveNormalizer.normalizeStylesheet (webpack-internal:///../../../compiler/@angular/compiler.es5.js:14435) at DirectiveNormalizer.normalizeLoadedTemplate (webpack-internal:///../../../compiler/@angular/compiler.es5.js:14363) at eval (webpack-internal:///../../../compiler/@angular/compiler.es5.js:14347) at Object.then (webpack-internal:///../../../compiler/@angular/compiler.es5.js:1902) at DirectiveNormalizer.normalizeTemplateOnly (webpack-internal:///../../../compiler/@angular/compiler.es5.js:14347) at DirectiveNormalizer.normalizeTemplate (webpack-internal:///../../../compiler/@angular/compiler.es5.js:14329) at CompileMetadataResolver.loadDirectiveMetadata (webpack-internal:///../../../compiler/@angular/compiler.es5.js:15358)

My environment
Angular version : 4.2.4
Quill : 1.3.4
ngx-quill-editor : 2.2.2

.angular-cli.json file

{ "$schema": "./node_modules/@angular/cli/lib/config/schema.json", "project": { "name": "tdadmin" }, "apps": [ { "root": "src", "outDir": "dist", "assets": [ "assets", "favicon.ico" ], "index": "index.html", "main": "main.ts", "polyfills": "polyfills.ts", "test": "test.ts", "tsconfig": "tsconfig.app.json", "testTsconfig": "tsconfig.spec.json", "prefix": "app", "styles": [ "styles.scss", "../node_modules/font-awesome/css/font-awesome.min.css", "../node_modules/mdi/css/materialdesignicons.min.css", "../node_modules/primeng/resources/themes/omega/theme.css", "../node_modules/primeng/resources/primeng.min.css", "../node_modules/quill/dist/quill.core.css", "../node_modules/quill/dist/quill.snow.css" ], "scripts": [ "../node_modules/quill/dist/quill.js" ], "environmentSource": "environments/environment.ts", "environments": { "dev": "environments/environment.ts", "prod": "environments/environment.prod.ts" } } ], "e2e": { "protractor": { "config": "./protractor.conf.js" } }, "lint": [ { "project": "src/tsconfig.app.json" }, { "project": "src/tsconfig.spec.json" }, { "project": "e2e/tsconfig.e2e.json" } ], "test": { "karma": { "config": "./karma.conf.js" } }, "defaults": { "styleExt": "scss", "component": {} } }

Enable edit html code.

I'm integrating the ngx-quill-editor on angular-5 project and we want to add a feature to user he can directly edit html code.
Can we add feature like view-source ?

Toolbar - how do you remove link,image,video

Hi I am having trouble removing the link,image and video buttons

@component({
selector: 'app-notes',
templateUrl: './notes.component.html',
styleUrls: ['./notes.component.scss']
})
export class NotesComponent implements OnInit {
editorValue: string;
notes: any;
modalRef: NgbModalRef;

public editorConfig = {
theme: 'bubble',
placeholder: 'Add a note',
modules: {
  toolbar: [
        ['bold', 'italic', 'underline', 'strike'],        // toggled buttons
        ['blockquote', 'code-block'],
        [{ 'header': 1 }, { 'header': 2 }],               // custom button values
        [{ 'list': 'ordered' }, { 'list': 'bullet' }],
        [{ 'script': 'sub' }, { 'script': 'super' }],      // superscript/subscript
        [{ 'indent': '-1' }, { 'indent': '+1' }],          // outdent/indent
        [{ 'direction': 'rtl' }],                         // text direction
        [{ 'size': ['small', false, 'large', 'huge'] }],  // custom dropdown
        [{ 'header': [1, 2, 3, 4, 5, 6, false] }],
        [{ 'color': [] }, { 'background': [] }],          // dropdown with defaults from theme
        [{ 'font': [] }],
        [{ 'align': [] }],
        ['clean']
        //['link', 'image','video']                                  
  ],
}

};

html...
<div class="notes"> <div class="modal-header"> <span> <i class="fa fa-4x fa-pencil-square-o"></i> </span> </div> <div class="modal-body"> <quill-editor [options]="editorConfig" [(ngModel)]="editorValue" (onEditorCreated)="setFocus($event)"> </quill-editor> </div> <div class="modal-footer"> <button type="button" (click)="onNotesSave(editorValue)" class="btn btn-primary notes__btn">Save</button> </div> </div>
image

Any help would be appreciated thank you.

Update dependencies

Hi,
I think you should update package.json to depend on @types/quill set to version 1.3.3 (like in ng-quill) instead of ^0.0.31, otherwise it's not possible to, for instance, set default block wrapping like follows:

// Quill configuration: use SPANs instead of Paragraphs (skips line)
var Block = Quill.import('blots/block');
Block.tagName = 'SPAN';
Quill.register(Block, true);

webpack build error

I downloaded today - using 2.0.0

I get these build errors

[at-loader] Checking finished with 2 errors
[1] [at-loader] node_modules/ng2-quill-editor/quillEditor.component.ts:22:3
[1] TS1117: An object literal cannot have multiple properties with the same name in strict mode.
[1]
[1] [at-loader] node_modules/ng2-quill-editor/quillEditor.component.ts:22:3
[1] TS2300: Duplicate identifier 'styles'.
[1]

AOT issue

Hi,

ERROR in E:\Projects\abc\v1\node_modules\ngx-quill-editor\quillEditor.component.css:71
throw new Error("Module build failed: Error: \"extract-text-webpack-plugin\" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example\n    at Object.pitch (E:\\Projects\\abc\\v1\\node_modules\\extract-text-webpack-plugin\\dist\\loader.js:57:11)");
^

Error: Module build failed: Error: "extract-text-webpack-plugin" loader is used without the corresponding plugin, refer to https://github.com/webpack/extract-text-webpack-plugin for the usage example
    at Object.pitch (E:\Projects\abc\v1\node_modules\extract-text-webpack-plugin\dist\loader.js:57:11)
    at Object.sVlT (E:\Projects\abc\v1\node_modules\ngx-quill-editor\quillEditor.component.css:71:7)
    at __webpack_require__ (E:\Projects\abc\v1\node_modules\ngx-quill-editor\quillEditor.component.css:20:30)
    at sVlT (E:\Projects\abc\v1\node_modules\ngx-quill-editor\quillEditor.component.css:63:18)
    at E:\Projects\abc\v1\node_modules\ngx-quill-editor\quillEditor.component.css:66:10
    at ContextifyScript.Script.runInContext (vm.js:35:29)
    at ContextifyScript.Script.runInNewContext (vm.js:41:15)
    at Object.runInNewContext (vm.js:93:38)
    at WebpackResourceLoader._evaluate (E:\Projects\abc\v1\node_modules\@ngtools\webpack\src\resource_loader.js:110:40)
    at Compilation.compilation.plugin (E:\Projects\abc\v1\node_modules\@ngtools\webpack\src\resource_loader.js:58:26)
    at Compilation.applyPluginsAsyncSeries (E:\Projects\abc\v1\node_modules\tapable\lib\Tapable.js:206:13)

I am facing this. Any help would be appreciated.

Property 'assign' does not exist on type 'ObjectConstructor'

Hi.

I've just downloaded your component and im trying to make it work. I've added the component to my appModule as explained in the ReadMe file, then i get this error:

../angular-seed/angular-webpack/node_modules/ng2-quill-editor/quillEditor.component.ts:81:57
Property 'assign' does not exist on type 'ObjectConstructor'.

i also get a bunch of other errors, like this one:
Uncaught Error: Expected 'styles' to be an array of strings.
at assertArrayOfStrings (eval at (http://localhost:8081/vendor.js:95:2)

Most of the errors occur in the vendor.ts file.

I had to set the "noImplicitAny": false to false to avoid a whole bunch of other errors regarding implicitly type any.

Is there any fix to these errors? Am i missing something?

I'm running with typescript version 2.0.10 - angular version ~2.2.0

Kind regards Chris

Cannot find name 'require'

ERROR in C:/Users/Mark/Documents/GitHub/quillTest/node_modules/ng2-quill-editor/quillEditor.component.ts (14,15): Cannot find name 'require'.)
C:/Users/Mark/Documents/GitHub/quillTest/node_modules/ng2-quill-editor/quillEditor.component.ts (23,5): Cannot find name 'require'.)
C:/Users/Mark/Documents/GitHub/quillTest/node_modules/ng2-quill-editor/quillEditor.component.ts (24,5): Cannot find name 'require'.)
C:/Users/Mark/Documents/GitHub/quillTest/node_modules/ng2-quill-editor/quillEditor.component.ts (25,5): Cannot find name 'require'.)

Any ideas what's happening here? I'm using Angular v4 Final

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.