Opened 13 years ago

Closed 13 years ago

#8211 closed Bug (expired)

scayt span tags left in returned text with Firefox

Reported by: Keith Hackett Owned by:
Priority: Normal Milestone:
Component: Core : Output Data Version:
Keywords: Cc:

Description

When using Firefox 5.0, Misspelled words are returned with the word delimited by the SPAN tags used by Scayt to mark the word (when auto-spellchecking is turned on).

For example, typing the word "mispelled" into a CKEditor enabled window and submitting the form will return this string:

<span data-scayt_word="mispelled" data-scaytid="1">mispelled</span>

IE 9 and Chrome appear to work fine.

Change History (9)

comment:1 Changed 13 years ago by Jakub Ś

Status: newpending

Could you tell me how are you getting this text from CKEditor (I'm interested in code ) or better provide me with a sample file showing the problem?

Also could you tell me what version of CKEditor are you using?

comment:2 Changed 13 years ago by Keith Hackett

Component: GeneralCore : Output Data

Sorry, in my haste to post I forgot to add the obvious. This is version 3.6.1 of CKEditor.

I load the editor onto my textboxes on page load using jQuery (version 1.5.1) with the following code:

<script type="text/javascript" language="javascript">

jQuery(document).ready(function() {

jQuery(".editor").ckeditor({

toolbar: 'Intermediate', height: '150px'

});

});

</script>

The result I initially posted is returned to my VB.Net web page using Firefox 5.0.

comment:3 Changed 13 years ago by Jakub Ś

Just to make sure - are you using getData() method to get editor contents - http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.editor.html#getData?

This method allows to get HTML code created by the user. If you use some code of your own than you might get user code plus something extra like scayt tags.

comment:4 Changed 13 years ago by Keith Hackett

No, I'm not using getData(). I only use CKEditor in my clientside pages (which is why I use jQuery to load it) and none of the server-side components.

I have a .Net framework that retrieves the returned contents of the form vars on postback. This keeps things simpler and easier to apply the editor when needed.

Also, if I turn off the Scayt auto spell check then no erroneous SPAN tags get returned in the content on postaback.

comment:5 Changed 13 years ago by Jakub Ś

Could we ask you to provide us with a simple .NET sample (with ckeditor and jquery) application showing this problem? That way it will be easier for us to determine what is wrong.

comment:6 Changed 13 years ago by Jakub Ś

@khackett have you got any updates regarding this issue? I have asked you for a simple .net application showing only the bug because you know the best with which part of the code you have got a problem.

comment:7 Changed 13 years ago by Keith Hackett

I'm working on it but having trouble creating a small sample that replicates the problem. I'm researching the differences now and will post back with the results. Thanks for the help so far!

comment:8 Changed 13 years ago by Jakub Ś

@khackett any luck with the TC?

comment:9 Changed 13 years ago by Jakub Ś

Resolution: expired
Status: pendingclosed
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