[{"data":1,"prerenderedAt":2033},["ShallowReactive",2],{"navigation_docs":3,"-docs-core-content-modeling-fields-rich-text":478,"-docs-core-content-modeling-fields-rich-text-surround":1798,"mdc--x3lu8g-key":1803,"mdc--5ugjsa-key":1814,"mdc--evu2iu-key":1823,"mdc-rlfo-key":1832,"mdc--dmjfhf-key":1849,"mdc--sz1000-key":1865,"mdc--z504j2-key":1881,"mdc-of2q3a-key":1897,"mdc--vl48ac-key":1906,"mdc--j75b70-key":1921,"mdc--rb8zmg-key":1943,"mdc-od5rku-key":1957,"mdc--bg6odx-key":1966,"mdc-qrsd8t-key":1975,"mdc--z84m0w-key":1991,"mdc-7oq4f5-key":2000,"mdc--ptzd4t-key":2017},[4,352,446],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Docs",false,"\u002Fdocs\u002Fcore","docs\u002F1.core",[10,35,141,174,195,212,242,318],{"title":11,"icon":6,"path":12,"stem":13,"children":14,"page":6},"Getting Started","\u002Fdocs\u002Fcore\u002Fgetting-started","docs\u002F1.core\u002F1.getting-started",[15,19,23,27,31],{"title":16,"path":17,"stem":18},"Introduction","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fintroduction","docs\u002F1.core\u002F1.getting-started\u002F1.introduction",{"title":20,"path":21,"stem":22},"Quick Start","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fquick-start","docs\u002F1.core\u002F1.getting-started\u002F2.quick-start",{"title":24,"path":25,"stem":26},"Add to an Existing Site","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fexisting-site","docs\u002F1.core\u002F1.getting-started\u002F3.existing-site",{"title":28,"path":29,"stem":30},"Configuration","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fconfiguration","docs\u002F1.core\u002F1.getting-started\u002F4.configuration",{"title":32,"path":33,"stem":34},"How Tenon works","\u002Fdocs\u002Fcore\u002Fgetting-started\u002Fhow-tenon-works","docs\u002F1.core\u002F1.getting-started\u002F5.how-tenon-works",{"title":36,"icon":6,"path":37,"stem":38,"children":39,"page":6},"Content Modeling","\u002Fdocs\u002Fcore\u002Fcontent-modeling","docs\u002F1.core\u002F2.content-modeling",[40,44,111,115,119],{"title":41,"path":42,"stem":43},"Collections and Globals","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fcollections-and-globals","docs\u002F1.core\u002F2.content-modeling\u002F1.collections-and-globals",{"title":45,"icon":6,"path":46,"stem":47,"children":48},"Fields","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002Findex",[49,51,55,59,63,67,71,75,79,83,87,91,95,99,103,107],{"title":50,"path":46,"stem":47},"Overview",{"title":52,"path":53,"stem":54},"Array","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Farray","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F01.array",{"title":56,"path":57,"stem":58},"Blocks","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fblocks","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F02.blocks",{"title":60,"path":61,"stem":62},"Boolean","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fboolean","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F03.boolean",{"title":64,"path":65,"stem":66},"Date","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fdate","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F04.date",{"title":68,"path":69,"stem":70},"File","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ffile","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F05.file",{"title":72,"path":73,"stem":74},"Group","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fgroup","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F06.group",{"title":76,"path":77,"stem":78},"Image","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fimage","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F07.image",{"title":80,"path":81,"stem":82},"Link","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Flink","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F08.link",{"title":84,"path":85,"stem":86},"Number","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fnumber","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F09.number",{"title":88,"path":89,"stem":90},"Relation","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frelation","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F10.relation",{"title":92,"path":93,"stem":94},"Rich text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Frich-text","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F11.rich-text",{"title":96,"path":97,"stem":98},"Select","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fselect","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F12.select",{"title":100,"path":101,"stem":102},"Size","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fsize","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F13.size",{"title":104,"path":105,"stem":106},"Slug","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Fslug","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F14.slug",{"title":108,"path":109,"stem":110},"Text","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields\u002Ftext","docs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F15.text",{"title":112,"path":113,"stem":114},"Relations","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Frelations","docs\u002F1.core\u002F2.content-modeling\u002F3.relations",{"title":116,"path":117,"stem":118},"Media","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fmedia","docs\u002F1.core\u002F2.content-modeling\u002F4.media",{"title":120,"icon":6,"path":121,"stem":122,"children":123},"Presets","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002Findex",[124,125,129,133,137],{"title":50,"path":121,"stem":122},{"title":126,"path":127,"stem":128},"Menu","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fmenu","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F1.menu",{"title":130,"path":131,"stem":132},"Pages","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fpages","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F2.pages",{"title":134,"path":135,"stem":136},"Settings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fsettings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F3.settings",{"title":138,"path":139,"stem":140},"Strings","\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Fpresets\u002Fstrings","docs\u002F1.core\u002F2.content-modeling\u002F5.presets\u002F4.strings",{"title":142,"icon":6,"path":143,"stem":144,"children":145,"page":6},"Working with Content","\u002Fdocs\u002Fcore\u002Fworking-with-content","docs\u002F1.core\u002F3.working-with-content",[146,150,154,158,162,166,170],{"title":147,"path":148,"stem":149},"Reading","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Freading","docs\u002F1.core\u002F3.working-with-content\u002F1.reading",{"title":151,"path":152,"stem":153},"Writing and Drafts","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fwriting","docs\u002F1.core\u002F3.working-with-content\u002F2.writing",{"title":155,"path":156,"stem":157},"Scheduled publishing","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fscheduled-publishing","docs\u002F1.core\u002F3.working-with-content\u002F3.scheduled-publishing",{"title":159,"path":160,"stem":161},"HTTP API and Client","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhttp-api-and-client","docs\u002F1.core\u002F3.working-with-content\u002F4.http-api-and-client",{"title":163,"path":164,"stem":165},"Headless","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fheadless","docs\u002F1.core\u002F3.working-with-content\u002F5.headless",{"title":167,"path":168,"stem":169},"Localization","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Flocalization","docs\u002F1.core\u002F3.working-with-content\u002F6.localization",{"title":171,"path":172,"stem":173},"Hooks","\u002Fdocs\u002Fcore\u002Fworking-with-content\u002Fhooks","docs\u002F1.core\u002F3.working-with-content\u002F7.hooks",{"title":175,"icon":6,"path":176,"stem":177,"children":178,"page":6},"Building Your Site","\u002Fdocs\u002Fcore\u002Fbuilding-your-site","docs\u002F1.core\u002F4.building-your-site",[179,183,187,191],{"title":180,"path":181,"stem":182},"Pages and SEO","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fpages-and-seo","docs\u002F1.core\u002F4.building-your-site\u002F1.pages-and-seo",{"title":184,"path":185,"stem":186},"Components","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fcomponents","docs\u002F1.core\u002F4.building-your-site\u002F2.components",{"title":188,"path":189,"stem":190},"Menus","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fmenus","docs\u002F1.core\u002F4.building-your-site\u002F3.menus",{"title":192,"path":193,"stem":194},"Live Preview","\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Flive-preview","docs\u002F1.core\u002F4.building-your-site\u002F4.live-preview",{"title":196,"icon":6,"path":197,"stem":198,"children":199,"page":6},"Users and Access","\u002Fdocs\u002Fcore\u002Fusers-and-access","docs\u002F1.core\u002F5.users-and-access",[200,204,208],{"title":201,"path":202,"stem":203},"Authentication","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fauthentication","docs\u002F1.core\u002F5.users-and-access\u002F1.authentication",{"title":205,"path":206,"stem":207},"Access Control","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Faccess-control","docs\u002F1.core\u002F5.users-and-access\u002F2.access-control",{"title":209,"path":210,"stem":211},"API Keys","\u002Fdocs\u002Fcore\u002Fusers-and-access\u002Fapi-keys","docs\u002F1.core\u002F5.users-and-access\u002F3.api-keys",{"title":213,"icon":6,"path":214,"stem":215,"children":216},"Customization","\u002Fdocs\u002Fcore\u002Fcustomization","docs\u002F1.core\u002F6.customization\u002Findex",[217,218,222,226,230,234,238],{"title":50,"path":214,"stem":215},{"title":219,"path":220,"stem":221},"Admin","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fadmin","docs\u002F1.core\u002F6.customization\u002F1.admin",{"title":223,"path":224,"stem":225},"Custom Fields","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-fields","docs\u002F1.core\u002F6.customization\u002F2.custom-fields",{"title":227,"path":228,"stem":229},"Custom Pages and Actions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fcustom-pages-and-actions","docs\u002F1.core\u002F6.customization\u002F3.custom-pages-and-actions",{"title":231,"path":232,"stem":233},"Styles and UI Libraries","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fstyles-and-ui-libraries","docs\u002F1.core\u002F6.customization\u002F4.styles-and-ui-libraries",{"title":235,"path":236,"stem":237},"Rich Text Extensions","\u002Fdocs\u002Fcore\u002Fcustomization\u002Frich-text-extensions","docs\u002F1.core\u002F6.customization\u002F5.rich-text-extensions",{"title":239,"path":240,"stem":241},"Plugins","\u002Fdocs\u002Fcore\u002Fcustomization\u002Fplugins","docs\u002F1.core\u002F6.customization\u002F6.plugins",{"title":243,"icon":6,"path":244,"stem":245,"children":246},"Operations","\u002Fdocs\u002Fcore\u002Foperations","docs\u002F1.core\u002F7.operations\u002Findex",[247,248,266,288,306,310,314],{"title":50,"path":244,"stem":245},{"title":249,"icon":6,"path":250,"stem":251,"children":252},"Email","\u002Fdocs\u002Fcore\u002Foperations\u002Femail","docs\u002F1.core\u002F7.operations\u002F1.email\u002Findex",[253,254,258,262],{"title":50,"path":250,"stem":251},{"title":255,"path":256,"stem":257},"SMTP","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fsmtp","docs\u002F1.core\u002F7.operations\u002F1.email\u002F1.smtp",{"title":259,"path":260,"stem":261},"Cloudflare","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcloudflare","docs\u002F1.core\u002F7.operations\u002F1.email\u002F2.cloudflare",{"title":263,"path":264,"stem":265},"Custom adapter","\u002Fdocs\u002Fcore\u002Foperations\u002Femail\u002Fcustom-adapter","docs\u002F1.core\u002F7.operations\u002F1.email\u002F3.custom-adapter",{"title":267,"icon":6,"path":268,"stem":269,"children":270},"Jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002Findex",[271,272,276,280,284],{"title":50,"path":268,"stem":269},{"title":273,"path":274,"stem":275},"Queue jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fqueue-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F1.queue-jobs",{"title":277,"path":278,"stem":279},"Recurring jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Frecurring-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F2.recurring-jobs",{"title":281,"path":282,"stem":283},"The clock","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fclock","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F3.clock",{"title":285,"path":286,"stem":287},"Manage jobs","\u002Fdocs\u002Fcore\u002Foperations\u002Fjobs\u002Fmanage-jobs","docs\u002F1.core\u002F7.operations\u002F2.jobs\u002F4.manage-jobs",{"title":289,"icon":6,"path":290,"stem":291,"children":292},"Webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002Findex",[293,294,298,302],{"title":50,"path":290,"stem":291},{"title":295,"path":296,"stem":297},"Send webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Fsend-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F1.send-webhooks",{"title":299,"path":300,"stem":301},"Receive webhooks","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Freceive-webhooks","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F2.receive-webhooks",{"title":303,"path":304,"stem":305},"Rebuild on publish","\u002Fdocs\u002Fcore\u002Foperations\u002Fwebhooks\u002Frebuild-on-publish","docs\u002F1.core\u002F7.operations\u002F3.webhooks\u002F3.rebuild-on-publish",{"title":307,"path":308,"stem":309},"Backup and Restore","\u002Fdocs\u002Fcore\u002Foperations\u002Fbackup-and-restore","docs\u002F1.core\u002F7.operations\u002F4.backup-and-restore",{"title":311,"path":312,"stem":313},"Lifecycle Hooks","\u002Fdocs\u002Fcore\u002Foperations\u002Flifecycle-hooks","docs\u002F1.core\u002F7.operations\u002F5.lifecycle-hooks",{"title":315,"path":316,"stem":317},"Upgrades and Schema Changes","\u002Fdocs\u002Fcore\u002Foperations\u002Fupgrades-and-schema-changes","docs\u002F1.core\u002F7.operations\u002F6.upgrades-and-schema-changes",{"title":319,"icon":6,"path":320,"stem":321,"children":322,"page":6},"Reference","\u002Fdocs\u002Fcore\u002Freference","docs\u002F1.core\u002F8.reference",[323,326,344,348],{"title":28,"path":324,"stem":325},"\u002Fdocs\u002Fcore\u002Freference\u002Fconfiguration","docs\u002F1.core\u002F8.reference\u002F1.configuration",{"title":327,"icon":6,"path":328,"stem":329,"children":330},"API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi","docs\u002F1.core\u002F8.reference\u002F2.api\u002Findex",[331,332,336,340],{"title":50,"path":328,"stem":329},{"title":333,"path":334,"stem":335},"Local API","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Flocal-api","docs\u002F1.core\u002F8.reference\u002F2.api\u002F1.local-api",{"title":337,"path":338,"stem":339},"Client","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fclient","docs\u002F1.core\u002F8.reference\u002F2.api\u002F2.client",{"title":341,"path":342,"stem":343},"HTTP routes","\u002Fdocs\u002Fcore\u002Freference\u002Fapi\u002Fhttp-routes","docs\u002F1.core\u002F8.reference\u002F2.api\u002F3.http-routes",{"title":345,"path":346,"stem":347},"Errors and types","\u002Fdocs\u002Fcore\u002Freference\u002Ferrors-and-types","docs\u002F1.core\u002F8.reference\u002F3.errors-and-types",{"title":349,"path":350,"stem":351},"Package exports","\u002Fdocs\u002Fcore\u002Freference\u002Fpackage-exports","docs\u002F1.core\u002F8.reference\u002F4.package-exports",{"title":353,"icon":6,"path":354,"stem":355,"children":356,"page":6},"Guide","\u002Fdocs\u002Fguide","docs\u002F2.guide",[357,383,400,417],{"title":358,"icon":6,"path":359,"stem":360,"children":361},"Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks","docs\u002F2.guide\u002F1.frameworks\u002Findex",[362,363,367,371,375,379],{"title":50,"path":359,"stem":360},{"title":364,"path":365,"stem":366},"Astro","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fastro","docs\u002F2.guide\u002F1.frameworks\u002F1.astro",{"title":368,"path":369,"stem":370},"Nuxt","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fnuxt","docs\u002F2.guide\u002F1.frameworks\u002F2.nuxt",{"title":372,"path":373,"stem":374},"TanStack Start","\u002Fdocs\u002Fguide\u002Fframeworks\u002Ftanstack-start","docs\u002F2.guide\u002F1.frameworks\u002F3.tanstack-start",{"title":376,"path":377,"stem":378},"Standalone","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fstandalone","docs\u002F2.guide\u002F1.frameworks\u002F4.standalone",{"title":380,"path":381,"stem":382},"Other Frameworks","\u002Fdocs\u002Fguide\u002Fframeworks\u002Fother-frameworks","docs\u002F2.guide\u002F1.frameworks\u002F5.other-frameworks",{"title":384,"icon":6,"path":385,"stem":386,"children":387},"Deployment","\u002Fdocs\u002Fguide\u002Fdeployment","docs\u002F2.guide\u002F2.deployment\u002Findex",[388,389,393,397],{"title":50,"path":385,"stem":386},{"title":390,"path":391,"stem":392},"Node","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fnode","docs\u002F2.guide\u002F2.deployment\u002F1.node",{"title":394,"path":395,"stem":396},"Vercel","\u002Fdocs\u002Fguide\u002Fdeployment\u002Fvercel","docs\u002F2.guide\u002F2.deployment\u002F2.vercel",{"title":259,"path":398,"stem":399},"\u002Fdocs\u002Fguide\u002Fdeployment\u002Fcloudflare","docs\u002F2.guide\u002F2.deployment\u002F3.cloudflare",{"title":401,"icon":6,"path":402,"stem":403,"children":404,"page":6},"Databases and Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage","docs\u002F2.guide\u002F3.databases-and-storage",[405,409,413],{"title":406,"path":407,"stem":408},"Databases","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fdatabases","docs\u002F2.guide\u002F3.databases-and-storage\u002F1.databases",{"title":410,"path":411,"stem":412},"Media Storage","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fmedia-storage","docs\u002F2.guide\u002F3.databases-and-storage\u002F2.media-storage",{"title":414,"path":415,"stem":416},"Image Providers","\u002Fdocs\u002Fguide\u002Fdatabases-and-storage\u002Fimage-providers","docs\u002F2.guide\u002F3.databases-and-storage\u002F3.image-providers",{"title":418,"icon":6,"path":419,"stem":420,"children":421,"page":6},"Recipes","\u002Fdocs\u002Fguide\u002Frecipes","docs\u002F2.guide\u002F4.recipes",[422,426,430,434,438,442],{"title":423,"path":424,"stem":425},"Seed Content","\u002Fdocs\u002Fguide\u002Frecipes\u002Fseed-content","docs\u002F2.guide\u002F4.recipes\u002F1.seed-content",{"title":427,"path":428,"stem":429},"Tracking and Consent","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftracking-and-consent","docs\u002F2.guide\u002F4.recipes\u002F2.tracking-and-consent",{"title":431,"path":432,"stem":433},"Build a Custom Field","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-custom-field","docs\u002F2.guide\u002F4.recipes\u002F3.build-a-custom-field",{"title":435,"path":436,"stem":437},"Write a Plugin","\u002Fdocs\u002Fguide\u002Frecipes\u002Fwrite-a-plugin","docs\u002F2.guide\u002F4.recipes\u002F4.write-a-plugin",{"title":439,"path":440,"stem":441},"Build a Headless Site with Next.js","\u002Fdocs\u002Fguide\u002Frecipes\u002Fbuild-a-headless-site-with-nextjs","docs\u002F2.guide\u002F4.recipes\u002F5.build-a-headless-site-with-nextjs",{"title":443,"path":444,"stem":445},"Troubleshooting","\u002Fdocs\u002Fguide\u002Frecipes\u002Ftroubleshooting","docs\u002F2.guide\u002F4.recipes\u002F6.troubleshooting",{"title":447,"icon":6,"path":448,"stem":449,"children":450,"page":6},"CLI","\u002Fdocs\u002Fcli","docs\u002F3.cli",[451,454,458,462,466,470,474],{"title":50,"path":452,"stem":453},"\u002Fdocs\u002Fcli\u002Foverview","docs\u002F3.cli\u002F1.overview",{"title":455,"path":456,"stem":457},"create-tenoncms","\u002Fdocs\u002Fcli\u002Fcreate-tenoncms","docs\u002F3.cli\u002F2.create-tenoncms",{"title":459,"path":460,"stem":461},"tenon backup","\u002Fdocs\u002Fcli\u002Fbackup","docs\u002F3.cli\u002F3.backup",{"title":463,"path":464,"stem":465},"tenon users","\u002Fdocs\u002Fcli\u002Fusers","docs\u002F3.cli\u002F4.users",{"title":467,"path":468,"stem":469},"tenon media","\u002Fdocs\u002Fcli\u002Fmedia","docs\u002F3.cli\u002F5.media",{"title":471,"path":472,"stem":473},"tenon upgrade","\u002Fdocs\u002Fcli\u002Fupgrade","docs\u002F3.cli\u002F6.upgrade",{"title":475,"path":476,"stem":477},"tenon login","\u002Fdocs\u002Fcli\u002Flogin","docs\u002F3.cli\u002F7.login",{"id":479,"title":92,"body":480,"description":1792,"extension":1793,"links":1794,"meta":1795,"navigation":1005,"path":93,"seo":1796,"stem":94,"__hash__":1797},"docs\u002Fdocs\u002F1.core\u002F2.content-modeling\u002F2.fields\u002F11.rich-text.md",{"type":481,"value":482,"toc":1783},"minimark",[483,492,495,500,696,707,943,948,955,1187,1194,1198,1204,1322,1354,1457,1478,1484,1488,1501,1659,1678,1682,1689,1724,1738,1742,1776,1779],[484,485,486,487,491],"p",{},"A ",[488,489,490],"code",{},"richtext"," field gives editors a text editor with headings, lists, links and images. It stores the text as structured JSON, not as HTML. Your site renders it with a component, so the markup stays yours.",[493,494],"field-preview",{"name":490},[496,497,499],"h2",{"id":498},"example","Example",[501,502,508],"pre",{"className":503,"code":504,"filename":505,"language":506,"meta":507,"style":507},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","export const posts = defineCollection({\n  fields: {\n    title: { type: \"text\", required: true },\n    body: { type: \"richtext\" },\n    summary: { type: \"richtext\", allowed: [\"bold\", \"italic\", \"link\"] },\n  },\n});\n","cms\u002Fcollections\u002Fposts.ts","ts","",[488,509,510,541,554,595,617,678,684],{"__ignoreMap":507},[511,512,515,519,523,527,531,535,538],"span",{"class":513,"line":514},"line",1,[511,516,518],{"class":517},"s7zQu","export",[511,520,522],{"class":521},"spNyl"," const",[511,524,526],{"class":525},"sTEyZ"," posts ",[511,528,530],{"class":529},"sMK4o","=",[511,532,534],{"class":533},"s2Zo4"," defineCollection",[511,536,537],{"class":525},"(",[511,539,540],{"class":529},"{\n",[511,542,544,548,551],{"class":513,"line":543},2,[511,545,547],{"class":546},"swJcz","  fields",[511,549,550],{"class":529},":",[511,552,553],{"class":529}," {\n",[511,555,557,560,562,565,568,570,573,577,580,583,586,588,592],{"class":513,"line":556},3,[511,558,559],{"class":546},"    title",[511,561,550],{"class":529},[511,563,564],{"class":529}," {",[511,566,567],{"class":546}," type",[511,569,550],{"class":529},[511,571,572],{"class":529}," \"",[511,574,576],{"class":575},"sfazB","text",[511,578,579],{"class":529},"\"",[511,581,582],{"class":529},",",[511,584,585],{"class":546}," required",[511,587,550],{"class":529},[511,589,591],{"class":590},"sfNiH"," true",[511,593,594],{"class":529}," },\n",[511,596,598,601,603,605,607,609,611,613,615],{"class":513,"line":597},4,[511,599,600],{"class":546},"    body",[511,602,550],{"class":529},[511,604,564],{"class":529},[511,606,567],{"class":546},[511,608,550],{"class":529},[511,610,572],{"class":529},[511,612,490],{"class":575},[511,614,579],{"class":529},[511,616,594],{"class":529},[511,618,620,623,625,627,629,631,633,635,637,639,642,644,647,649,652,654,656,658,661,663,665,667,670,672,675],{"class":513,"line":619},5,[511,621,622],{"class":546},"    summary",[511,624,550],{"class":529},[511,626,564],{"class":529},[511,628,567],{"class":546},[511,630,550],{"class":529},[511,632,572],{"class":529},[511,634,490],{"class":575},[511,636,579],{"class":529},[511,638,582],{"class":529},[511,640,641],{"class":546}," allowed",[511,643,550],{"class":529},[511,645,646],{"class":525}," [",[511,648,579],{"class":529},[511,650,651],{"class":575},"bold",[511,653,579],{"class":529},[511,655,582],{"class":529},[511,657,572],{"class":529},[511,659,660],{"class":575},"italic",[511,662,579],{"class":529},[511,664,582],{"class":529},[511,666,572],{"class":529},[511,668,669],{"class":575},"link",[511,671,579],{"class":529},[511,673,674],{"class":525},"] ",[511,676,677],{"class":529},"},\n",[511,679,681],{"class":513,"line":680},6,[511,682,683],{"class":529},"  },\n",[511,685,687,690,693],{"class":513,"line":686},7,[511,688,689],{"class":529},"}",[511,691,692],{"class":525},")",[511,694,695],{"class":529},";\n",[484,697,698,699,706],{},"The value is a ",[700,701,705],"a",{"href":702,"rel":703},"https:\u002F\u002Ftiptap.dev",[704],"nofollow","Tiptap"," JSON document:",[501,708,712],{"className":709,"code":710,"language":711,"meta":507,"style":507},"language-json shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","{\n  \"type\": \"doc\",\n  \"content\": [\n    {\n      \"type\": \"heading\",\n      \"attrs\": { \"level\": 2 },\n      \"content\": [{ \"type\": \"text\", \"text\": \"Hello\" }]\n    },\n    { \"type\": \"paragraph\", \"content\": [{ \"type\": \"text\", \"text\": \"First post.\" }] }\n  ]\n}\n","json",[488,713,714,718,740,754,759,780,808,855,861,931,937],{"__ignoreMap":507},[511,715,716],{"class":513,"line":514},[511,717,540],{"class":529},[511,719,720,723,726,728,730,732,735,737],{"class":513,"line":543},[511,721,722],{"class":529},"  \"",[511,724,725],{"class":521},"type",[511,727,579],{"class":529},[511,729,550],{"class":529},[511,731,572],{"class":529},[511,733,734],{"class":575},"doc",[511,736,579],{"class":529},[511,738,739],{"class":529},",\n",[511,741,742,744,747,749,751],{"class":513,"line":556},[511,743,722],{"class":529},[511,745,746],{"class":521},"content",[511,748,579],{"class":529},[511,750,550],{"class":529},[511,752,753],{"class":529}," [\n",[511,755,756],{"class":513,"line":597},[511,757,758],{"class":529},"    {\n",[511,760,761,764,767,769,771,773,776,778],{"class":513,"line":619},[511,762,763],{"class":529},"      \"",[511,765,725],{"class":766},"sBMFI",[511,768,579],{"class":529},[511,770,550],{"class":529},[511,772,572],{"class":529},[511,774,775],{"class":575},"heading",[511,777,579],{"class":529},[511,779,739],{"class":529},[511,781,782,784,787,789,791,793,795,799,801,803,806],{"class":513,"line":680},[511,783,763],{"class":529},[511,785,786],{"class":766},"attrs",[511,788,579],{"class":529},[511,790,550],{"class":529},[511,792,564],{"class":529},[511,794,572],{"class":529},[511,796,798],{"class":797},"sbssI","level",[511,800,579],{"class":529},[511,802,550],{"class":529},[511,804,805],{"class":797}," 2",[511,807,594],{"class":529},[511,809,810,812,814,816,818,821,823,825,827,829,831,833,835,837,839,841,843,845,847,850,852],{"class":513,"line":686},[511,811,763],{"class":529},[511,813,746],{"class":766},[511,815,579],{"class":529},[511,817,550],{"class":529},[511,819,820],{"class":529}," [{",[511,822,572],{"class":529},[511,824,725],{"class":797},[511,826,579],{"class":529},[511,828,550],{"class":529},[511,830,572],{"class":529},[511,832,576],{"class":575},[511,834,579],{"class":529},[511,836,582],{"class":529},[511,838,572],{"class":529},[511,840,576],{"class":797},[511,842,579],{"class":529},[511,844,550],{"class":529},[511,846,572],{"class":529},[511,848,849],{"class":575},"Hello",[511,851,579],{"class":529},[511,853,854],{"class":529}," }]\n",[511,856,858],{"class":513,"line":857},8,[511,859,860],{"class":529},"    },\n",[511,862,864,867,869,871,873,875,877,880,882,884,886,888,890,892,894,896,898,900,902,904,906,908,910,912,914,916,918,920,923,925,928],{"class":513,"line":863},9,[511,865,866],{"class":529},"    {",[511,868,572],{"class":529},[511,870,725],{"class":766},[511,872,579],{"class":529},[511,874,550],{"class":529},[511,876,572],{"class":529},[511,878,879],{"class":575},"paragraph",[511,881,579],{"class":529},[511,883,582],{"class":529},[511,885,572],{"class":529},[511,887,746],{"class":766},[511,889,579],{"class":529},[511,891,550],{"class":529},[511,893,820],{"class":529},[511,895,572],{"class":529},[511,897,725],{"class":797},[511,899,579],{"class":529},[511,901,550],{"class":529},[511,903,572],{"class":529},[511,905,576],{"class":575},[511,907,579],{"class":529},[511,909,582],{"class":529},[511,911,572],{"class":529},[511,913,576],{"class":797},[511,915,579],{"class":529},[511,917,550],{"class":529},[511,919,572],{"class":529},[511,921,922],{"class":575},"First post.",[511,924,579],{"class":529},[511,926,927],{"class":529}," }]",[511,929,930],{"class":529}," }\n",[511,932,934],{"class":513,"line":933},10,[511,935,936],{"class":529},"  ]\n",[511,938,940],{"class":513,"line":939},11,[511,941,942],{"class":529},"}\n",[944,945,947],"h3",{"id":946},"render-it","Render it",[484,949,950,951,954],{},"The ",[488,952,953],{},"Richtext"," component turns the JSON into HTML on the server:",[956,957,959,1047,1123],"code-group",{"sync":958},"framework",[501,960,964],{"className":961,"code":962,"filename":364,"language":963,"meta":507,"style":507},"language-astro shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","---\nimport { Richtext } from \"tenoncms\u002Fastro\u002Fcomponents\";\n---\n\n\u003CRichtext content={post.body} class=\"prose\" \u002F>\n","astro",[488,965,966,972,997,1001,1007],{"__ignoreMap":507},[511,967,968],{"class":513,"line":514},[511,969,971],{"class":970},"sHwdD","---\n",[511,973,974,977,979,982,985,988,990,993,995],{"class":513,"line":543},[511,975,976],{"class":517},"import",[511,978,564],{"class":529},[511,980,981],{"class":525}," Richtext",[511,983,984],{"class":529}," }",[511,986,987],{"class":517}," from",[511,989,572],{"class":529},[511,991,992],{"class":575},"tenoncms\u002Fastro\u002Fcomponents",[511,994,579],{"class":529},[511,996,695],{"class":529},[511,998,999],{"class":513,"line":556},[511,1000,971],{"class":970},[511,1002,1003],{"class":513,"line":597},[511,1004,1006],{"emptyLinePlaceholder":1005},true,"\n",[511,1008,1009,1012,1014,1017,1020,1023,1026,1029,1032,1035,1037,1039,1042,1044],{"class":513,"line":619},[511,1010,1011],{"class":529},"\u003C",[511,1013,953],{"class":766},[511,1015,1016],{"class":521}," content",[511,1018,1019],{"class":529},"={",[511,1021,1022],{"class":525},"post",[511,1024,1025],{"class":529},".",[511,1027,1028],{"class":525},"body",[511,1030,1031],{"class":529},"} ",[511,1033,1034],{"class":521},"class",[511,1036,530],{"class":529},[511,1038,579],{"class":529},[511,1040,1041],{"class":575},"prose",[511,1043,579],{"class":529},[511,1045,1046],{"class":529}," \u002F>\n",[501,1048,1052],{"className":1049,"code":1050,"filename":368,"language":1051,"meta":507,"style":507},"language-vue shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","\u003Ctemplate>\n  \u003CTenonRichtext :content=\"post.body\" class=\"prose\" as=\"article\" \u002F>\n\u003C\u002Ftemplate>\n","vue",[488,1053,1054,1064,1114],{"__ignoreMap":507},[511,1055,1056,1058,1061],{"class":513,"line":514},[511,1057,1011],{"class":529},[511,1059,1060],{"class":546},"template",[511,1062,1063],{"class":529},">\n",[511,1065,1066,1069,1072,1075,1077,1079,1081,1083,1085,1087,1089,1092,1094,1096,1098,1100,1103,1105,1107,1110,1112],{"class":513,"line":543},[511,1067,1068],{"class":529},"  \u003C",[511,1070,1071],{"class":546},"TenonRichtext",[511,1073,1074],{"class":529}," :",[511,1076,746],{"class":521},[511,1078,530],{"class":529},[511,1080,579],{"class":529},[511,1082,1022],{"class":525},[511,1084,1025],{"class":529},[511,1086,1028],{"class":525},[511,1088,579],{"class":529},[511,1090,1091],{"class":521}," class",[511,1093,530],{"class":529},[511,1095,579],{"class":529},[511,1097,1041],{"class":575},[511,1099,579],{"class":529},[511,1101,1102],{"class":521}," as",[511,1104,530],{"class":529},[511,1106,579],{"class":529},[511,1108,1109],{"class":575},"article",[511,1111,579],{"class":529},[511,1113,1046],{"class":529},[511,1115,1116,1119,1121],{"class":513,"line":556},[511,1117,1118],{"class":529},"\u003C\u002F",[511,1120,1060],{"class":546},[511,1122,1063],{"class":529},[501,1124,1128],{"className":1125,"code":1126,"filename":372,"language":1127,"meta":507,"style":507},"language-tsx shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { Richtext } from \"tenoncms\u002Freact\";\n\n\u003CRichtext content={post.body} className=\"prose\" \u002F>;\n","tsx",[488,1129,1130,1151,1155],{"__ignoreMap":507},[511,1131,1132,1134,1136,1138,1140,1142,1144,1147,1149],{"class":513,"line":514},[511,1133,976],{"class":517},[511,1135,564],{"class":529},[511,1137,981],{"class":525},[511,1139,984],{"class":529},[511,1141,987],{"class":517},[511,1143,572],{"class":529},[511,1145,1146],{"class":575},"tenoncms\u002Freact",[511,1148,579],{"class":529},[511,1150,695],{"class":529},[511,1152,1153],{"class":513,"line":543},[511,1154,1006],{"emptyLinePlaceholder":1005},[511,1156,1157,1159,1161,1163,1165,1167,1169,1171,1173,1176,1178,1180,1182,1184],{"class":513,"line":556},[511,1158,1011],{"class":529},[511,1160,953],{"class":766},[511,1162,1016],{"class":521},[511,1164,1019],{"class":529},[511,1166,1022],{"class":525},[511,1168,1025],{"class":529},[511,1170,1028],{"class":525},[511,1172,1031],{"class":529},[511,1174,1175],{"class":521},"className",[511,1177,530],{"class":529},[511,1179,579],{"class":529},[511,1181,1041],{"class":575},[511,1183,579],{"class":529},[511,1185,1186],{"class":529}," \u002F>;\n",[484,1188,1189,1190,1193],{},"It adds no styles. See ",[700,1191,184],{"href":1192},"\u002Fdocs\u002Fcore\u002Fbuilding-your-site\u002Fcomponents#richtext"," for all props and your own nodes.",[496,1195,1197],{"id":1196},"pick-the-features","Pick the features",[484,1199,1200,1203],{},[488,1201,1202],{},"allowed"," lists the features the editor offers:",[501,1205,1207],{"className":503,"code":1206,"language":506,"meta":507,"style":507},"summary: { type: \"richtext\", allowed: [\"bold\", \"italic\", \"link\"] },\nplain: { type: \"richtext\", allowed: [] },\neverything: { type: \"richtext\", allowed: RICHTEXT_FEATURES },\n",[488,1208,1209,1262,1292],{"__ignoreMap":507},[511,1210,1211,1214,1216,1218,1220,1222,1224,1226,1228,1230,1232,1234,1236,1238,1240,1242,1244,1246,1248,1250,1252,1254,1256,1258,1260],{"class":513,"line":514},[511,1212,1213],{"class":766},"summary",[511,1215,550],{"class":529},[511,1217,564],{"class":529},[511,1219,567],{"class":766},[511,1221,550],{"class":529},[511,1223,572],{"class":529},[511,1225,490],{"class":575},[511,1227,579],{"class":529},[511,1229,582],{"class":529},[511,1231,641],{"class":766},[511,1233,550],{"class":529},[511,1235,646],{"class":546},[511,1237,579],{"class":529},[511,1239,651],{"class":575},[511,1241,579],{"class":529},[511,1243,582],{"class":529},[511,1245,572],{"class":529},[511,1247,660],{"class":575},[511,1249,579],{"class":529},[511,1251,582],{"class":529},[511,1253,572],{"class":529},[511,1255,669],{"class":575},[511,1257,579],{"class":529},[511,1259,674],{"class":546},[511,1261,677],{"class":529},[511,1263,1264,1267,1269,1271,1273,1275,1277,1279,1281,1283,1285,1287,1290],{"class":513,"line":543},[511,1265,1266],{"class":766},"plain",[511,1268,550],{"class":529},[511,1270,564],{"class":529},[511,1272,567],{"class":766},[511,1274,550],{"class":529},[511,1276,572],{"class":529},[511,1278,490],{"class":575},[511,1280,579],{"class":529},[511,1282,582],{"class":529},[511,1284,641],{"class":766},[511,1286,550],{"class":529},[511,1288,1289],{"class":546}," [] ",[511,1291,677],{"class":529},[511,1293,1294,1297,1299,1301,1303,1305,1307,1309,1311,1313,1315,1317,1320],{"class":513,"line":556},[511,1295,1296],{"class":766},"everything",[511,1298,550],{"class":529},[511,1300,564],{"class":529},[511,1302,567],{"class":766},[511,1304,550],{"class":529},[511,1306,572],{"class":529},[511,1308,490],{"class":575},[511,1310,579],{"class":529},[511,1312,582],{"class":529},[511,1314,641],{"class":766},[511,1316,550],{"class":529},[511,1318,1319],{"class":525}," RICHTEXT_FEATURES",[511,1321,594],{"class":529},[484,1323,1324,1327,1328,1331,1332,1334,1335,1337,1338,1337,1340,1337,1342,1337,1344,1337,1347,1350,1351,1025],{},[488,1325,1326],{},"RICHTEXT_FEATURES"," comes from ",[488,1329,1330],{},"tenoncms\u002Frichtext",". Without ",[488,1333,1202],{},", a field has ",[488,1336,775],{},", ",[488,1339,651],{},[488,1341,660],{},[488,1343,669],{},[488,1345,1346],{},"bulletList",[488,1348,1349],{},"orderedList"," and ",[488,1352,1353],{},"blockquote",[1355,1356,1357,1369],"table",{},[1358,1359,1360],"thead",{},[1361,1362,1363,1366],"tr",{},[1364,1365,72],"th",{},[1364,1367,1368],{},"Features",[1370,1371,1372,1397,1413,1429,1443],"tbody",{},[1361,1373,1374,1377],{},[1375,1376,108],"td",{},[1375,1378,1379,1337,1381,1337,1383,1337,1386,1337,1389,1337,1392,1337,1395],{},[488,1380,651],{},[488,1382,660],{},[488,1384,1385],{},"underline",[488,1387,1388],{},"strike",[488,1390,1391],{},"subscript",[488,1393,1394],{},"superscript",[488,1396,488],{},[1361,1398,1399,1402],{},[1375,1400,1401],{},"Style",[1375,1403,1404,1337,1407,1337,1410],{},[488,1405,1406],{},"color",[488,1408,1409],{},"highlight",[488,1411,1412],{},"textAlign",[1361,1414,1415,1417],{},[1375,1416,56],{},[1375,1418,1419,1337,1421,1337,1423,1337,1426],{},[488,1420,775],{},[488,1422,1353],{},[488,1424,1425],{},"codeBlock",[488,1427,1428],{},"horizontalRule",[1361,1430,1431,1434],{},[1375,1432,1433],{},"Lists",[1375,1435,1436,1337,1438,1337,1440],{},[488,1437,1346],{},[488,1439,1349],{},[488,1441,1442],{},"taskList",[1361,1444,1445,1448],{},[1375,1446,1447],{},"Other",[1375,1449,1450,1337,1452,1337,1455],{},[488,1451,669],{},[488,1453,1454],{},"image",[488,1456,1355],{},[1458,1459,1460,1464,1467,1470],"ul",{},[1461,1462,1463],"li",{},"Paragraphs, line breaks and undo are always on.",[1461,1465,1466],{},"An unknown name stops the server at startup.",[1461,1468,1469],{},"Publishing checks that the content only uses allowed features. Drafts are checked less strictly.",[1461,1471,486,1472,1474,1475,1025],{},[488,1473,490],{}," field cannot be filtered or ",[488,1476,1477],{},"unique",[484,1479,1480,1481,1025],{},"To add a feature of your own, like a notice box, see ",[700,1482,1483],{"href":236},"Rich text extensions",[496,1485,1487],{"id":1486},"css-classes","CSS classes",[484,1489,1490,1493,1494,1497,1498,1500],{},[488,1491,1492],{},"classes"," lets editors apply your own CSS classes. A ",[488,1495,1496],{},"block"," class goes on a paragraph or heading. A ",[488,1499,576],{}," class goes on the selected text:",[501,1502,1504],{"className":503,"code":1503,"language":506,"meta":507,"style":507},"body: {\n  type: \"richtext\",\n  classes: [\n    { name: \"lead\", label: \"Lead\", on: \"block\" },\n    { name: \"text-brand font-bold\", label: \"Brand\", on: \"text\", preview: { color: \"#c2410c\" } },\n  ],\n},\n",[488,1505,1506,1514,1529,1538,1583,1648,1655],{"__ignoreMap":507},[511,1507,1508,1510,1512],{"class":513,"line":514},[511,1509,1028],{"class":766},[511,1511,550],{"class":529},[511,1513,553],{"class":529},[511,1515,1516,1519,1521,1523,1525,1527],{"class":513,"line":543},[511,1517,1518],{"class":766},"  type",[511,1520,550],{"class":529},[511,1522,572],{"class":529},[511,1524,490],{"class":575},[511,1526,579],{"class":529},[511,1528,739],{"class":529},[511,1530,1531,1534,1536],{"class":513,"line":556},[511,1532,1533],{"class":766},"  classes",[511,1535,550],{"class":529},[511,1537,753],{"class":546},[511,1539,1540,1542,1545,1547,1549,1552,1554,1556,1559,1561,1563,1566,1568,1570,1573,1575,1577,1579,1581],{"class":513,"line":597},[511,1541,866],{"class":529},[511,1543,1544],{"class":546}," name",[511,1546,550],{"class":529},[511,1548,572],{"class":529},[511,1550,1551],{"class":575},"lead",[511,1553,579],{"class":529},[511,1555,582],{"class":529},[511,1557,1558],{"class":546}," label",[511,1560,550],{"class":529},[511,1562,572],{"class":529},[511,1564,1565],{"class":575},"Lead",[511,1567,579],{"class":529},[511,1569,582],{"class":529},[511,1571,1572],{"class":546}," on",[511,1574,550],{"class":529},[511,1576,572],{"class":529},[511,1578,1496],{"class":575},[511,1580,579],{"class":529},[511,1582,594],{"class":529},[511,1584,1585,1587,1589,1591,1593,1596,1598,1600,1602,1604,1606,1609,1611,1613,1615,1617,1619,1621,1623,1625,1628,1630,1632,1635,1637,1639,1642,1644,1646],{"class":513,"line":619},[511,1586,866],{"class":529},[511,1588,1544],{"class":546},[511,1590,550],{"class":529},[511,1592,572],{"class":529},[511,1594,1595],{"class":575},"text-brand font-bold",[511,1597,579],{"class":529},[511,1599,582],{"class":529},[511,1601,1558],{"class":546},[511,1603,550],{"class":529},[511,1605,572],{"class":529},[511,1607,1608],{"class":575},"Brand",[511,1610,579],{"class":529},[511,1612,582],{"class":529},[511,1614,1572],{"class":546},[511,1616,550],{"class":529},[511,1618,572],{"class":529},[511,1620,576],{"class":575},[511,1622,579],{"class":529},[511,1624,582],{"class":529},[511,1626,1627],{"class":546}," preview",[511,1629,550],{"class":529},[511,1631,564],{"class":529},[511,1633,1634],{"class":546}," color",[511,1636,550],{"class":529},[511,1638,572],{"class":529},[511,1640,1641],{"class":575},"#c2410c",[511,1643,579],{"class":529},[511,1645,984],{"class":529},[511,1647,594],{"class":529},[511,1649,1650,1653],{"class":513,"line":680},[511,1651,1652],{"class":546},"  ]",[511,1654,739],{"class":529},[511,1656,1657],{"class":513,"line":686},[511,1658,677],{"class":529},[1458,1660,1661,1671],{},[1461,1662,1663,1664,1350,1667,1670],{},"The site renders them as ",[488,1665,1666],{},"\u003Cp class=\"lead\">",[488,1668,1669],{},"\u003Cspan class=\"text-brand font-bold\">",". Style them in your site's CSS.",[1461,1672,1673,1674,1677],{},"The admin does not load your CSS. ",[488,1675,1676],{},"preview"," sets the style the editor shows for the class.",[496,1679,1681],{"id":1680},"links-and-images","Links and images",[484,1683,1684,1685,1688],{},"A link can point to a URL or to a document of a collection with a ",[488,1686,1687],{},"permalink",". Editors search for pages in the link dialog.",[1458,1690,1691,1698,1711,1717],{},[1461,1692,1693,1694,1697],{},"A link to a document stores its id, not its URL. A read adds the current URL as ",[488,1695,1696],{},"href",", so the link follows when the page moves.",[1461,1699,1700,1701,1350,1704,1707,1708,1025],{},"A read of an image adds ",[488,1702,1703],{},"src",[488,1705,1706],{},"srcset"," from the ",[700,1709,1710],{"href":117},"media library",[1461,1712,1713,1714,1025],{},"A link or image whose target is gone reads with ",[488,1715,1716],{},"broken: true",[1461,1718,1719,1720,1723],{},"Unsafe URLs, like ",[488,1721,1722],{},"javascript:",", are rejected.",[484,1725,1726,1727,1730,1731,1734,1735,1025],{},"When you delete a document or a file that rich text links to, Tenon asks first. The admin shows a confirmation. In code, the delete throws a ",[488,1728,1729],{},"LinkedContentError"," (",[488,1732,1733],{},"409",") unless you pass ",[488,1736,1737],{},"{ allowBrokenLinks: true }",[496,1739,1741],{"id":1740},"options","Options",[1743,1744,1745,1750,1757],"field-group",{},[1746,1747],"field",{"name":725,"type":1748,":required":1749},"\"richtext\"","true",[1746,1751,1753,1754,1025],{"name":1202,"type":1752},"string[]","The features the editor offers. See ",[700,1755,1197],{"href":1756},"#pick-the-features",[1746,1758,1760,1761,1764,1765,1768,1769,1772,1773,1025],{"name":1492,"type":1759},"{ name, label, on, preview }[]","CSS classes editors can apply. ",[488,1762,1763],{},"on"," is ",[488,1766,1767],{},"\"block\""," or ",[488,1770,1771],{},"\"text\"",". See ",[700,1774,1487],{"href":1775},"#css-classes",[1777,1778],"field-common-options",{},[1780,1781,1782],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .sfNiH, html code.shiki .sfNiH{--shiki-light:#FF5370;--shiki-default:#FF9CAC;--shiki-dark:#FF9CAC}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html pre.shiki code .sbssI, html code.shiki .sbssI{--shiki-light:#F76D47;--shiki-default:#F78C6C;--shiki-dark:#F78C6C}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}",{"title":507,"searchDepth":543,"depth":543,"links":1784},[1785,1788,1789,1790,1791],{"id":498,"depth":543,"text":499,"children":1786},[1787],{"id":946,"depth":556,"text":947},{"id":1196,"depth":543,"text":1197},{"id":1486,"depth":543,"text":1487},{"id":1680,"depth":543,"text":1681},{"id":1740,"depth":543,"text":1741},"Formatted text with headings, lists, links and images.","md",null,{},{"title":92,"description":1792},"GuEwhZOUcHR8knLqrWHxFxZhXwbMJwzofrEoZyXXCUI",[1799,1801],{"title":88,"path":89,"stem":90,"description":1800,"children":-1},"Point to other documents, and list the documents that point back.",{"title":96,"path":97,"stem":98,"description":1802,"children":-1},"One or more values from a fixed list of options.",{"data":1804,"body":1805},{},{"type":1806,"children":1807},"root",[1808],{"type":1809,"tag":484,"props":1810,"children":1811},"element",{},[1812],{"type":576,"value":1813},"The label in the admin. Defaults to the key. Pass an object to translate it.",{"data":1815,"body":1816},{},{"type":1806,"children":1817},[1818],{"type":1809,"tag":484,"props":1819,"children":1820},{},[1821],{"type":576,"value":1822},"Help text below the input.",{"data":1824,"body":1825},{},{"type":1806,"children":1826},[1827],{"type":1809,"tag":484,"props":1828,"children":1829},{},[1830],{"type":576,"value":1831},"The value MUST be present. A list needs at least one item.",{"data":1833,"body":1834},{},{"type":1806,"children":1835},[1836],{"type":1809,"tag":484,"props":1837,"children":1838},{},[1839,1841,1847],{"type":576,"value":1840},"The value of a new document, when the field is missing. A plain value also fills the new form in the admin. A function, like ",{"type":1809,"tag":488,"props":1842,"children":1844},{"className":1843},[],[1845],{"type":576,"value":1846},"({ user }) => user?.id",{"type":576,"value":1848},", runs on the server only.",{"data":1850,"body":1851},{},{"type":1806,"children":1852},[1853],{"type":1809,"tag":484,"props":1854,"children":1855},{},[1856,1858,1864],{"type":576,"value":1857},"No other document of the collection has the same value. See ",{"type":1809,"tag":700,"props":1859,"children":1861},{"href":1860},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#validation",[1862],{"type":576,"value":1863},"Validation",{"type":576,"value":1025},{"data":1866,"body":1867},{},{"type":1806,"children":1868},[1869],{"type":1809,"tag":484,"props":1870,"children":1871},{},[1872,1874,1880],{"type":576,"value":1873},"Your own check. See ",{"type":1809,"tag":700,"props":1875,"children":1877},{"href":1876},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#your-own-checks",[1878],{"type":576,"value":1879},"Your own checks",{"type":576,"value":1025},{"data":1882,"body":1883},{},{"type":1806,"children":1884},[1885],{"type":1809,"tag":484,"props":1886,"children":1887},{},[1888,1890,1896],{"type":576,"value":1889},"Show the field only when other values match. See ",{"type":1809,"tag":700,"props":1891,"children":1893},{"href":1892},"\u002Fdocs\u002Fcore\u002Fcontent-modeling\u002Ffields#conditions",[1894],{"type":576,"value":1895},"Conditions",{"type":576,"value":1025},{"data":1898,"body":1899},{},{"type":1806,"children":1900},[1901],{"type":1809,"tag":484,"props":1902,"children":1903},{},[1904],{"type":576,"value":1905},"Public reads leave the value out. Signed-in users and server code see it.",{"data":1907,"body":1908},{},{"type":1806,"children":1909},[1910],{"type":1809,"tag":484,"props":1911,"children":1912},{},[1913,1915,1920],{"type":576,"value":1914},"Who can read and write this field. See ",{"type":1809,"tag":700,"props":1916,"children":1917},{"href":206},[1918],{"type":576,"value":1919},"Access control",{"type":576,"value":1025},{"data":1922,"body":1923},{},{"type":1806,"children":1924},[1925],{"type":1809,"tag":484,"props":1926,"children":1927},{},[1928,1930,1936,1938,1942],{"type":576,"value":1929},"In a localized collection, every field is stored per language. ",{"type":1809,"tag":488,"props":1931,"children":1933},{"className":1932},[],[1934],{"type":576,"value":1935},"false",{"type":576,"value":1937}," shares this field between languages. Only on top-level fields. See ",{"type":1809,"tag":700,"props":1939,"children":1940},{"href":168},[1941],{"type":576,"value":167},{"type":576,"value":1025},{"data":1944,"body":1945},{},{"type":1806,"children":1946},[1947],{"type":1809,"tag":484,"props":1948,"children":1949},{},[1950,1952,1956],{"type":576,"value":1951},"Functions that run for this field on every write and read, before the collection's hooks. See ",{"type":1809,"tag":700,"props":1953,"children":1954},{"href":172},[1955],{"type":576,"value":171},{"type":576,"value":1025},{"data":1958,"body":1959},{},{"type":1806,"children":1960},[1961],{"type":1809,"tag":484,"props":1962,"children":1963},{},[1964],{"type":576,"value":1965},"The admin does not show the input. The value still saves. Use it for values a hook sets.",{"data":1967,"body":1968},{},{"type":1806,"children":1969},[1970],{"type":1809,"tag":484,"props":1971,"children":1972},{},[1973],{"type":576,"value":1974},"The admin shows the input disabled. Code and hooks can still write it.",{"data":1976,"body":1977},{},{"type":1806,"children":1978},[1979],{"type":1809,"tag":484,"props":1980,"children":1981},{},[1982,1984,1990],{"type":576,"value":1983},"The share of the row the field takes. Fields next to each other fill a row. In a narrow form, every field takes the full width. Default ",{"type":1809,"tag":488,"props":1985,"children":1987},{"className":1986},[],[1988],{"type":576,"value":1989},"\"full\"",{"type":576,"value":1025},{"data":1992,"body":1993},{},{"type":1806,"children":1994},[1995],{"type":1809,"tag":484,"props":1996,"children":1997},{},[1998],{"type":576,"value":1999},"A line above the field, to break up a long form. A string adds a heading above the line.",{"data":2001,"body":2002},{},{"type":1806,"children":2003},[2004],{"type":1809,"tag":484,"props":2005,"children":2006},{},[2007,2009,2015],{"type":576,"value":2008},"The tab that shows this field. Define the tabs with ",{"type":1809,"tag":488,"props":2010,"children":2012},{"className":2011},[],[2013],{"type":576,"value":2014},"tabs",{"type":576,"value":2016}," on the collection, global, group or list item.",{"data":2018,"body":2019},{},{"type":1806,"children":2020},[2021],{"type":1809,"tag":484,"props":2022,"children":2023},{},[2024,2026,2032],{"type":576,"value":2025},"The box that holds this field. Define the boxes with ",{"type":1809,"tag":488,"props":2027,"children":2029},{"className":2028},[],[2030],{"type":576,"value":2031},"fieldsets",{"type":576,"value":1025},1795884716564]