S
SamIO
Guest
Before I start, let me show what I'm talking about before I start wading through a swamp of confusion:
As you can see, the styling (and selection of icons) is fairly limited.
For those of you who don't know, these icons are actually part of a CSS project called Font Awesome which includes hundreds of web-friendly iconoglyphs (kind of like Wingdings).
@Diana's implementation of these gives us access to a few of these with bbCode, but [font="FontAwesome"] and [div="font-family: 'FontAwesome';"] do not work for reasons which essentially boil down to it doesn't work that way (as it is now).
I'm curious if there's an option that would allow us to use the full list of these icons in ways not currently accessible. I think the most user-friendly feature would look like [icon]exclamation-triangle[/icon]. The idea is that an author would write this as inline bbCode, and that the ensuing would simply inherit the style of the content it's sitting with. The bbCode end of this would look like your typical [class] tag, except that since those are usually disabled for security reasons, this new tag would only accept content from a pre-specified list (namely the Font Awesome classes).
A solution that I think would be easier to implement would look like [icon]f071[/icon], which essentially does the same thing but without potential security issues should the option of allowing a pre-specified list of content only be impossible. The idea here is that the bbParser treats this basically the same as [font="FontAwesome"]uf071[/font].
So, how's this look?
#FF0
[question=#0F0][roleplay=#00F]And so on.[/roleplay][/question]
As you can see, the styling (and selection of icons) is fairly limited.
For those of you who don't know, these icons are actually part of a CSS project called Font Awesome which includes hundreds of web-friendly iconoglyphs (kind of like Wingdings).
@Diana's implementation of these gives us access to a few of these with bbCode, but [font="FontAwesome"] and [div="font-family: 'FontAwesome';"] do not work for reasons which essentially boil down to it doesn't work that way (as it is now).
I'm curious if there's an option that would allow us to use the full list of these icons in ways not currently accessible. I think the most user-friendly feature would look like [icon]exclamation-triangle[/icon]. The idea is that an author would write this as inline bbCode, and that the ensuing would simply inherit the style of the content it's sitting with. The bbCode end of this would look like your typical [class] tag, except that since those are usually disabled for security reasons, this new tag would only accept content from a pre-specified list (namely the Font Awesome classes).
A solution that I think would be easier to implement would look like [icon]f071[/icon], which essentially does the same thing but without potential security issues should the option of allowing a pre-specified list of content only be impossible. The idea here is that the bbParser treats this basically the same as [font="FontAwesome"]uf071[/font].
So, how's this look?
Last edited by a moderator: