Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#1155 closed defect (fixed)

Editor2 htmltoggle

Reported by: guest Owned by: liucougar
Priority: high Milestone:
Component: Widgets Version: 0.3
Keywords: Cc:
Blocked By: Blocking:

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 (5)

comment:1 Changed 13 years ago by liucougar

Owner: changed from bill to liucougar

comment:2 Changed 13 years ago by b at cce dot ac dot nz

severity: normalmajor

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.

comment:3 Changed 13 years ago by liucougar

Status: newassigned

comment:4 Changed 13 years ago by liucougar

Resolution: fixed
Status: assignedclosed

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

comment:5 Changed 12 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.