Creating a Snippet with non-standard content in Flare

When you are working in Flare, stuff you may have encountered an issue that drove me crazy for a long time regarding snippets.

When you have some content in Flare that you want to convert to be a snippet, web usually you can just select the paragraphs of text and click the Create Snippet button on the Home ribbon. However, sildenafil if that selected content contains certain types of content (I’m looking at you, tables), the Create Snippet button isn’t available. So what should you do?

One option is to select the content, cut it to the clipboard, go create a new snippet file, then paste the content into the snippet file, and finally insert the snippet into the original topic. Don’t do that anymore.

Instead, when you have the content highlighted, press the Tab key on your keyboard, and from the pop-up window, select “div”, then click OK. Now, click on the div structure bar. The Create Snippet option is now available! Click it to convert your div’ed content into a snippet.

Tip: If you can’t press the Tab key because you are in a table or a list, use the  (group) button instead.

You can stop here if you want, or you can make the following additional change. In the new snippet file, right click on the div structure bar, and click Unbind, then save the snippet file. This removes the div HTML element from the content. It doesn’t hurt to leave it in; since the div doesn’t have an id or class it won’t change what the content looks like in the output. That said, there is no reason for it anymore, so you can delete it if you want to keep things clean.

There you go. It’s Wednesday, but we’re going to call this a #FlareTipTuesday anyway.

, , , , , , ,

5 Responses to Creating a Snippet with non-standard content in Flare

  1. craig wright March 8, 2017 at 2:52 pm #

    Is this really quicker than creating a new snippet and copying and pasting into it?

    • Paul April 6, 2017 at 10:26 am #

      I think so. At least the way I do it. It seems easier than creating a snippet, then going and finding the content, and copying the content into the snippet, and then inserting the snippet into the topic. YMMV.

  2. Hope Wyss March 9, 2017 at 10:59 am #


  3. Paul Griffiths April 5, 2017 at 11:19 am #

    One reason why you might want to unbind the div is that in Word output, Flare converts every div to a single-cell table. In some cases, this can change how the content looks in the output.

    • Paul April 6, 2017 at 10:29 am #

      I did not know that. Thanks for the comment!

Leave a Reply