Opened 11 years ago

Closed 11 years ago

#1307 closed defect (fixed)

[Confirmed] Can't toggle between Text and WYSIWYG Mode

Reported by: guest Owned by: nicholasbs
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords:
Cc:

Description

After toggle to text mode in function deactivateEditor
Xinha._currentlyActiveEditor is set to false!

When calling the function updateToolbar there is no Xinha._currentlyActiveEditor and so the function get quit.

//  if (this.suspendUpdateToolbar || Xinha._currentlyActiveEditor != this) return;
  if (this.suspendUpdateToolbar) return;
...

By Gocher

Change History (2)

comment:1 Changed 11 years ago by nicholasbs

  • Owner changed from gogo to nicholasbs
  • Summary changed from Can't toggle between Text and WYSIWYG Mode to [Confirmed] Can't toggle between Text and WYSIWYG Mode

Yes, I believe this is my fault, actually (I noticed it late last night and think it's connected with the editor activation fix). I'll take a look at it in a few minutes and fix it ASAP.

comment:2 Changed 11 years ago by nicholasbs

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

This has been fixed by changeset r1094. Sorry for the screwup!

Thanks for reporting this, Gocher.

Note: See TracTickets for help on using tickets.