API bug of Input HTML when creating new pages with non-contributing default div
Just came across this bug when trying to create an empty page and append content to it later through data-id.
The HTML I used to create the empty page is:
<title>some title generated</title>
<meta name="created" content="some time string generated" />
The page was created successfully but when I tried to update it later, the response is data-id not found.
So I tried to get the HTML body of the page created and it was like this:
<title>test without content</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="created" content="2017-02-20T21:02:00.0000000" />
<body data-absolute-enabled="true" style="font-family:Calibri;font-size:11pt" />
The div part is missing, however according to your doc, "However, the div would have been preserved if it defined any semantic information, such as a data-id".
There certaintly are other ways to make it work, but please fix it anyway, thanks.