Opened 16 years ago

Closed 13 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 16 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 16 years ago by Alfonso Martínez de Lizarrondo

Keywords: HasPatch added

comment:3 Changed 14 years ago by WebSpellChecker.net

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

comment:4 Changed 13 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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy