RESOLVED: Tables in snippets not working with Bootstrap
RESOLVED: Tables in snippets not working with Bootstrap
In a new Flare 2022 project I am working on, I am finding that snippets will strip tables of their table coding, leaving only data. The exact same table works if it's inline within the topic, but not imported through a snippet. I am using Bootstrap 5. Are others seeing this? I will submit a bug report.
Last edited by tagalong on Tue May 30, 2023 10:35 am, edited 1 time in total.
-
- Senior Propellus Maximus
- Posts: 3669
- Joined: Thu Feb 02, 2006 9:57 am
- Location: Pittsford, NY
Re: Tables in snippets not working with Bootstrap
Sounds to me like you've inserted the snippet as snippetText )meaning that it's "inline" in some other tag, such as a <p>) rather than snippetBlock. When a snippet is inserted in a tag that already has some other content in it, Flare will definitely remove the formatting within the snippet so that it inherits its formatting from the tag it's in. But if inserted as a snippet block, the snippet will keep its internal formatting. (To insert as a snippet block, create an empty paragraph and insert the snippet there.)
Look at the code under the hood. Do you see snippetText rather than snippetBlock?
Look at the code under the hood. Do you see snippetText rather than snippetBlock?
Nita
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
RETIRED, but still fond of all the Flare friends I've made. See you around now and then!
Re: Tables in snippets not working with Bootstrap
That was it! Thank you for the reply.