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

Custom class for bbcode tag [url][/url] #5977

Closed
sshcli opened this issue Jun 5, 2018 · 1 comment
Closed

Custom class for bbcode tag [url][/url] #5977

sshcli opened this issue Jun 5, 2018 · 1 comment
Labels
Milestone

Comments

@sshcli
Copy link
Member

@sshcli sshcli commented Jun 5, 2018

Is your feature request related to a problem? Please describe.
Yes,
Because:

  1. You can't have specific styles for the URLs inside a topic.
  2. You can't use JS features targeted to the bbcode link because of the lack of a class or id
  3. Can't use other features like form popup, iframe, etc..

That's why, I'm requesting a single feature, and that single feature is the option to manually add a custom class to the URLs in the bbcode editor

Right now, it is not possible to add a class for a link in bbcode format:
The link is pretty simple, for example:
[url=https://example.com]Test Link[/url]

Describe the solution you'd like

I would like to see the option to add a custom class name in the link, for example:
[url=https://example.com class="customclassname"]Test Link[/url]

@xillibit xillibit added this to the 5.1.1 milestone Jun 5, 2018
@xillibit xillibit added enhance and removed feature labels Jun 5, 2018
@810 810 modified the milestones: 5.1.1, 5.1.2 Jun 22, 2018
@xillibit xillibit modified the milestones: 5.1.2, 5.1.3 Jul 15, 2018
810 added a commit that referenced this issue Jul 26, 2018
@810
Copy link
Member

@810 810 commented Jul 26, 2018

You need to use:
[url=https://example.com class=customclassname]Test Link[/url]

@810 810 closed this Jul 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.