Page 1 of 1

Editing processing instructions in Oxygen Web Author

Posted: Thu Feb 07, 2019 7:47 pm
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?

Re: Editing processing instructions in Oxygen Web Author

Posted: Mon Feb 11, 2019 7:54 pm
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

Re: Editing processing instructions in Oxygen Web Author

Posted: Wed Feb 13, 2019 1:11 pm
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?

Re: Editing processing instructions in Oxygen Web Author

Posted: Wed Feb 13, 2019 5:46 pm
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

Re: Editing processing instructions in Oxygen Web Author

Posted: Mon May 27, 2019 3:08 pm
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