Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#246 closed defect (wontfix)

function splitBlock

Reported by: gocher Owned by: gogo
Priority: high Milestone:
Component: Xinha Core Version:
Severity: normal Keywords: splitBlock
Cc:

Description

the following function of htmlarea.js formats the selected block!

Why does it called splitBlock?

HTMLArea.prototype._splitBlock = function()
{
  this._doc.execCommand('formatblock', false, '<div>');
}

for example it changes

<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit... Curabitur pharetra bibendum lectus.</p>

to

<<div>>Lorem ipsum dolor sit amet, consectetuer adipiscing elit... Curabitur pharetra bibendum lectus.</<div>>

Change History (2)

comment:1 Changed 14 years ago by gogo

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

Historical. Probably could be removed.

comment:2 Changed 14 years ago by gogo

Should add: probably could be removed when we do a code review after Version 1.0

Note: See TracTickets for help on using tickets.