[wp-trac] [WordPress Trac] #26959: Incorporate preview of inserted galleries in the visual editor using a new version of the wpview tinymce plugin

WordPress Trac noreply at wordpress.org
Tue Mar 18 01:30:04 UTC 2014


#26959: Incorporate preview of inserted galleries in the visual editor using a new
version of the wpview tinymce plugin
----------------------------+-----------------------------
 Reporter:  gcorne          |       Owner:
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  3.9
Component:  Editor          |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:  ui, javascript
----------------------------+-----------------------------

Comment (by gcorne):

 Thanks @adamsilverstein for putting together a patch. I kind of prefer
 [attachment:26959-no-thumbnail-01.patch 26959-no-thumbnail-01.patch]
 because it keeps the presentation separate from any logic and modifies the
 array of objects in place instead of creating a new array. I also cleaned
 up the template a bit by adding height and width attributes to the images
 and removing a couple of TODOs.

 I still think we may want to consider making the markup of the preview
 pluggable so that a theme or plugin could make the editor preview more
 closely match the look of the gallery on the front-end.

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


More information about the wp-trac mailing list