Ticket #16 (closed defect: fixed)

Opened 2 years ago

Last modified 3 months ago

SAPI: Mozilla: startNode/endNode are the BODY element

Reported by: jf.hovinne Assigned to: jf.hovinne
Priority: major Milestone: 0.5
Component: Editor Version: trunk
Keywords: sapi mozilla Cc:

Description

When you double-click at the end of a paragraph, it is selected, but startNode and endNode return the BODY element.

Change History

03/28/07 04:30:27 changed by v.mische

That's right, the question is: do we want it this way. Here's an explanation: | is the selction start/end. If you double click an paragraph, the whole paragraph gets selected, not only the contents

<body>|<p>text<p>|</body>

The best way is perhaps to change the selection range automaticly to

<body><p>|text|<p></body>

on initialisation.

04/01/07 06:31:51 changed by v.mische

Fixed with r202 as described above (comment:1).

04/26/07 11:06:25 changed by jf.hovinne

  • milestone changed from 0.3 to 0.4.

06/29/07 10:33:25 changed by jf.hovinne

  • milestone changed from 0.4 to 0.5.

08/30/08 12:03:38 changed by jf.hovinne

  • status changed from new to closed.
  • resolution set to fixed.