Alex Masycheff wrote:
>
> Can I ask you one more question, please?
Answering this kind of question (about configuring, customizing, or
extending XXE) is reserved to Professional Edition customers.
> If I insert shortdesc, the
> shortdesc label appears inidicating what content should be entered. How
> can I make XMLMind to display other text? For example, "enter a short
> description for the topic here". I thought it is defined in
> \XMLmind_XML_Editor\addon\dita_dtd_config\css\dita.css, tried to change
>
> shortdesc:before {
> content: "enter_a_short_description";
> }
>
> but it doesn't work.
That's normal according to the CSS spec.
Excerpt of dita.css:
---
shortdesc:before {
content: "shortdesc";
}
example:before {
content: "example";
}
related-links:before {
content: "related-links";
}
@media XMLmind-XML-Editor {
searchtitle:before,
navtitle:before,
shortdesc:before,
example:before,
related-links:before {
content: element-name(); /*Support for specialization*/
marker-offset: fill; /*Nicer*/
}
}
---
If you replace
content: "shortdesc";
by
content: "enter_a_short_description";
it cannot work because of the rule having same specifity found in the
'@media XMLmind-XML-Editor' block.
If you add this:
---
shortdesc {
margin-left: 32ex;
}
shortdesc:before {
content: "enter_a_short_description";
}
---
*after* the the '@media XMLmind-XML-Editor' block, it will work fine.