onenote api beta - patch method not support id attribute on tag paragraph

126 Views Asked by At

i use onenote patch method API (beta),

send the body :

[{
  'target': 'body',
  'action': 'append',
  'content': '<p id="item1">test</p>'
}]

and the result is :

<p lang="en-US">test</p>

where is the attribute ID ?

is patch method not support id attribute for tag paragraph ?

it seems work for tag img

thx, Edwin

1

There are 1 best solutions below

1
On

Sorry for the trouble! This looks like a bug in the beta-page recall feature where we are missing ids on some of the page elements like paragraphs and tables. We are fixing it now and will reply back once the issue is fixed.

Thanks and sorry for the any inconvenience caused!