diff --git a/install/package.json b/install/package.json index 4135924c4b..df9340b812 100644 --- a/install/package.json +++ b/install/package.json @@ -30,6 +30,9 @@ "dependencies": { "@adactive/bootstrap-tagsinput": "0.8.2", "@isaacs/ttlcache": "1.2.0", + "@textcomplete/contenteditable": "^0.1.12", + "@textcomplete/core": "^0.1.12", + "@textcomplete/textarea": "^0.1.12", "ace-builds": "1.9.5", "archiver": "5.3.1", "async": "3.2.4", @@ -129,8 +132,6 @@ "sortablejs": "1.15.0", "spdx-license-list": "6.6.0", "spider-detector": "2.0.0", - "textcomplete": "0.18.2", - "textcomplete.contenteditable": "0.1.1", "timeago": "1.6.7", "tinycon": "0.6.8", "toobusy-js": "0.5.1", diff --git a/public/less/generics.less b/public/less/generics.less index ec8b0c1adf..e05833758a 100644 --- a/public/less/generics.less +++ b/public/less/generics.less @@ -181,4 +181,29 @@ color: @gray-light; width: 100%; display: none; +} + +.textcomplete-dropdown { + border: 1px solid #ddd; + background-color: white; + list-style: none; + padding: 0; + margin: 0; + + li { + margin: 0; + } + + .textcomplete-footer, .textcomplete-item { + border-top: 1px solid #ddd; + } + + .textcomplete-item { + padding: 2px 5px; + cursor: pointer; + + &:hover, &.active { + background-color: rgb(110, 183, 219); + } + } } \ No newline at end of file