[wp-trac] [WordPress Trac] #35243: Extending the text widget to also allow visual mode

WordPress Trac noreply at wordpress.org
Thu Jan 12 15:45:22 UTC 2017


#35243: Extending the text widget to also allow visual mode
-------------------------+------------------
 Reporter:  paaljoachim  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.8
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------

Comment (by melchoyce):

 Replying to [comment:26 azaozz]:
 > Replying to [comment:23 melchoyce]:
 > > "Full featured" as in "exactly mimics the editor," or "full featured"
 as in supports views and has some formatting available?
 >
 > Uh, sorry, should have explained better :)
 > As in support embeds/views, formatting, etc. but not "exactly mimics". I
 meant this for the "back-end" of the implementation (load all TinyMCE
 plugins, process shortcodes, etc.), not for the UI.

 Cool 👍

 Replying to [comment:28 azaozz]:
 > Replying to [comment:25 westonruter]:
 > > what should be done about the "Automatically add paragraphs"
 checkbox...
 >
 > Think this should go. Don't think we should expose a "disable wpautop"
 setting there regardless if wpautop is used or not. Generally I think it
 would be better to not use autop (keeps things faster and simpler). On the
 other hand we have a Text editor tab that will look different, so.... Not
 sure :)

 I think we should probably mimic the editor. The "add paragraphs" checkbox
 never made any sense to me other than "people don't have a way to add
 paragraphs without manually coding `p` tags so I guess we need to add an
 option to add them for people instead."

 > > In any case, I think it only makes sense to show the filter checkbox
 when the non-visual editor is shown.

 Could this be a good compromise to handle back-compat?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35243#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list