Re: Hyperlink styling
Greg Amerson <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.editor |
|---|---|
| Message-ID | <[email protected]> |
Neil wrote: > Apparently the editor disables something called the preference > stylesheet which among other things sets the default text, background > and link colours. The styles were added to restore the appearance of > links, although I guess they didn't try it out on styled links. > > The reason that "Remove Link" changes your <a> to a <span> is that the > editor has no reason to remove your inline style, so it doesn't. For a > similar example, consider changing a list from an <ol> to a <ul>, why > should the editor delete the inline style? > Ok, it does make sense now why they would reapply the styles to that section of text. So I still wonder if it would be safe to comment out this section in the EditorOverride.css. I just don't want to break something else in my editor-based application by trying to allow custom styling of link text. Thanks for the feedback. Greg