Menu

Caret color

sakal
2009-07-14
2013-04-29
  • sakal

    sakal - 2009-07-14

    How to change text cursor (caret) color?

    It's unaviable by settings, but I can't find it by code refactorung. I try to change background-color at .edit_area_cursor, but it does not have effects.

    thanks.

     
  • Anton Burtsev

    Anton Burtsev - 2010-08-14

    Hi,

    Great job cdemon, thank you!

    However, it is better to add a border instead of nbsp and add a negative padding to compensate border width. I've done as follows:

    content = '<span>' + content.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace("\r\r", '</span><strong style="border-right:1px solid black; padding-right:-1px;">').replace("\r\r", '</strong><span>') + '</span>';

    See also: https://sourceforge.net/projects/editarea/forums/forum/556921/topic/2931074
    _______________
    Anton Burtsev
    http://xsltdb.codeplex.com

     
  • onejob

    onejob - 2012-05-14

    linlinying20120514
    tory burch outlet has just opened the coach outlet store online

     

Log in to post a comment.

MongoDB Logo MongoDB