Skip to content
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

execCommand('underline') on links #114

Open
caub opened this issue Feb 19, 2016 · 3 comments
Open

execCommand('underline') on links #114

caub opened this issue Feb 19, 2016 · 3 comments

Comments

@caub
Copy link
Contributor

caub commented Feb 19, 2016

Chrome had this behaviour where links couldn't be un-underlined, Firefox can force their css.

What is the status on this? I think FF has a good approach

@johanneswilm
Copy link
Contributor

I assume this comment is related to the contentEditable=True spec, correct @cauburtin? Could you make a more concrete proposal of what you would like to see done? Otherwise, if it's meant to be a more general point of discussion, you may get more feedback by mentioning it on the mailing list.

@caub
Copy link
Contributor Author

caub commented Apr 8, 2016

In a contentEditable true element, I'd like to be able to execute the underline command on <a href="/foo">bar</a> (it would toggle the text-transform:underline property) (it works only on Firefox)

But I see that execCommand has no spec, and this isn't so important, so I don't know.

@johanneswilm
Copy link
Contributor

@cauburtin: Actually, execCommand does have a spec. I have moved the issue to that. But be aware of the notice at the top of the spec which specifies the limitations of it (and that it may not be a good idea to invest any time into it right now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants