This is a migrated thread and some comments may be shown as answers.

[Solved] (Bug) Editor doesn't respond to 'ENTER' or 'Shift+ENTER'

2 Answers 22 Views
Editor
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Adam
Top achievements
Rank 1
Adam asked on 11 Mar 2011, 01:28 AM
Hello,

I am experiencing a bug with the MVC Editor (2010.3.1318)

Here are the steps to reproduce

1. Copy the following text/html:
<p>And, once again, thank you Willamette Industries for helping us
take our first giant step toward that dream.</p><p>Sharon Fipps, Foundation Director</p><p>Valley Community Hospital</p><p>Dallas</p>

2. Paste code inside editor html view
3. Place cursor in front of first 'V' in 3rd paragraph.
4. Hit backspace until there is no more space between 2nd & 3rd paragraphs.
5. Now try hitting Enter or Shift + Enter. Nothing happens.

At the same time, Firefox reports this error:

Error: uncaught exception: [Exception... "Parameter is not an object"  code: "1003" nsresult: "0x805303eb (NS_ERROR_DOM_NOT_OBJECT_ERR)"  location: "http://aspnet-scripts.telerikstatic.com/mvcz/2010.3.1318/telerik.editor.min.js Line: 1"]

Funny thing is, if I delete the 1st paragraph of text, then repeat the rest of the steps, it works fine.

If you are not able to reproduce I can send a sample project.

Thanks!
Adam

2 Answers, 1 is accepted

Sort by
0
Adam
Top achievements
Rank 1
answered on 11 Mar 2011, 01:43 AM
I just tested on the Q1 beta demo with the exact same results.

Thanks,
Adam
0
Alex Gyoshev
Telerik team
answered on 14 Mar 2011, 11:58 AM
Hi Adam,

I could not reproduce the problem with the development version of the components. Can you please try locally the attached js file for the editor? (replacing the telerik.editor.min.js contents is fine)

Kind regards,
Alex Gyoshev
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Tags
Editor
Asked by
Adam
Top achievements
Rank 1
Answers by
Adam
Top achievements
Rank 1
Alex Gyoshev
Telerik team
Share this question
or