View Single Post
Old 10-28-2020, 06:23 PM   #144
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,708
Karma: 205039118
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
I think your custom styles are probably fine. But in your example, you don't seem to be mapping it to an html element; just a css class. Unless what you posted was a typo, your map should probably be something like:
Code:
p.Blockquote2 => p.blockquote2:fresh'
If that doesn't work, I occasionally have to use the alternative docx style-naming syntax (also shown in the samples)
Code:
p[style-name='Blockquote2']  => p.blockquote2:fresh
Or you could map it to a div (=> div.blockquote2:fresh) depending on your preference for coding/styling blockquotes in xhtml.

Just remember that both sides of each mapping needs an element. The right-hand side needs to be mapped to an html element. A css style class alone is not enough.
DiapDealer is online now   Reply With Quote