Editing processing instructions in Oxygen Web Author

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
peterls
Posts: 16

Editing processing instructions in Oxygen Web Author

Thu Feb 07, 2019 7:47 pm

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: 198

Re: Editing processing instructions in Oxygen Web Author

Mon Feb 11, 2019 7:54 pm

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

Re: Editing processing instructions in Oxygen Web Author

Wed Feb 13, 2019 1:11 pm

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: 198

Re: Editing processing instructions in Oxygen Web Author

Wed Feb 13, 2019 5:46 pm

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

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 3 guests