Page 1 of 1

Modifying the label of note type Tip

Posted: Wed Aug 02, 2017 10:35 am
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!

Re: Modifying the label of note type Tip

Posted: Thu Aug 03, 2017 5:18 pm
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.

Re: Modifying the label of note type Tip

Posted: Fri Aug 04, 2017 8:24 am
by akhoy
I have found the solution for this. Please ignore.

Thanks.