Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

4.0.0

Compare
Choose a tag to compare
@KillerCodeMonkey KillerCodeMonkey released this 02 Dec 11:04

Breaking

  • placeholder attibute is now a one-way binding

before

<ng-quill-editor placeholder="my new placeholder"></ng-quill-editor>

after

<ng-quill-editor placeholder="'my new placeholder'"></ng-quill-editor>
  • ngSanitize is new peerDependency
  • angular and quill are now peerDependencies -> you have to install them on your own

Feature

  • placeholder is one time binding - you can dynamically update your placeholders
  • added json format, so you model can be a json string
  • sanitize attibrute - if you want to sanitize your model (if format is html) pass this attribute with true
  • styles attribute - allow do dynamically pass and change your inline styles for the editor element

Others

  • add missing and new tests -> increase coverage