[oXygen-user] Custom placeholders for empty elements?
Fri May 22 06:37:38 CDT 2015
You can control that using the -oxy-placeholder-content property:
-oxy-placeholder-content: "Your placeholder content";
The Hints alternate style for DITA adds custom placeholders in addition
to the hint information. You can find that in the folder
The master there is the hints.less file that generates the hints.css.
The hint information is displayed using the oxy_htmlContent form
oxy_htmlContent(href, 'hints.html', id, oxy_concat('topic-hints', '-',
oxy_local-name()), width, 100%);
For example, if this will be used for a title element, then it will
present the content of the element with the id "topic-hints-title" from
the hints.html file - that file contains div elements with IDs that are
referred from the LESS/CSS file.
Hope this helps, including the additional info :).
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
On 22/05/15 14:23, Richard Forster wrote:
> Hello List
> Is there a way of customizing the placeholders shown in Oxygen Author
> view for empty elements?
> From the shelf the system just repeats the tag name on gray background.
> As soon as I start typing something into the element, the placeholder
> What I would like to have is the same behavior but with a custom
> string/instructions being shown instead of the tagname. Is this possible?
> Best regards
> oXygen-user mailing list
More information about the oXygen-user