Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Font style in div still affected by previous tag
Message
De
25/01/2016 07:17:24
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/01/2016 16:36:24
Information générale
Forum:
HTML5
Catégorie:
HTML
Divers
Thread ID:
01630054
Message ID:
01630193
Vues:
46
>>What I had in mind is to use something like
>>
outer text <span class="italic">text text text</span> more outer text
>>instead of the I tag, and similarly for other tags. Nothing changes in the interpretation of older text, just these classes (defined somewhere in your .css) would apply to text formatted using these buttons in new messages.
>
>Well, the same thing applies here. If the user would only put the starting tag and not the closing tag, we would end up in the same situation. Also, this would force the user to use a specific syntax. And, then, I would still have to validate all this.

Ah, but in all these cases the user doesn't see the syntax at all - the user selects a piece of text, clicks the button and the tag is applied to the text, and it's immediately rendered in HTML; tags are not visible at all. Only for those who are so inclined, some html source editing is still available but then the user is left with whatever they made - if it's unreadable, or won't display properly, they can only blame themselves. And that's how it works on practically any forum today.

I know that what we have here is a plain old textarea and what I'm describing is html editing, which is conceptually different in several ways. Mentioned this just because I thought it would be a cool feature to have, new or unaccustomed users would have an intuitive interface (i.e. what they're already used to) and you wouldn't have much work to do, as the code for it is widely available in various open source platforms.

Just something on my wish list, with very low priority.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform