-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[html] completions for src, link, href... #2037
Labels
Milestone
Comments
aeschli
changed the title
[html] suggestion for path choose
[html] completions for src, link, href...
Mar 24, 2016
This was referenced Oct 11, 2016
This was referenced Oct 3, 2017
Closed
This was referenced Feb 13, 2018
It should also work for 'action' attribute of 'form' tag. |
I've compiled a list // Selected from https://stackoverflow.com/a/2725168/1780148
const HTML_TAG_AND_ATTRIBUTE_WITH_URL_VALUE: { [tag: string]: string | string[] } = {
// HTML 4
a: 'href',
body: 'background',
del: 'cite',
form: 'action',
frame: ['src', 'longdesc'],
img: ['src', 'longdesc'],
ins: 'cite',
link: 'href',
object: 'data',
q: 'cite',
script: 'src',
// HTML 5
audio: 'src',
button: 'formaction',
command: 'icon',
embed: 'src',
html: 'manifest',
input: 'formaction',
source: 'src',
track: 'src',
video: ['src', 'poster']
}; |
aeschli
added
verification-needed
Verification of issue is requested
on-testplan
and removed
verification-needed
Verification of issue is requested
labels
Feb 27, 2018
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
add path choose window for img src、link href、script src、background-img src
The text was updated successfully, but these errors were encountered: