Page 1 of 1

Copy&Paste in seperate editor

Posted: Tue Jun 01, 2021 11:02 pm
by olle
I have a problem with copy & paste. When I paste the selected part to an editor, only parts of it gets pasted. The parameter names (these are snippets) and the image (when the image name would be pasted, would be great) are missing. Is there any solution, that these can be copied/Pasted, too?

Image

Selected stuf pasted in a seperate editor:

Image

Re: Copy&Paste in seperate editor

Posted: Wed Jun 02, 2021 6:32 am
by ChoccieMuffin
It's doing exactly what you asked it - if you look at the code behind an extract that contains an image or snippet, it'll just contain a link to the image or snippet, not the content of it.

It depends on how often you need to do this or how big your chunks of work are. If you generate a Word target and copy from the Word doc that'd give you the snippet contents and the graphics but that might be overkill, only you will know if that's too much to deal with.

Re: Copy&Paste in seperate editor

Posted: Wed Jun 02, 2021 2:35 pm
by robdocsmith
If you want a quick and dirty grab of the content (snippets excluded), you could just drag the .htm content file into a browser. You'll be able to copy/paste the images from there, but snippets won't be recognised and displayed in your browser.

If you've previously generated a target from the files, you can see the pre-built output in the Project/Output/Username/Temporary/Target/ folder. If you drag one of these FilenameRefNumber.htm files into a browser you can see all the content of the page and copy/paste from that. Might save having to do a Word build specifically if all you want is the text/images/variables/snippets for a particular target.

Cheers,

Rob

Re: Copy&Paste in seperate editor

Posted: Thu Jun 03, 2021 8:54 pm
by doloremipsum
I think the easiest way to do that would be to use the topic preview window, which should resolve all of the variables and snippets for just that topic (quicker than building output).

Re: Copy&Paste in seperate editor

Posted: Tue Jun 15, 2021 1:01 am
by olle
doloremipsum wrote:I think the easiest way to do that would be to use the topic preview window, which should resolve all of the variables and snippets for just that topic (quicker than building output).
I think, this is the easiest solution.
Thanks, guys!

Cheers
oli