After OneNote page update with Graph API images and objects on the page are not available anymore
I'm updating the OneNote page using MS Graph API from C# application.
First I receive page content from API. Then find required table tag. Then edit table adding some text and make PATCH request for page update using JSON like
[
{ 'target':'table:{id}',
'action':'replace',
'content':'<table>...<table/>' },
]
The problem is if there are images or objects tags inside the table, I send them without changing as received in page content. But after performing update request images and objects are not available on the page in browser.
And if I'll load page contain with API again, I see the different source link for images and an empty link for objects.
Though, images and object placed outside the updated table stay safe.