Modifying the label of note type Tip

Having trouble installing Oxygen? Got a bug to report? Post it all here.
akhoy
Posts: 8
Joined: Tue Jul 25, 2017 12:47 pm

Modifying the label of note type Tip

Post by akhoy »

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: 135
Joined: Mon Jun 12, 2017 10:50 am

Re: Modifying the label of note type Tip

Post by cosmin_andrei »

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: 8
Joined: Tue Jul 25, 2017 12:47 pm

Re: Modifying the label of note type Tip

Post by akhoy »

I have found the solution for this. Please ignore.

Thanks.
Post Reply