[wp-trac] [WordPress Trac] #28458: wp.mce.view: simplify things a bit

WordPress Trac noreply at wordpress.org
Thu Jun 5 19:32:03 UTC 2014


#28458: wp.mce.view: simplify things a bit
--------------------------+-------------------------
 Reporter:  avryl         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.0
Component:  TinyMCE       |     Version:  3.9
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  javascript
--------------------------+-------------------------

Comment (by avryl):

 > @avryl: you read my mind on changing `wp.mce.media` to `wp.mce.av`

 :)

 > I don't think that the creation of the wpview View constructor should be
 done in register(). Doing so takes some control away from the code
 registering the wpview.

 I think we should make it as easy as possible for plugins to register a
 view. Is there a case where you'd want to overwrite that? Just wondering.
 :)

 > Since the tinymce plugin is named wpview maybe that works?

 Right now there are a bit too many terms for it... wpview, mceview, view,
 preview, content block... :) It's quite confusing.

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


More information about the wp-trac mailing list