Skip to content

Commit

Permalink
Merge pull request #65 from patou/insert-link
Browse files Browse the repository at this point in the history
Insert Link option in summernotes.
  • Loading branch information
patou authored Apr 12, 2018
2 parents 2da2e81 + 38cb313 commit 7f76252
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 4 additions & 2 deletions liste-envies-war/src/main/webapp/js/controllers/listCtrl.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ function ListCtrl(wishService, appUserService, wishListService, $routeParams, $l
placeholder: "Ajouter une description",
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear', 'color', 'fontsize']],
['para', ['ul', 'ol', 'paragraph']]
['para', ['ul', 'ol', 'paragraph']],
['insert', ['link', 'picture']]
],
popover: {
image: [
Expand All @@ -30,7 +31,8 @@ function ListCtrl(wishService, appUserService, wishListService, $routeParams, $l
],
air: [
['style', ['bold', 'italic', 'underline', 'clear', 'color', 'fontsize']],
['para', ['ul', 'ol', 'paragraph']]
['para', ['ul', 'ol', 'paragraph']],
['insert', ['link', 'picture']]
]
},
height: 200
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ function WishListSettings(WishListTypePicture) {
placeholder: "Ajouter une description",
toolbar: [
['style', ['bold', 'italic', 'underline', 'clear', 'color', 'fontsize']],
['para', ['ul', 'ol', 'paragraph']]
['para', ['ul', 'ol', 'paragraph']],
['insert', ['link', 'picture']]
],
popover: {
image: [
Expand All @@ -36,7 +37,8 @@ function WishListSettings(WishListTypePicture) {
],
air: [
['style', ['bold', 'italic', 'underline', 'clear', 'color', 'fontsize']],
['para', ['ul', 'ol', 'paragraph']]
['para', ['ul', 'ol', 'paragraph']],
['insert', ['link', 'picture']]
]
},
height: 100
Expand Down

0 comments on commit 7f76252

Please sign in to comment.