• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Extra paragraph markers in copied text

New Here ,
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

Many of our WebHelp topics contain code that users can copy and paste into a text editor. However, we've noticed with the move from Winhelp to WebHelp that extra paragraph markers are being added between lines of code when the code is copied. This is not a big deal when users are copying a couple lines of code, but it is a huge problem when users are copying large amounts of code.

Is there any way to eliminate these extra paragraph markers when text is copied?

Views

305

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

Try a multi line text field.

Insert | Form Element | Multi Line Text Field.

You can also tweak that so that when the user clicks in the text field, the text is automatically copied to the clipboard. I don't have the code to hand but post back if you want that.

This way the text is completely unformatted and ready to go. You don't have to display all the text if you don't want to. Using the tweak or Ctrl + A, all the text in the field is copied even though it is not displayed. Can make things neater.

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 26, 2007 Feb 26, 2007

Copy link to clipboard

Copied

LATEST
I do have the code.

The beginning of the text field code will start something like

<textarea name="textarea"

Add with just a space after "textarea"

onFocus="select()"

Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
RoboHelp Documentation
Download Adobe RoboHelp