Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Remove CSS formatting from my code blocks.

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #195489
    ckubs
    Participant

    After a month journey or so on Joomla switched back to WordPress and tried to replicate at least partially what I had there.

    So, for example, on the add comments box I managed to add some coment edit buttons with Quicktags( Bold, link, quote …etc) like CSS-Tricks had a while back.

    Now I have one problem. How to make the outputted code blocks with “<“code”>” “</”code”>” to use raw text and the elements inside the pasted code to not acquire my theme CSS?

    I thought I need some Javascript for that so that’s why I posted my problem here. If not excuse me and thanks for any help.

    #195501
    ckubs
    Participant

    Ok, in the mantime a fount out what is all about. I need an code higlighter/ code preserver script. Now, everything works.

    I guess the problem is solved.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.