Issue 11880: Provide "alt" description from uploaded file
This commit is contained in:
parent
e1bf708552
commit
4d39ec8b63
5 changed files with 6 additions and 5 deletions
|
@ -85,7 +85,7 @@ var FileBrowser = {
|
|||
|
||||
var embed = "";
|
||||
if (FileBrowser.type == "image") {
|
||||
embed = "[url="+this.dataset.link+"][img="+this.dataset.img+"][/img][/url]";
|
||||
embed = "[url="+this.dataset.link+"][img="+this.dataset.img+"]"+this.dataset.alt+"[/img][/url]";
|
||||
}
|
||||
if (FileBrowser.type=="file") {
|
||||
// attachment links are "baseurl/attach/id"; we need id
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue