Editing processing instructions in Oxygen Web Author

Having trouble installing Oxygen? Got a bug to report? Post it all here.
peterls
Posts: 16
Joined: Fri Mar 20, 2015 2:29 pm

Editing processing instructions in Oxygen Web Author

Post by peterls »

Is this possible at all? In standalone Oxygen Author the following CSS works:

Code: Select all


oxy|processing-instruction {
visibility:-oxy-collapse-text;
display:inline !important;
-oxy-display-tags:none;
}


oxy|processing-instruction[chunk]:before{
color: teal;
background-color: white;
display: inline;
vertical-align:top;
padding-bottom: 2px;
border: groove black 1px;
font-size: small;

content:oxy_url('../img/scissors.png') ' Chunk title: ' oxy_textfield(edit, "@title") oxy_url('../img/scissors.png');
}
I've read this, and the only thing I could find that was relevant to my situation was
Oxygen XML Editor/Author CSS extensions to style :before and :after pseudo-elements, except in the content property.
So I understand why visibility:-oxy-collapse-text; doesn't work, but I would still expect the oxy_textfield() control to work.

Can somebody help with figuring out what I am missing?
cristi_talau
Posts: 495
Joined: Thu Sep 04, 2014 4:22 pm

Re: Editing processing instructions in Oxygen Web Author

Post by cristi_talau »

Hello,

Unfortunately, you cannot add pseudo-elements like ":before" on a processing instruction. I registered an issue to remove this limitation in Web Author.

Best,
Cristian
peterls
Posts: 16
Joined: Fri Mar 20, 2015 2:29 pm

Re: Editing processing instructions in Oxygen Web Author

Post by peterls »

cristi_talau wrote:Hello,

Unfortunately, you cannot add pseudo-elements like ":before" on a processing instruction. I registered an issue to remove this limitation in Web Author.

Best,
Cristian
Thank you very much. I'm sure we can do a workaround for now, does this look like it will take a long time to implement?
cristi_talau
Posts: 495
Joined: Thu Sep 04, 2014 4:22 pm

Re: Editing processing instructions in Oxygen Web Author

Post by cristi_talau »

Hello,

The current schedule is for version 21.1 which is due this fall. We can provide a nightly version of Web Author that supports this feature much sooner for you to test. Is this schedule acceptable for you?

Best,
Cristian
cristi_talau
Posts: 495
Joined: Thu Sep 04, 2014 4:22 pm

Re: Editing processing instructions in Oxygen Web Author

Post by cristi_talau »

Hello,

I am updating this thread to let you know that Oxygen XML Web Author v21.1 is now released and it supports adding form controls and other static content on a processing instruction.

Here is a list of what is new in this version: https://www.oxygenxml.com/xml_web_author/whats_new.html

Best,
Cristian
Post Reply