You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(structured-content): add live SDT fields to interactive demo
Use onReady callback to auto-insert inline and block sdtLocked fields
into the example document on load, replacing placeholder text with
real structured content fields. Reorganize buttons into logical groups:
update actions, lock mode actions, and delete.
html={`<p><b>Service Agreement</b></p><p>This agreement is entered into by and between <i>Acme Corp</i> ("Company") and the client named below. The Company agrees to provide consulting services as outlined in the attached statement of work.</p><p><b>Client Information</b></p><p>Name: ________ Date: January 1, 2026</p><p><b>Terms</b></p><p>Payment is due within 30 days of invoice date. All work products remain property of the Company until final payment is received.</p>`}
14
-
height="300px"
13
+
html={`<p><b>Service Agreement</b></p><p>This agreement is entered into by and between <i>Acme Corp</i> ("Company") and the client identified below.</p><p>Client name: ________</p><p>The Company agrees to provide consulting services under the following terms:</p><p>________</p>`}
json: { type: 'paragraph', content: [{ type: 'text', text: 'Payment is due within 30 days of invoice date. Late payments incur a 1.5% monthly fee.' }] },
json: { type: 'paragraph', content: [{ type: 'text', text: 'Payment is due within 30 days of invoice date. Late payments incur a 1.5% monthly fee. All disputes must be submitted in writing within 10 business days.' }] }
json: { type: 'paragraph', content: [{ type: 'text', text: 'Net-15 payment terms apply. A 2% early payment discount is available for invoices settled within 7 days.' }] }
0 commit comments