I just realised this is most likely a Mac-related problem rather than EditArea-related problem, as I noticed this only happens when using EditArea on my MacBook, and doesn't happen when I use it on my PC.
On the PC the cursor is white, standing out nicely against my dark background.
Thanks,
Thomas.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If anybody can post in this thread: http://modxcms.com/forums/index.php?topic=10689.140 please update it (i don't want to register but found the thread first so I think it would be nice to have an answer there)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
In regular text boxes (like the form to post this message), the cursor is a solid black line.
I noticed that in EditArea, the cursor seems to change to #CCC which makes it difficult to see.
Is it possible to change the cursor color somehow to make it more visible? I couldn't seem to find the right spot for it in edit_area.css.
Thanks,
Thomas.
Hi,
I just realised this is most likely a Mac-related problem rather than EditArea-related problem, as I noticed this only happens when using EditArea on my MacBook, and doesn't happen when I use it on my PC.
On the PC the cursor is white, standing out nicely against my dark background.
Thanks,
Thomas.
I need to change the color of the cursor, cause i use a black background for the editor.
So how to change it?
Hi, does anyone have any ideas on this? edit_area.css doesn't seem to be where this is done.
Hi, I had the same problem and finally found it: manage_area.js, line 56:
content = '<span>'+ content.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace("\r\r", '</span><strong> ').replace("\r\r", '</strong><span>') +'</span>';
the nbsp; after the strong tag let's the cursor be much bigger
If anybody can post in this thread: http://modxcms.com/forums/index.php?topic=10689.140 please update it (i don't want to register but found the thread first so I think it would be nice to have an answer there)
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, "&").replace(/</g, "<").replace(/>/g, ">").replace("\r\r", '</span><strong style="border-right:1px solid black; padding-right:-1px;">').replace("\r\r", '</strong><span>') + '</span>';
_______________
Anton Burtsev
http://xsltdb.codeplex.com
linlinying20120514
tory burch outlet has just opened the coach outlet store online