Creating a Snippet with non-standard content in Flare

When you are working in Flare, 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, usually you can just select the paragraphs of text and click the Create Snippet button on the Home ribbon. However, 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.

, , , , , , ,

One Response 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?

Leave a Reply