angular_quill 0.1.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 82

Angular Quill

An angular dart component for the Quill rich text editor

See it in action

Visit https://adamlofts.github.io/angular_quill_example/build/web/index.html

And view the corresponding example source code.

Usage

Add the dependency to pub:

dependencies:
  angular_quill:

Add the component to your template

<my-app>
    <quill
            [(ngModel)]="html"
            placeholder="Write something..."
            (blur)="blur()"
            (input)="input()"
    ></quill>
</my-app>

Add quillDirectives to the directives on your app component

@Component(
  selector: 'my-app',
  templateUrl: 'app_component.html',
  directives: const [COMMON_DIRECTIVES, quillDirectives],
)
class AppComponent {}

Include Quill JS and css files in your app html.

  <head>
    <script src="packages/angular_quill/quill-1.2.4/quill.min.js"></script>
    <link rel="stylesheet" href="packages/angular_quill/quill-1.2.4/quill.snow.css">
  </head>

Changelog

0.1.2

  • Fix type of off to fix crash when destroying component in DDC.
  • Dart fmt

0.1.1

  • Add build.yaml file so theme css files are included in build.

0.1.0

  • Upgrade to dart 2 and angular 5

0.0.6

  • Upgrade to angular 4.0.0

0.0.5

  • Update README

0.0.3

  • Split example out of main repo

0.0.1

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  angular_quill: ^0.1.2

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:angular_quill/angular_quill.dart';
  
Version Uploaded Documentation Archive
0.1.2 Aug 31, 2018 Go to the documentation of angular_quill 0.1.2 Download angular_quill 0.1.2 archive
0.1.1 Aug 24, 2018 Go to the documentation of angular_quill 0.1.1 Download angular_quill 0.1.1 archive
0.1.0 Aug 23, 2018 Go to the documentation of angular_quill 0.1.0 Download angular_quill 0.1.0 archive
0.0.6 Sep 5, 2017 Go to the documentation of angular_quill 0.0.6 Download angular_quill 0.0.6 archive
0.0.5 Jun 19, 2017 Go to the documentation of angular_quill 0.0.5 Download angular_quill 0.0.5 archive
0.0.4 Jun 19, 2017 Go to the documentation of angular_quill 0.0.4 Download angular_quill 0.0.4 archive
0.0.3 Jun 19, 2017 Go to the documentation of angular_quill 0.0.3 Download angular_quill 0.0.3 archive
0.0.2 Jun 19, 2017 Go to the documentation of angular_quill 0.0.2 Download angular_quill 0.0.2 archive
0.0.1 Jun 19, 2017 Go to the documentation of angular_quill 0.0.1 Download angular_quill 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
69
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
90
Overall:
Weighted score of the above. [more]
82
Learn more about scoring.

We analyzed this package on Oct 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.12.4

Platforms

Detected platforms: web

Primary library: package:angular_quill/angular_quill.dart with components: html, js.

Health suggestions

Fix lib/src/quill/quill.dart. (-0.50 points)

Analysis of lib/src/quill/quill.dart reported 1 hint:

line 82 col 16: Name types using UpperCamelCase.

Maintenance suggestions

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use angular_quill.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0 <3.0.0
angular ^5.0.0 5.0.0
angular_forms ^2.0.0 2.0.0
js ^0.6.1+1 0.6.1+1
Transitive dependencies
analyzer 0.32.6 0.33.0
angular_ast 0.5.6
angular_compiler 0.4.0
args 1.5.0
async 2.0.8
build 0.12.8 1.0.1
build_config 0.3.1+3
built_collection 4.0.0
built_value 6.1.4
charcode 1.1.2
code_builder 3.1.3
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.6
dart_style 1.1.3 1.2.0
fixnum 0.10.8
front_end 0.1.4+2 0.1.6
glob 1.1.7
html 0.13.3+3
intl 0.15.7
json_annotation 1.2.0
kernel 0.3.4+2 0.3.6
logging 0.11.3+2
matcher 0.12.4
meta 1.1.6
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
pub_semver 1.4.2
pubspec_parse 0.1.2+2
quiver 2.0.0+1
source_gen 0.9.1+3
source_span 1.4.1
stack_trace 1.9.3
string_scanner 1.0.4
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15