Pages: 1
Print
Author Topic: linebreak when bold  (Read 1848 times)
frkas
Member

Posts: 5


« on: June 30, 2014, 02:31:28 AM »

We have inserted the following lines in out .ctm file to ba able to use italic(<i>) and bold (<b>):
<TogglingInlines>
   <Bold><Name>b</name></Bold>
   <Italic><Name>i</Name></Italic>   
</TogglingInlines>

When the users uses b or i it creates line breaks inside the XMetaL. Any Ideas how to remove these and have them on the same line?

Ex how it is:
text
<b>now this is in a new line</b>
more text

We want it it to look like:
text <b>now this is in a new line</b> more text

XmetaL Author Enterprise 8.0 Service Pack 1
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member

Posts: 2621



WWW
« Reply #1 on: July 02, 2014, 03:16:22 PM »

Most likely your CTM file has pretty printing enabled and the individual pretty printing settings for these elements are configured to insert line breaks.
Have a look at the CTM file for the Journalist sample. It uses these buttons and is configured the way you want things to be.
Logged
Pages: 1
Print
Jump to:  

email us