How to set text width in Author mode?
Oxygen general issues.
-
- Posts: 9
- Joined: Thu Oct 30, 2014 1:58 pm
How to set text width in Author mode?
Post by elaine_blath »
I am preparing an xml file for annotation in XML. The annotation will be done in Author mode.
I have prepared a schema and a css style for it. But there is a little problem: the lines in the xml file are VERY long, you need to scroll to the left, so it's very uncomfortable to work with it. As far as I understood, Oxygen does not support width in css for text.
How can I fix this issue? Is there a way to limit the line length inside the Oxygen itself? Otherwise it seems very time consuming to make line breaks in my (quite big) xml file manually...
I have prepared a schema and a css style for it. But there is a little problem: the lines in the xml file are VERY long, you need to scroll to the left, so it's very uncomfortable to work with it. As far as I understood, Oxygen does not support width in css for text.
How can I fix this issue? Is there a way to limit the line length inside the Oxygen itself? Otherwise it seems very time consuming to make line breaks in my (quite big) xml file manually...
-
- Posts: 9443
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to set text width in Author mode?
Hi Elaine,
Oxygen by default should wrap all text lines in the Author visual editing mode.
Are the XML elements defined as space-preserve either in the schema or in the CSS?
In such cases, you should use in the CSS pre-wrap as a whitespace value for such space preserve elements:
Regards,
Radu
Oxygen by default should wrap all text lines in the Author visual editing mode.
Are the XML elements defined as space-preserve either in the schema or in the CSS?
In such cases, you should use in the CSS pre-wrap as a whitespace value for such space preserve elements:
Code: Select all
element{
white-space:pre-wrap;
}
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 9
- Joined: Thu Oct 30, 2014 1:58 pm
Re: How to set text width in Author mode?
Post by elaine_blath »
Oh, I had my white-space in CSS set to "pre", and not to "pre-wrap". Thank you for the hint, this solved the issue! Though the newlines between paragraphs have dissapeared. I will go google a solution for this...
-
- Posts: 9443
- Joined: Fri Jul 09, 2004 5:18 pm
Re: How to set text width in Author mode?
Hi Elaine,
If you still have trouble with the newlines between paras, you can write us directly to support@oxygenxml.com, provide a sample XML + sample CSS, tell us more about how you expect this to look like and we'll try to give you some advice.
Regards,
Radu
If you still have trouble with the newlines between paras, you can write us directly to support@oxygenxml.com, provide a sample XML + sample CSS, tell us more about how you expect this to look like and we'll try to give you some advice.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service