Announcement

Collapse
No announcement yet.

Strikethrough BBCODE

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • panzerscope
    replied
    That is perfect ! Thanks for your help

    Leave a comment:


  • Mark.B
    replied
    Like this (see attachment).

    Demo: https://www.talknewsuk.com/forum/mis...kethrough-test
    Attached Files

    Leave a comment:


  • panzerscope
    replied
    Hmm, think I need some hand holding, I tried that but still no joy. Please see screenshot attached of my BBCODE Manager

    Click image for larger version

Name:	Strikthrough.jpg
Views:	57
Size:	51.2 KB
ID:	4417079

    Attached Files
    Last edited by panzerscope; Tue 18th Jun '19, 12:05pm.

    Leave a comment:


  • Wayne Luke
    replied
    Instead of a span why don't you just use the <s> or <del> tag? That is what is being used on this site.

    Code:
    <s>{param}</s>
    And yes, the <s> tag is perfectly valid in HTML5. Though <del> might be more appropriate if you want to be semantic.

    https://developer.mozilla.org/en-US/...HTML/Element/s

    Leave a comment:


  • panzerscope
    replied
    Oh, I can see it works on this site on Example, not on mine oddly, I can only assume you are using a different replacement code. Mind sharing ?

    Leave a comment:


  • panzerscope
    started a topic Strikethrough BBCODE

    Strikethrough BBCODE

    Hey guys,

    So I am wanting to create a Strikethrough BBCODE as it does not come natively with CKE. However I have tried many various BBCODE variations to get it to function without any luck, I can only assume something has changed on VB5 from back in the day. I am trying the below in my BBCODE manager as it seemed the most popular choice when searching the net.

    Title: Strikethrough
    Tag: Strike
    Replacement: <span style="text-decoration: line-through;">{param}</span>
    Example: {strikethrough text}

    Any suggestions on how to get this working ? I am using VB5.5.2

    Cheers
    P

Related Topics

Collapse

Working...
X