Opened 11 years ago

Closed 11 years ago

#1204 closed defect (worksforme)

FullScreen not registered

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc: ianb@…

Description

I was getting errors with Xinha about the fullscreen button not being registered. Ultimately I tracked it down to this source in XinhaCore?.js:

  url = _editor_url + 'modules/FullScreen/full-screen.js';
  if ( !Xinha.loadPlugins([{plugin:"FullScreen",url:url}], function() { editor.generate(); } ))
  {
    return false;
  }

The other plugins loaded there are registered, but not FullScreen?. Adding editor.registerPlugin('FullScreen') immediately after this code fixed the problem for me.

(I had this problem using 0.95, but it looks the same in the trunk)

Change History (1)

comment:1 Changed 11 years ago by gogo

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

It works for me, FullScreen? is registered in Xinha.prototype.generate -- I don't actually know why it's registered there and not where you propose but I imagine there must be some good reason for it. Anyway, it works.

Note: See TracTickets for help on using tickets.