Last modified: 2012-11-03 09:27:44 UTC
Currently it's impossible to insert a button with a data-URL as icon into the toolbar. Could you change the autoIcon function such that the path isn't prepended to URLs starting with "data:"? Thanks.
Keep in mind that data URLs are not universally supported: of the browsers supported by WikiEditor, they break in IE7.
Right, you would need to support providing a data-URL+file-URL... Seems like it's possible to do, but strange.
(In reply to comment #1) > Keep in mind that data URLs are not universally supported: of the browsers > supported by WikiEditor, they break in IE7. If data-URL were only used in personal user scripts this wouldn't be a problem. If a user uses IE7 and puts some code in his vector.js that inserts a toolbar button with a data-URL, it's his own fault.
Well sure, but toolbar icons would more typically be added through site JS, and people like to copy others' user JS.
Unassigning default assignments. http://article.gmane.org/gmane.science.linguistics.wikipedia.technical/54734