[wp-trac] [WordPress Trac] #44797: Post formats Select element cannot listen to JS

WordPress Trac noreply at wordpress.org
Tue Aug 14 22:57:07 UTC 2018


#44797: Post formats Select element cannot listen to JS
------------------------------------------+-----------------------------
 Reporter:  oxibug                        |      Owner:  (none)
     Type:  defect (bug)                  |     Status:  new
 Priority:  normal                        |  Milestone:  Awaiting Review
Component:  General                       |    Version:  4.9.8
 Severity:  normal                        |   Keywords:
  Focuses:  javascript, coding-standards  |
------------------------------------------+-----------------------------
 Hi Guys,

 The old post formats container was radio buttons in a div with a unique
 ID, Now you made it as Select element and its ID always changing with
 numbers (I don't know why you do that) but anyway I need to read the value
 of post format select on change and on page load to use in my plugin I
 used select path (.gutenberg .editor-post-format select) but I noticed
 that I cannot make a code working with your elements.

 P.S. I test the same code with old WordPress editor and it's working good.

 Thanks for your GREAT project.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44797>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list