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

Commit 5b3decf

Browse files
feat(): custom toolbar position
1 parent f650324 commit 5b3decf

File tree

7 files changed

+110
-168
lines changed

7 files changed

+110
-168
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ Recommended Usage
7878
</ng-quill-toolbar>
7979
</ng-quill-editor>
8080
```
81+
- customToolbarPosition - if you are working with a custom toolbar you can switch the position :). - default: `top`, possible values `top`, `bottom`
8182

8283
**[Full Quill Toolbar HTML](https://github.com/quilljs/quill/blob/f75ff2973f068c3db44f949915eb8a74faf162a8/docs/_includes/full-toolbar.html)**
8384

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngQuill",
3-
"version": "4.0.1",
3+
"version": "4.1.0",
44
"main": ["src/ng-quill.js"],
55
"description": "AngularJS directive for the QuillJS rich text editor",
66
"authors": [
@@ -15,7 +15,7 @@
1515
"Gruntfile.js"
1616
],
1717
"dependencies": {
18-
"quill": "^1.1.5",
18+
"quill": "^1.3.6",
1919
"angular": "^1.5.8"
2020
},
2121
"keywords": [

demo.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,11 @@ <h3>Set Styles</h3>
138138
<button ng-click="backgroundColor = backgroundColor ? '' : 'gray'">toggle Backgroundcolor</button>
139139
<ng-quill-editor ng-model="title" styles="{backgroundColor: backgroundColor}"></ng-quill-editor>
140140

141-
<h3>ng-quill - custom toolbar</h3>
141+
<h3>ng-quill - custom toolbar (position: bottom)</h3>
142142
<ng-quill-editor
143143
ng-model="title"
144144
placeholder="''"
145+
custom-toolbar-position="bottom"
145146
>
146147
<ng-quill-toolbar>
147148
<div id="ng-quill-toolbar">

demoamd.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,10 @@ <h3>Editor without toolbar + required and ngModule</h3>
9292
form invalid?: {{form.$invalid}}
9393
</form>
9494

95-
<h3>ng-quill - custom toolbar</h3>
95+
<h3>ng-quill - custom toolbar (position: bottom)</h3>
9696
<ng-quill-editor
9797
ng-model="title"
98+
custom-toolbar-position="bottom"
9899
>
99100
<ng-quill-toolbar>
100101
<div id="ng-quill-toolbar">

0 commit comments

Comments
 (0)