Opened 11 years ago

Closed 8 years ago

#2470 closed Bug (wontfix)

Disable content links for SpellerPages

Reported by: Mark Bryson Owned by:
Priority: Normal Milestone:
Component: UI : Spell Checker Version: FCKeditor 2.6.3
Keywords: HasPatch Cc:

Description

The user can break SpellerPages by navigating the wordWindow with links. Appending the following lines of code to the end of the writeBody() function of 'wordWindow.js' effectively disables these links:

	var find = /<a(\s[^\>]*)href=\"[^\"]*\"(.*?)\<\/a\>/gi;
	var repl = '<span style="color:blue;text-decoration:underline"$1$2</span>';
	//d.body.innerHTML = d.body.innerHTML.replace(find,repl); //memory leak for IE?
	var doc = d.body.innerHTML.replace(find,repl);
	d.body.innerHTML = doc;

(Note this suggestion is also included in the solutions I've attached to ticket #2326)

Change History (4)

comment:1 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Component: UI : DialogsUI : Spell Checker
Milestone: FCKeditor 2.6.4
Version: SVNFCKeditor 2.6.3

comment:2 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Keywords: HasPatch added

comment:3 Changed 9 years ago by WebSpellChecker.net

It is not SpellChecker.net related bug - doesn't related to wsc or scayt plug-ins.

comment:4 Changed 8 years ago by Wiktor Walc

Resolution: wontfix
Status: newclosed

FCKeditor is no longer maintained and this bug does not occur in CKEditor as a different spell checking system is used there, so I'm closing this one.

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