From 346302c4cb38951e0b792c1de7525e8fa42ca860 Mon Sep 17 00:00:00 2001 From: mishavp2001 Date: Wed, 4 Feb 2015 14:20:53 -0800 Subject: [PATCH 1/3] Update angular-wysiwyg.js Added contenteditable --- angular-wysiwyg.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 + }); From 79f2ab43ed4f91000a1f0ea05960ffcf7247b1b8 Mon Sep 17 00:00:00 2001 From: mishavp2001 Date: Wed, 4 Feb 2015 14:22:14 -0800 Subject: [PATCH 2/3] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) 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 From 581c686068585fad06f326115840752026e15eb0 Mon Sep 17 00:00:00 2001 From: mishavp2001 Date: Wed, 4 Feb 2015 14:26:45 -0800 Subject: [PATCH 3/3] Update bower.json --- bower.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",