Hi
I use a snippet to put placeholders in my test where I want to insert image. It is defined like this:
<?xml version="1.0" encoding="utf-8"?>
<html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="37" MadCap:lastWidth="718">
<head />
<p class="tbd">TBDIMG</p>
</html>
and looks like this in the XML Editor
The yellow background is done by the "tbd" class
I have two problems
1) I can't get Flare to insert the snippet as a snippetBlock - it always comes out as snippetText (so the yellow formating is lost)
The instructions say I cna drag the xnippet from the Content tree to an "empt line"
what is an empty line in the XML Editor - a line with a <p> ? How do I create an empty line ?
2) Even if I change the snippetText into a snippetBLock - both the "TBDIMG" text and the yellow formatting does not show up - just a small gray "-" sign
It looks like this in the XML Editor
and like this in the text editor
<p>blah blah</p>
<MadCap:snippetBlock src="../_quickInserts/tbdimg.flsnp" />
<p>more blah blah</p>
help !!!
problems with snippetBlocks
-
yonatanlehman
- Propeller Head
- Posts: 51
- Joined: Mon Sep 18, 2017 6:14 am
problems with snippetBlocks
You do not have the required permissions to view the files attached to this post.
Re: problems with snippetBlocks
The <body> tag is missing from your snippet.
Did you edit the snippet code by hand?
Code: Select all
<body>
<p class="tbd">TBDIMG</p>
</body>-
yonatanlehman
- Propeller Head
- Posts: 51
- Joined: Mon Sep 18, 2017 6:14 am
Re: problems with snippetBlocks
Oops....
I must have erased it by accident
Thanks that solved the placement problem as well. If I drag it on to a line with only a <p> then it indeed inserts a blovk.
It would have been nice if Flare would detect an illegal snippet (no body)......
Thanks
I must have erased it by accident
Thanks that solved the placement problem as well. If I drag it on to a line with only a <p> then it indeed inserts a blovk.
It would have been nice if Flare would detect an illegal snippet (no body)......
Thanks