that when I color green the text in the rich text filed it is over writing the anchor CSS and turning it from red to green. I have worked around this issue for now by only coloring the text outside of the link but I think there should be a real fix for this but it is beyond me.
so if I get you right: If you're working with the rich-text and color the text green via the "text color" option it's a normal behaviour of the rich-text that it will wrap the selected text in <span>-tags with the selected color as inline-styling. So if you also select the link as well, it will overwrite the color which is defined in the CSS. This is related to how a browser renders the page(from top to bottom) and since inline-styling is located below the css(CSS is in the head-tag; inline around the element in the body-tag) inline-styling will almost always overwrite CSS...
What you could do: Add styling fields to your module and do it like this:
so if I get you right: If you're working with the rich-text and color the text green via the "text color" option it's a normal behaviour of the rich-text that it will wrap the selected text in <span>-tags with the selected color as inline-styling. So if you also select the link as well, it will overwrite the color which is defined in the CSS. This is related to how a browser renders the page(from top to bottom) and since inline-styling is located below the css(CSS is in the head-tag; inline around the element in the body-tag) inline-styling will almost always overwrite CSS...
What you could do: Add styling fields to your module and do it like this: