Applying styles in document editor
Are you missing a feature? Request its implementation here.
-
- Posts: 5
- Joined: Wed Dec 09, 2020 4:10 pm
Applying styles in document editor
Post by pradapselvaraj »
Hi,
we are using xopus xml editor in our content management system. and we are having custom xsd, xsl and css files.
Now we want to use oxygen web author has our new xml editor in our cms system . Somehow , we are able to achieve xsd schema validation and also integrated oxygen trial version in our cms system and have done some changes with the help plugins and frameworks.
but we can't able to apply custom css in oxygen web author. so basic we are trying to add css for the paragraph, header (for e.g style class name = p, topic/p). please see the attachment , from xopus editor.
For table td , we are able to apply the custom style in the oxygen. but in oxygen , the classes applied for <p>, <div> are dynamic. so we can't able to add css . kindly suggest , how to apply css with the help of custom oxgyen framework or plugin?.
we are using xopus xml editor in our content management system. and we are having custom xsd, xsl and css files.
Now we want to use oxygen web author has our new xml editor in our cms system . Somehow , we are able to achieve xsd schema validation and also integrated oxygen trial version in our cms system and have done some changes with the help plugins and frameworks.
but we can't able to apply custom css in oxygen web author. so basic we are trying to add css for the paragraph, header (for e.g style class name = p, topic/p). please see the attachment , from xopus editor.
previouseditor1.png
we would like to achieve this same UI styles in the oxygen web author. For table td , we are able to apply the custom style in the oxygen. but in oxygen , the classes applied for <p>, <div> are dynamic. so we can't able to add css . kindly suggest , how to apply css with the help of custom oxgyen framework or plugin?.
oxygeneditor1.png
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 172
- Joined: Tue Mar 20, 2018 5:28 pm
Re: Applying styles in document editor
Post by Bogdan Dumitru »
Hi,
You have to add a custom CSS to your framework. Here [0] you can find more details about how it can be done.
The CSS may look like this:
[0] https://www.oxygenxml.com/doc/versions/ ... h-css.html
You have to add a custom CSS to your framework. Here [0] you can find more details about how it can be done.
The CSS may look like this:
Code: Select all
[class*="topic/p"] {
color: blue !important;
}
[class*="topic/entry"] {
color: red !important;
}
Bogdan Dumitru
http://www.oxygenxml.com
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