Ticket #189 (closed defect: fixed)

Opened 3 years ago

Last modified 2 years 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

comment:1 Changed 2 years ago by mr_lundis

Fixed in r669.

comment:2 Changed 2 years ago by mr_lundis

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