diff options
author | Mario <mario@mariovavti.com> | 2021-09-07 07:32:49 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-09-07 07:33:36 +0000 |
commit | 60843605889fa9d590ce6c4adc0f3f03f23a55fe (patch) | |
tree | c9428bda822d8f57122e3e9c8d1432e4f7ea96a5 /view | |
parent | 0f54b26e9d458c0c12cd3cbdb609e439eb9e3812 (diff) | |
download | volse-hubzilla-60843605889fa9d590ce6c4adc0f3f03f23a55fe.tar.gz volse-hubzilla-60843605889fa9d590ce6c4adc0f3f03f23a55fe.tar.bz2 volse-hubzilla-60843605889fa9d590ce6c4adc0f3f03f23a55fe.zip |
deprecate the custom highlight [hl] bbcode in favor of [mark] which is a html5 standard
Diffstat (limited to 'view')
-rw-r--r-- | view/css/bootstrap-red.css | 4 | ||||
-rw-r--r-- | view/js/autocomplete.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 0e4b0e8e6..9f03d1b12 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -80,3 +80,7 @@ label { a { text-decoration: none !important; } + +.mark { + background-color: yellow; +} diff --git a/view/js/autocomplete.js b/view/js/autocomplete.js index 596dc7076..d6893073d 100644 --- a/view/js/autocomplete.js +++ b/view/js/autocomplete.js @@ -360,7 +360,7 @@ function string2bb(element) { return; if(type=='bbcode') { - var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'question', 'answer', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'observer.language','embed', 'highlight', 'url', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']; + var open_close_elements = ['bold', 'italic', 'underline', 'overline', 'strike', 'superscript', 'subscript', 'quote', 'code', 'open', 'spoiler', 'map', 'nobb', 'list', 'checklist', 'question', 'answer', 'ul', 'ol', 'dl', 'li', 'table', 'tr', 'th', 'td', 'center', 'color', 'font', 'size', 'zrl', 'zmg', 'rpost', 'qr', 'observer', 'observer.language','embed', 'mark', 'url', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6']; var open_elements = ['observer.baseurl', 'observer.address', 'observer.photo', 'observer.name', 'observer.webname', 'observer.url', '*', 'hr' ]; var elements = open_close_elements.concat(open_elements); |