Creating a QuickInsert shortcut in an HTML file

Good afternoon to everyone,

I have a question to solve, if it is possible.

In a plain HTML file when I want to change to red the text colour inside an existing paragraph I may use

  • <span style='color: Red'>Some text</span> or
  • <span style='color: #F00'>Some text</span>

Now, I'm trying to create a QuickInsert tag pair shortcut to use if I need to draw attention when I generate the translated final target HTML translation (The client wants a final translated HTML file).

I tried to create it as follows, but probably I missed something as I did not understand where to insert the style component:

The question is quite simple: is it possible to create this tag pair shortcut to insert it in the QuickInsert group and in the SDLXLIFF translated file and obtain a final HTML file containing, e.g.

This is a red text to draw reader attention.

even if id doesn't exist in the original source HTML file, without being forced to manually write

This is a <span style='color: #F00'>red text to draw</span> reader attention.

inside the target translated segment?

Thank you for your suggestions/comments.

Regards,

Claudio

Parents Reply Children