Ticket #189 (closed defect: fixed)

Opened 9 months ago

Last modified 7 weeks ago

Editor saves a single <br /> tag when completely empty

Reported by: fmullenger Owned by: jf.hovinne
Priority: minor Milestone: 0.5
Component: editor Version: trunk
Keywords: Cc:

Description

When emptying the editor completely of content, hitting backspace until you cannot anymore. Saving that content was resulting in a <br /> tag.

We used: //cleanup <br><br> between paragraphs jQuery(this._doc.body).children(WYMeditor.BR).remove();

in WYMeditor.editor.prototype.update

To get around this issue.

Change History

Changed 7 weeks ago by mr_lundis

Fixed in r669.

Changed 7 weeks ago by mr_lundis

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.