Skip to main content
Inspiring
March 26, 2024
Question

Strange code added to beginning of topic in RoboHelp 2022

  • March 26, 2024
  • 5 replies
  • 817 views

Has anyone found strange code like the following being added to the beginning of a topic in RoboHelp 2022? I cannot pinpoint when this happens, but I notice it when I try to generate a word doc with the topic because it generates an error.  I have seen this at least three of four times since upgrade. I am most definintely not adding this code myself and I can verify that it was added since my last edit (also in RoboHelp 2022) by looking at git.

 

<p><span><span contenteditable="false" style="height: 0px; padding: 0px; margin: 0px; display: block; z-index: 9999; color: rgb(255, 255, 255); font-size: 0px; line-height: 0px; position: absolute; border-top: 1px dashed rgb(0, 116, 217); user-select: none; left: 0px; right: 0px; top: 439px;"><span style="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;border-color:transparent;display:block;border-style:solid;right:0px;border-right-color:#0074D9;border-width:8px 8px 8px 0;top:-8px"> </span><span style="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;border-color:transparent;display:block;border-style:solid;left:0px;border-left-color:#0074D9;border-width:8px 0 8px 8px;top:-8px"> </span><span contenteditable="false" style="width:0px;height:0px;padding:0px;margin:0px;display:block;z-index:9999;color:#fff;position:absolute;font-size: 0px;line-height:0px;height:17px;width:17px;right:17px;background:url(file:///C:/Program%20Files/Adobe/Adobe%20RoboHelp/resources/app.asar/staging/offline_app/ckeditor/plugins/magicline/images/icon.png) center no-repeat #0074D9;cursor:pointer;top:-8px; border-radius: 2px;" title="Insert paragraph here">↵</span></span></span></p>

    This topic has been closed for replies.

    5 replies

    Community Expert
    March 26, 2024

    Here we go, a few examples of this code getting into the source code but no idea how.

     

    https://community.adobe.com/t5/robohelp-discussions/blue-arrows-blue-line-and-a-blue-box-is-appearing-in-the-pdf/m-p/14130978

     

    I think this needs to be raised as a bug so Adobe can figure out what is going on.

     

    You can request features and report issues here: https://tracker.adobe.com/
    Post the item number in the discussion so people can easily vote if they want the same functionality.

    Community Expert
    March 26, 2024

    Actually, this bit sounds like the blue bar and little icon that shows when you're inside some block elements and you need to create a paragraph outside that element. Like for snippets? I forget exactly where they appear. 

     

     title="Insert paragraph here">↵

     

    And I think I have heard of that getting into topics before. But I don't think we ever got a resolution or could reliably reproduce the problem.

     

    Community Expert
    March 26, 2024

    Very early on when RH2019 was released I managed to drag the user interface into my topics. It was quickly fixed, but I wonder if something has been broken since and some icons are possible to accidentally drag in now?

     

    I'm wondering because ckeditor (in the file path) is a wysiwyg html editor...

    Peter Grainge
    Community Expert
    Community Expert
    March 26, 2024

    Sorry if these points have been covered. 

    • RoboHelp is installed in the default location? 
    • You are generating to the same drive as the project? 
    • You have tried with project and output on your local drive? 
    • You've checked out a fresh copy of the source? 
    • Before generating use Find & Replace set to Search in Code for any part of that code. Do this straight after checking a fresh copy. 

    ________________________________________________________
    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Peter Grainge
    Community Expert
    Community Expert
    March 26, 2024

    You are saying that code is not in the source topic but getting added when you generate, correct?

     

    The bit in that code that is worrying is this

    url(file:///C:/Program%20Files/Adobe/Adobe%20RoboHelp/resources/app.asar/staging/offline_app/ckeditor/plugins/magicline/images/icon.png

     

    That suggests something is pointing to RoboHelp in Program Files. Is that an image in a topic?

    ________________________________________________________

    My site www.grainge.org includes many free Authoring and RoboHelp resources that may be of help.

     

    Use menu (bottom right) to mark as Best Answer or to Highlight particularly useful replies. Found the answer elsewhere? Share it here.
    Inspiring
    March 26, 2024

    I don't know whether the code was added when I attempted to generate or when I edited the topic. It is in the source but I didn't add it. I saw it a few times when upgrading from RoboHelp 2020 to RoboHelp 2022 and I don't know if it was added during the upgrade or when editing a file after (I went in and edited heading levels of all my topics as part of the upgrade process). I noticed it because a Word doc would fail to generate. Then I narrowed down on the topic causing the issue, found the code at the top,  deleted it, and then the doc generated OK.

    At first I thought it was caused by the upgrade process, but in this last instance, it happened in project that was already upgraded to RoboHelp 2022 I was just making some simple edits.

    Jeff_Coatsworth
    Community Expert
    Community Expert
    March 26, 2024

    Hang on - is the code in the source RH project topics or in the output?