Skip to main content
November 17, 2011
Answered

Copy code from pasteBin to forum editor

  • November 17, 2011
  • 2 replies
  • 3712 views

What do I have to do in pasteBin to properly display code in the forum editor?  Thank you.

    This topic has been closed for replies.
    Correct answer -__cfSearching__-

    If you are using pastebin, just post the url for your code snippet.

    To post code in this forum, select "Use Advanced Editor". Enter your code and select it. Then

        - Click Insert ie arrows ">>" (next to yellow emoticon)

        - Syntax Highlighting

       <cffunction name="foo" output="false" returnType="string">

          <cfargument name="bar" required="true">

          <cfreturn "result"& arguments.bar>

       </cffunction>

    2 replies

    Inspiring
    November 17, 2011

    Out of curiousity, since you are the only one who is having the forum software strip out code, how are you accessing this site?  I have always used a Windows PC with either IE or Firefox and have never experienced a problem.  I also see code posted by other people, so they don't have a problem either.

    Inspiring
    November 18, 2011

    They are not the only one. I have seen it happen to others before. Though I am not sure what sequence of events triggers it. Replying via email usually causes it too ... due to a security "feature".

     

    -Leigh

    -__cfSearching__-Correct answer
    Inspiring
    November 17, 2011

    If you are using pastebin, just post the url for your code snippet.

    To post code in this forum, select "Use Advanced Editor". Enter your code and select it. Then

        - Click Insert ie arrows ">>" (next to yellow emoticon)

        - Syntax Highlighting

       <cffunction name="foo" output="false" returnType="string">

          <cfargument name="bar" required="true">

          <cfreturn "result"& arguments.bar>

       </cffunction>

    November 17, 2011

    Thank you!!