0

Using code in creating articles

Hi,

How do I create an article using code?  I used the { } symbol and pasted my HTML code into the box.  I saved it as a draft, but it did not produce an article for me. I looked for information related to adding code and did not find an answer.  Thank you for your help.

6 replies

null
    • Forumbee
    • 9 days ago
    • Reported - view

    Hi  , thanks for your question!

    The { } button is used to insert a code snippet into the article, so the code displays for readers to see. It will not turn the HTML into article content.

    To build the article using HTML, click the < > button in the editor to enter Source HTML mode. You can paste your HTML there, then click the < > button again to switch back to the normal editor.

    If you continue to have trouble, please reach out to us at support@forumbee.com and we’d be happy to help review the HTML.

      • Chris_Meister
      • 8 days ago
      • Reported - view

       Thank you so much! It worked, but removed my hyperlinks and the lines around my Table.  Is this normal?  

      • Forumbee
      • 8 days ago
      • Reported - view

       Glad that helped!

      Yes, that can be normal in some cases. When HTML is pasted into the editor, some elements like hyperlinks, table borders, or other styling may change depending on how the HTML is written and what CSS styling is applied in the place where it was originally created versus the styling in your Help Center.

      We’d be happy to take a closer look and help troubleshoot. Please send the HTML you’re using to support@forumbee.com and we can review it with you.

      • Chris_Meister
      • 8 days ago
      • Reported - view

       That would be great.  I attached the code. and the article before the code.  Thank you so much.

      • Forumbee
      • 8 days ago
      • Reported - view

       Thanks for sending those over.

      A couple of things stand out. The HTML includes a lot of non-breaking spaces, which can affect text wrapping, and the Troubleshooting section is not built as a true HTML table, so borders may not appear as expected. 

      We also noticed that some of the hyperlinks appear to point to Google Docs, so you will likely want to update those in the Forumbee editor to the final links you want to use.

      If you are generating the HTML from Word, Google Docs, or another document editor, that process can sometimes introduce formatting that does not translate cleanly into HTML. One thing that may help is to paste the HTML into Source mode, then click the Source mode icon again to return to the editor before saving. That can help with reviewing how the content is rendering before you publish.

      For tables, another option is to copy the table directly from Word and paste it into the editor in visual mode instead of using HTML. Word tends to work better for this. Google Docs tables are less reliable when pasted and may lose the title row or come through as paragraphs instead.

      After pasting, we recommend reviewing the formatting and updating any links directly in the editor.

    • Chris_Meister
    • 7 days ago
    • Reported - view

    I appreciate all the suggestions!  

Content aside

  • Status Answered
  • 7 days agoLast active
  • 6Replies
  • 10Views
  • 2 Following