Opened 5 years ago

Closed 5 years ago

#12017 closed Bug (invalid)

Error on ckpackager.exe

Reported by: tommy7m Owned by:
Priority: Normal Milestone:
Component: General Version: 4.4.1
Keywords: Cc:

Description

I've tried to compile ckeditor 4.1 with ckpackager.exe and got following error:

InternalError: missing ; before statement

After searching I solved it, and here is fix that you can use.

In file tools.js on line 1129 (method enableHtml5Elements()) find following

var els = 'abbr,article,aside,audio,bdi,canvas,data,datalist,details,figcaption,figure,footer,header,hgroup,mark,meter,nav,output,progress,section,summary,time,video'.split( ',' ), i = els.length, el;

and replace with:

var els = ["abbr", "article", "aside", "audio", "bdi", "canvas", "data", "datalist", "details", "figcaption", "figure", "footer", "header", "hgroup", "mark", "meter", "nav", "output", "progress", "section", "summary", "time", "video"]; var i = els.length, el;

Change History (1)

comment:1 Changed 5 years ago by Wiktor Walc

Resolution: invalid
Status: newclosed

ckpackager.exe was not designed to work with CKEditor 4.

To build CKEditor 4, use CKBuilder. Check this repository and README.md: https://github.com/ckeditor/ckeditor-presets

Build release package with build.sh (on Windows use "Git Bash" shell)

That's it!

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy