Ticket #5777 (confirmed Bug)

Opened 4 years ago

Last modified 4 years ago

JS error when fullPage is set to true and the title tag is missing

Reported by: wwalc Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Firefox Cc:

Description

Confirmed in FF 3.0.19.

When using CKEditor in fullPage mode, an error is thrown when <title> tag is not present.

Steps to reproduce:

  • In Ajax sample add
    var config = {fullPage : true};
    

in createEditor() function.

  • Open ajax sample, press "Create Editor".
  • Press "Source" button or "Remove Editor".

Result:

element.children[0] is undefined
http://192.168.1.126/bugtest/ckeditor/_source/plugins/htmldataprocessor/plugin.js
Line 198
196  title : function( element )
197 {
198     element.children[ 0 ].value = element.attributes[ '_cke_title' ];
199 } 

Change History

comment:1 Changed 4 years ago by fredck

  • Keywords Firefox added; FF removed
Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy