Opened 15 years ago

Closed 15 years ago

#271 closed defect (duplicate)

htmlarea.js is to big

Reported by: anonymous Owned by: gogo
Priority: normal Milestone:
Component: Xinha Core Version:
Severity: normal Keywords:
Cc:

Description

Hi,

One request for Xinha developers, htmlarea.js file is to big 143k is huge. I made a comparative load between xinha with 'CharacterMap?', 'ContextMenu?' and 'ImageManager?' and FCK full option. FCK made a 262.007b download and Xinha 302.269b download. Can you split the htmlarea.js in separate files and load only the necessary code?

I like xinha and would like to use it instead of FCK.

Change History (2)

comment:1 Changed 15 years ago by kim@…

Remember that FCKeditor is optimized, Xinha is not. You can easily optimize the code for Xinha and make it much smaller. I posted some links and tips on another ticket for an alternative compressor to the saltstorm one :
http://xinha.python-hosting.com/ticket/115

Last I checked the Xinha main .js file got 45% down in size, I would suspect the plugins will achieve the same optimization.

Problem at the moment, as I see it, is that Xinha hasnt released an official release yet - and optimizing the cvs/svn files would be pointless as we would loose the comments and such. But when an official release emerges, I will gladly help running some optimization on a release for you with the tool above. Using the saltstorm sollution is probably much better, however that one is more picky and demands more from the JS programming (From what I recall when reading through the documentation)

comment:2 Changed 15 years ago by gogo

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #10

Note: See TracTickets for help on using tickets.