diff --git a/README.md b/README.md index 4b33da1..01fb008 100644 --- a/README.md +++ b/README.md @@ -40,6 +40,7 @@ Option|Description **ng-model** | REQUIRED - The angular data model **textarea-id** | The id to assign to the editable div **textarea-class** | The class(es) to assign to the the editable div +**contenteditable | Disable content editing **textarea-height** | If the height is not specified in a text-area class then the hight of the editable div (default: 80px) **textarea-name** | The name attribute of the editable div **textarea-required**| True/False HTML/AngularJS required validation diff --git a/angular-wysiwyg.js b/angular-wysiwyg.js index ae5d79e..b8daeba 100644 --- a/angular-wysiwyg.js +++ b/angular-wysiwyg.js @@ -28,6 +28,7 @@ angular.module('wysiwyg.module', ['colorpicker.module']) textareaName: '@textareaName', textareaPlaceholder: '@textareaPlaceholder', textareaClass: '@textareaClass', + contenteditable: '@contenteditable', textareaRequired: '@textareaRequired', textareaId: '@textareaId', textareaMenu: '@textareaMenu' @@ -254,7 +255,7 @@ angular.module('wysiwyg.module', ['colorpicker.module']) } var getMenuTextArea = function() { - return '
'; + return '
'; } var getMenuGroup = function() { @@ -376,4 +377,4 @@ angular.module('wysiwyg.module', ['colorpicker.module']) createMenu: createMenu } - }); \ No newline at end of file + }); diff --git a/bower.json b/bower.json index d3cfee7..379c9ff 100644 --- a/bower.json +++ b/bower.json @@ -3,7 +3,7 @@ "name": "angular-wysiwyg", "description": "Angular WYSIWYG", "version": "1.1.6", - "homepage": "https://github.com/TerryMooreII/angular-wysiwyg", + "homepage": "https://github.com/mishavp2001/angular-wysiwyg.git", "main": "./angular-wysiwyg.js", "dependencies": { "angular": ">= 1.0.0",