Does Oxygen web author support .scss files for styling?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 29
- Joined: Mon Jun 27, 2022 9:09 pm
Does Oxygen web author support .scss files for styling?
I have a lot of conditional styling to implement in the editor's look and feel so I was wondering if SCSS or SASS is supported in Oxygen web author as it would be really helpful.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Does Oxygen web author support .scss files for styling?
Post by cristi_talau »
Hello,
Web Author supports LESS out-of-the-box. However, it is recommended that in the deployed framework you compile LESS to CSS.
To use SCSS you have to run a tool that watches for changes in SCSS files and recompiles everything to CSS. In the framework that you deploy, you will add the generated CSS files.
Best,
Cristian
Web Author supports LESS out-of-the-box. However, it is recommended that in the deployed framework you compile LESS to CSS.
To use SCSS you have to run a tool that watches for changes in SCSS files and recompiles everything to CSS. In the framework that you deploy, you will add the generated CSS files.
Best,
Cristian
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Does Oxygen web author support .scss files for styling?
Post by cristi_talau »
Hello,
If you want to change the "display name" for an XML element, for example "Paragraph" instead of "p", you can follow the instructions here: https://www.oxygenxml.com/doc/versions/ ... uthor.html .
If you want the users to change the an element from "b" (bold) to "i" (italic), they can use the context menu action "Rename Element...".
If my answer does not address your question, please give us more details about what your are trying to achieve.
Best,
Cristian
If you want to change the "display name" for an XML element, for example "Paragraph" instead of "p", you can follow the instructions here: https://www.oxygenxml.com/doc/versions/ ... uthor.html .
Code: Select all
<elementRenderings>
<render element="p" as="${i18n(cc_p)}"/>
</elementRenderings>
If my answer does not address your question, please give us more details about what your are trying to achieve.
Best,
Cristian
-
- Posts: 29
- Joined: Mon Jun 27, 2022 9:09 pm
Re: Does Oxygen web author support .scss files for styling?
Hi, I will check the solution.
I actually have another question. I want to change the look and feel of the entire document on an action click. How can I achieve that?
I actually have another question. I want to change the look and feel of the entire document on an action click. How can I achieve that?
-
- Posts: 515
- Joined: Wed May 20, 2009 2:40 pm
Re: Does Oxygen web author support .scss files for styling?
Hello,
You can implement a custom action that uses custom CSS pseudo-classes to change the elements rendering.
Please let us know if you need more details.
Best Regards,
Mihaela
You can implement a custom action that uses custom CSS pseudo-classes to change the elements rendering.
Please let us know if you need more details.
Best Regards,
Mihaela
Mihaela Calotescu
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