Просмотр исходного кода

#1970 - Hashtag autosuggestion for existing (or popular) hashtags - Dark mode

RomanL 4 лет назад
Родитель
Сommit
dae5c64a07
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      inc/js/editor.quill.js

+ 2 - 0
inc/js/editor.quill.js

@@ -162,6 +162,8 @@ function bx_editor_init(oEditor, oParams){
                 showDenotationChar: true,
                 showDenotationChar: true,
                 blotName: 'menthion-link',
                 blotName: 'menthion-link',
                 mentionContainerClass: 'bx-popup bx-popup-trans bx-popup-border bx-popup-color-bg',
                 mentionContainerClass: 'bx-popup bx-popup-trans bx-popup-border bx-popup-color-bg',
+                mentionListClass: 'ql-mention-list bx-menu-ver',
+                listItemClass: 'bx-menu-item bx-def-color-bg-hl-hover',
                 source: function (searchTerm, renderList, mentionChar) {
                 source: function (searchTerm, renderList, mentionChar) {
                   $.getJSON(oParams.root_url + 'searchExtended.php?action=get_mention&', { symbol: mentionChar, term: searchTerm}, function(data){
                   $.getJSON(oParams.root_url + 'searchExtended.php?action=get_mention&', { symbol: mentionChar, term: searchTerm}, function(data){
                       renderList(data, searchTerm);
                       renderList(data, searchTerm);