Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
flyacts GmbH committed Nov 3, 2014
0 parents commit 03ece0a
Show file tree
Hide file tree
Showing 9 changed files with 469 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
*.swp
bower_components
.DS_Store
node_modules
18 changes: 18 additions & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
module.exports = function (grunt) {

// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
my_target: {
files: {
"src/ng-quill.min.js": "src/ng-quill.js"
}
}
}
});

grunt.loadNpmTasks('grunt-contrib-uglify');

grunt.registerTask('default', ['uglify']);
};
24 changes: 24 additions & 0 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
The MIT License (MIT)

Copyright (c) 2014 Bengt Weiße other contributors

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# ngQuill

ngQuickDate is an [Angular.js](http://angularjs.org/) directive for Quilll rich text editor.
17 changes: 17 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "ngQuill",
"version": "0.1",
"main": ["src/ng-quill.js"],
"ignore": [
"bower_components",
"node_modules",
"spec",
"src",
"package.json",
"Gruntfile.js"
],
"dependencies": {
"quill": "~0.18.1",
"angularjs": "~1.3.1"
}
}
29 changes: 29 additions & 0 deletions demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<html ng-app="quillTest">
<head>
<title>Quill Test</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta charset="utf-8">

<!-- Style -->
<link rel="stylesheet" href="bower_components/quill/dist/quill.snow.css">
<style>
.input-error {
border: 2px dashed red;
}
</style>

<!-- Scripts -->
<script type="text/javascript" src="bower_components/quill/dist/quill.min.js"></script>
<script type="text/javascript" src="bower_components/angularjs/angular.min.js"></script>
<script type="text/javascript" src="src/ng-quill.min.js"></script>
<script>
// declare a module and load quillModule
var myAppModule = angular.module('quillTest', ['ngQuill']);
</script>

<body>
<div style="width: 500px; height: 300px;">
<ng-quill-editor ng-model="message" toolbar="true" link-tooltip="true" image-tooltip="true" toolbar-entries="font size bold list bullet italic underline strike align color background link image" editor-required="true" required="" error-class="input-error"></ng-quill-editor>
</div>
</body>
</html>
28 changes: 28 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "ngQuill",
"description": "Angular directive for rich text editor Quill",
"author": "Bnegt Weiße <[email protected]>",
"homepage": "https://github.com/KillerCodeMonkey/ngQuill",
"devDependencies": {
"grunt": "~0.4.3",
"grunt-contrib-uglify": "~0.6.0"
},
"engines": {
"node": ">=0.10"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/KillerCodeMonkey/ngQuill"
},
"bugs": {
"url": "https://github.com/KillerCodeMonkey/ngQuill/issues"
},
"keywords": [
"editor",
"rich text",
"wysiwyg",
"angular",
"directive"
]
}
Loading

0 comments on commit 03ece0a

Please sign in to comment.