Ticket #1155 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

Editor2 htmltoggle

Reported by: guest Owned by: liucougar
Priority: normal Milestone:
Component: Widgets Version: 0.3
Severity: major Keywords:
Cc:

Description

htmltoggle must be exited (ie return to WYSIWYG) before submitting a form - or changes made in HTML view will be lost (tested in firefox)

Change History

Changed 2 years ago by liucougar

  • owner changed from bill to liucougar

Changed 2 years ago by b at cce dot ac dot nz

  • severity changed from normal to major

Here's my fix for this problem (goes straight after connect for htmltoggleClick in Editor2.js): dojo.event.connect("before", this, "getEditorContent",

dojo.lang.hitch(this, function() { if(this._inHtmlMode) this.editNode.innerHTML = this._htmlEditNode.value;

}));

I've signed & submitted CLA to Alex. Liu, please contact me as I'm making substantial improvements to Editor2 and don't want us to duplicate effort. -=Bruce Webster.

Changed 2 years ago by liucougar

  • status changed from new to assigned

Changed 2 years ago by liucougar

  • status changed from assigned to closed
  • resolution set to fixed

(In [5573]) fixes #1155: Editor2 htmltoggle

Changed 18 months ago by anonymous

  • milestone deleted

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.