Modifying the label of note type Tip

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

Modifying the label of note type Tip

Wed Aug 02, 2017 10:35 am

I want to change the label of note type "Tip." I want to change it from "Tip" to "ExampleNote."

Image: http://imgur.com/a/T3P6p

Is there any way I can do it? I tried using CSS using :before, :after but Oxygen modifies it.

Thanks!
cosmin_andrei
Posts: 9

Re: Modifying the label of note type Tip

Thu Aug 03, 2017 5:18 pm

Hello,

If the type attribute for the note element is set to other, then to achieve this you can use the value of the othertype attribute. To change the label of note you need to set the othertype attribute as in the example below:

<note type="other" othertype="ExampleNote">Note</note>

I hope this helps.
Regards,
Cosmin
--
Cosmin Andrei
oXygen XML Editor and Author Support
akhoy
Posts: 7

Re: Modifying the label of note type Tip

Fri Aug 04, 2017 8:24 am

I have found the solution for this. Please ignore.

Thanks.

Return to “Common Problems”

Who is online

Users browsing this forum: No registered users and 3 guests