Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#26915 closed defect (bug) (fixed)

Properly detect line height of Quick Draft box

Reported by: nacin's profile nacin Owned by: nacin's profile nacin
Milestone: 3.8.1 Priority: normal
Severity: normal Version: 3.8
Component: Administration Keywords:
Focuses: Cc:

Description

Quick Draft does some crazy things to grow and shrink the textarea as the user types. However, it's dealing with raw text under white-space: pre-wrap, not HTML, so we can drop a few of the calculations it makes. It's then a bit more accurate when line breaks and HTML are involved.

Change History (2)

#1 @nacin
10 years ago

  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In 27021:

Properly detect line height of Quick Draft textarea.

props batmoo.
fixes #26915 for trunk.

#2 @nacin
10 years ago

In [27022]:

Properly detect line height of Quick Draft textarea.

Merges [27021] to the 3.8 branch. Half was committed in [27013].

props batmoo.
fixes #26915.

Note: See TracTickets for help on using tickets.