[wp-trac] [WordPress Trac] #50443: Heading h2 rest api level

WordPress Trac noreply at wordpress.org
Mon Jun 22 00:26:00 UTC 2020


#50443: Heading h2 rest api level
--------------------------+-----------------------------
 Reporter:  zavod008      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  5.4.2
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  rest-api      |
--------------------------+-----------------------------
 Во всех заголовках кроме h2, возвращаются нормальные атрибуты уровня. Не
 знаю с чем это связано.


 {{{
 {
     "blockName": "core/heading",
     "attrs": [],
     "innerBlocks": [],
     "innerHTML": "\n<h2>222222222222222</h2>\n",
     "innerContent": [
         "\n<h2>222222222222222</h2>\n"
     ],
     "content": {
         "text": "222222222222222"
     }
 },
 }}}

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


More information about the wp-trac mailing list