mrrohitkaushal / pagedown

Automatically exported from code.google.com/p/pagedown
Other
0 stars 0 forks source link

Patch for /Markdown.Editor.js #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Adds an optional second argument to linkEnteredCallback, allowing alt text to 
be specified instead of using the default.

The bracket-escaping is moved to the bottom of the function so it is applied to 
the alt text.

Original issue reported on code.google.com by jeremybanks.ca on 8 Feb 2012 at 6:11

Attachments:

GoogleCodeExporter commented 9 years ago
(I didn't realize that a patch suggestion was the same as an issue, or I'd have 
used a better title.)

I was working on a Stack Exchange user script and wanted to specify the alt 
text for an inserted image, but this isn't currently supported. This seemed 
like the most appropriate way to add it.

Original comment by jeremybanks.ca on 8 Feb 2012 at 6:17