Make WordPress Core

Opened 14 years ago

Closed 12 years ago

#23630 closed enhancement (invalid)

Simplify the DFW implementation

Reported by: lessbloat Owned by:
Priority: normal Milestone:
Component: Editor Version:
Severity: normal Keywords:
Cc: Focuses:

Description

I was sad to see that distraction free writing ​didn't get picked up for 3.6. I decided to play around with a rough proof of concept to see how difficult it would be to use the existing TinyMCE instance for DFW.

Benefits of handling it this way include:

  • It eliminates the need (and complexity) of juggling multiple instances of TinyMCE
  • We'll be able to remove a bunch of the old DFW code
  • It makes the transition between regular mode and DFW mode much more smooth
  • It can be as fully featured as we want it to be

Attachments (4)

wpicons.png​ (92.9 KB ) - added by lessbloat 14 years ago.
wpicons-2x.png​ (128.3 KB ) - added by lessbloat 14 years ago.
23630.diff​ (16.1 KB ) - added by lessbloat 14 years ago.
23630.1.diff​ (15.0 KB ) - added by lessbloat 14 years ago.

Download all attachments as: .zip

Change History (8)

#1 @lessbloat
14 years ago

23630.diff​ is a rough first pass at this. The code still needs to be cleaned up, and I'm sure there are bugs. To activate it, click the new DFW icon under the "visual & text" tabs.

Here's a ​quick screencast of it in action.

#2 @lessbloat
14 years ago

23630.1.diff​ is a refresh of 23630.diff​ with a few additional minor tweaks.

#3 @azaozz
14 years ago

  • Keywords early added
  • Milestone Awaiting Review → Future Release
  • Type defect (bug) → enhancement

This is starting to look really good, hoping we can polish it a bit more and add it in the next release.

#4 @iseulde
12 years ago

  • Keywords DFW early removed
  • Milestone Future Release
  • Resolution → invalid
  • Status new → closed

We've changed the DFW mode in 4.1. :)

Note: See TracTickets for help on using tickets.