jQuery UI Widgets Forums Editors Editor Color of links

This topic contains 2 replies, has 2 voices, and was last updated by  silvochka 9 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Color of links #75499

    silvochka
    Participant

    Hi!

    It seems a bug.
    In your editor (https://www.jqwidgets.com/jquery-widgets-demo/demos/jqxeditor/index.htm for example) create link. Then select this link and apply some text color.

    In html I see that this color applied to span (which contains tag a). But this is not working. Link is still black.

    Thanks,
    Evgenia

    Color of links #75506

    Dimitar
    Participant

    Hi Evgenia,

    To colour a link, make sure you have selected only it and not any of surrounding spaces or words. This will result in an html similar to this one:

    <a href="http://www.jqwidgets.com/" style="color: rgb(255, 0, 0);">jQWidgets</a>

    Otherwise, only the surrounding text will be coloured, as is the expected result of a code such as:

    <span style="color: rgb(255, 0, 0);">link to&nbsp;<a href="http://www.jqwidgets.com/">jQWidgets</a>
    
    </span>

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Color of links #75567

    silvochka
    Participant

    Thank you, Dimitar!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.