2016-06-29 21 views
0

パッチを使用してtodoタグを更新しようとしましたが、デフォルトのtodoタグでonenoteによって作成されたページにIDまたはデータIDがありません。
パッチを使用して要素をどのようにターゲットできますか?デフォルトのタグ(チェックボックス)にデータIDまたはIDがありません

これは、data-tag = "to-do"が対象とするidを持たないページの例です。

<html lang="en-US"> 
<head> 
    <title>Test todo&#39;s</title> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <meta name="created" content="2016-07-01T11:26:00.0000000" /> 
</head> 
<body data-absolute-enabled="true" style="font-family:Calibri;font-size:11pt"> 
    <div style="position:absolute;left:48px;top:115px;width:576px"> 
     <p style="margin-top:0pt;margin-bottom:0pt">Hello,</p> 
     <br /> 
     <p style="margin-top:0pt;margin-bottom:0pt">These are some default todos from onenote desktop.</p> 
     <br /> 
     <p data-tag="to-do" style="margin-top:0pt;margin-bottom:0pt">Default todo tag;</p> 
     <br /> 
     <p style="margin-top:0pt;margin-bottom:0pt">Can we target a default todo tag?</p> 
     <br /> 
     <br /> 
     <p style="margin-top:0pt;margin-bottom:0pt">Gijs</p> 
    </div> 
</body> 

答えて

関連する問題