hitting return after html comment produces an error "t.getName is not a function"
hi,
when a paragraph ends in an html comment, hitting the enter key with the cursor positioned at the end of this paragraph (to create a new paragraph) throws an error "t.getName is not a function" (line 29 ckeditor.js).
<p>Any old para.<!-- any old comment --></p>
Windows Vista SP2
FF 3.5.5
Change History (7)
Component: |
General →
UI : Enter Key
|
Keywords: |
Confirmed Review? added
|
Milestone: |
→ CKEditor 3.1
|
Owner: |
set to Garry Yao
|
Status: |
new →
assigned
|
Version: |
→ SVN (CKEditor)
|
Keywords: |
Review- added; Review? removed
|
Keywords: |
Review? added; Review- removed
|
Keywords: |
Review+ added; Review? removed
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Please use the type property to check the node type. I know it'll add 5 bytes more to the code, but we have already understood that using methods to check for node types is a bad practice.