Severe performance issues in Author mode when using CSS
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 2
- Joined: Fri Oct 19, 2018 12:41 pm
Severe performance issues in Author mode when using CSS
I am experiencing severe performance issues when I assign a CSS to an XML/TEI file (800kb -- so not extremely big). However, if I change the settings in the "TEI framework --> Author" to include the CSS from the framework (so actually now 3 CSS files with a lot of different rules instead of my one test CSS with only one rule) it works perfectly.
Is that a bug or am I doing something wrong? Thanks a lot for any advice!
Is that a bug or am I doing something wrong? Thanks a lot for any advice!
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Severe performance issues in Author mode when using CSS
Hi,
In the Oxygen Preferences->Document Type Association page if you edit the "TEI P5" framework configuration, in the "Author" tab, go to the "CSS" tab and at the bottom of that tab there is a setting like If there are CSSs specified in the document. By default for TEI P5 that setting states that if the TEI document refers to a CSS, that CSS alone will be used for Author editing.
So if your CSS is incomplete (you may not define all relevant TEI elements with display:block for example) indeed you may experience performance problems. Changing that radio button setting to merge them with CSSs..... will use your custom CSS referenced in the document in addition with the CSSs specified in the "Author" tab.
Regards,
Radu
In the Oxygen Preferences->Document Type Association page if you edit the "TEI P5" framework configuration, in the "Author" tab, go to the "CSS" tab and at the bottom of that tab there is a setting like If there are CSSs specified in the document. By default for TEI P5 that setting states that if the TEI document refers to a CSS, that CSS alone will be used for Author editing.
So if your CSS is incomplete (you may not define all relevant TEI elements with display:block for example) indeed you may experience performance problems. Changing that radio button setting to merge them with CSSs..... will use your custom CSS referenced in the document in addition with the CSSs specified in the "Author" tab.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Fri Oct 19, 2018 12:41 pm
Re: Severe performance issues in Author mode when using CSS
Thanks for you quick reply!
My test CSS had only one rule. to give <seg> a color. Is there a way to find out how the CSS has to look like to be "complete"? I couldn't really find anything pointing towards that direction in the documentation..if your CSS is incomplete
-
- Posts: 9451
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Severe performance issues in Author mode when using CSS
Hi,
By a complete CSS I meant a CSS which adds styles for all TEI elements. Indeed it seems your CSS would need to be used in addition to the base TEI CSSs provided by Oxygen. So you should change that radio button setting in the TEI framework configuration to merge your custom CSS with the default CSSs.
Regards,
Radu
By a complete CSS I meant a CSS which adds styles for all TEI elements. Indeed it seems your CSS would need to be used in addition to the base TEI CSSs provided by Oxygen. So you should change that radio button setting in the TEI framework configuration to merge your custom CSS with the default CSSs.
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)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ 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