Opened 8 years ago

Closed 7 years ago

#7318 closed New Feature (invalid)

Removing underline of a linked text is not working in CKEditor version 3.2 (in Firefox))

Reported by: hasib Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2
Keywords: Cc:

Description

Step 1: Write some text for e.g: This is yahoo link. Step 2: select the text "yahoo" and link the (url: www.yahoo.com) using the link button of CKEditor toolbar link button. [now, the text decoration of "yahoo" changed to underline and color changed to blue. ] step 3: try to change the underline of the linked text "yahoo" using the tool bar's button "U". result the underline would not removed. step 4: click on the editor preview button. so you see here: underline is removed.

What i need to know:

  1. is this FireFox browser issue ?
  2. CKEditor's limitation ?

Finding: i checked in CKEditor demo in both FireFox and IE9. Result: i was unable to removed the underline from both browsers.

please let me inform if there any way to solve my issue. thanks Hasib Siddique

Change History (1)

comment:1 Changed 7 years ago by Jakub Ś

Resolution: invalid
Status: newclosed

Underline button inserts <u> tags and they are not used to style links. By default browser uses its own styles but you can change this by adding styles in Link properties -> Advanced Tab -> Style input filed or StyleSheet Classes field.

In that second case you need to add CSS class to contents.css file (cache refresh is needed) you can also add general rule there.

.myLinkClass {
	text-decoration: none;
	color : red;
}
a {
	text-decoration: none;
	color : red;
}

Please note that such rule will not be visible in preview or in your page. You need to add import instruction for CSS file with this class to your page.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy