-
-
Notifications
You must be signed in to change notification settings - Fork 419
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
[Feature Request]: Support for classes for LINKS in posts/pages editors #1675
Comments
I found I can target these links using the Link "title" attribute, so this is not a super high priority need for me. For those who want to use CSS and the "title" attribute to target a link for styling try the following:
`a[title="make_btn"] { /* Color and text styling */ /* Transition for smooth hover effect */ a[title="make_btn"]:hover { It looks like this: |
There is still a problem with the approach shown above. The tooltip for the link says "make_btn" which is less than optimal. So there is still a need to be able to add a class to style a link as a button. Thanks |
@bjazmoore - sounds like a good idea - I will add it in v.0.46.2 or in v.0.47 |
Thank you. |
Hi, Currently, you can use a small hack in the title field to speed up adding a class, but it can only be modified later through code:
A class field would be a great feature addition, as adding custom classes directly in the TinyMCE editor is a bit more tedious and less flexible. |
Feature Description
It would be nice to be able to give a class to links that are added to a page or post through the Insert/Edit link dialog. This would allow some links to be styled if desired (perhaps as a button) in the post/page. Ideally it would be an extra field on the Insert/Edit link dialog:
The text was updated successfully, but these errors were encountered: