Implements the topics of pull request #58

This commit is contained in:
Rodolfo Berrios 2020-08-26 13:13:26 -04:00
parent 723bf68f7a
commit 2854bde512
2 changed files with 4 additions and 3 deletions

View file

@ -254,8 +254,9 @@
"BUTTON"
? ' <button %x type="button" class="button button-icon-only" title="%text"><i class="icon fa-cloud-upload fa-fw" aria-hidden="true"></i></button> '
: ' <input %x type="button" class="button2" value="%text"> ',
sibling: ".bbcode-img",
siblingPos: "before"
sibling: document.querySelector("#format-buttons *:first-child") && document.querySelector("#format-buttons *:first-child").tagName ==
"BUTTON" ? ".bbcode-img" : "#message-box textarea.inputbox",
siblingPos: "after"
},
check: "phpbb",
getEditor: function () {

File diff suppressed because one or more lines are too long