惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

量子位
Stack Overflow Blog
Stack Overflow Blog
人人都是产品经理
人人都是产品经理
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
Vercel News
Vercel News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Y
Y Combinator Blog
The Cloudflare Blog
Last Week in AI
Last Week in AI
B
Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
Tailwind CSS Blog
V
Visual Studio Blog
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
Google DeepMind News
Google DeepMind News
D
DataBreaches.Net
博客园 - 司徒正美
B
Blog RSS Feed
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
Hugging Face - Blog
Hugging Face - Blog
L
LangChain Blog

CloudCannon Blog

Building with AI: Git-based vs headless vs traditional CMS CloudCannon + Astro: performance meets powerful content management Introducing the Astro Component Starter Introducing Jetstream — built on the Astro Component Starter Why we switched to the system font stack Redesigning CloudCannon’s docs with Diátaxis, Lume, and Pagefind How Configuration Mode makes building editing interfaces easy Your hosting just got an upgrade (and a price cut) Custom testing domains for professional branding Keep your content consistent with input validation Managing multilingual content in CloudCannon Simplify team publishing with conflict resolution and domain tools Open Beta: Publishing Conflict Resolution Getting started with CloudCannon and Astro: Bookshop, components, and live editing Welcome to the CloudCannon Community! Omnichannel delivery is just marketing spin from API-based CMS companies Getting started with CloudCannon and Astro: Snippets and Collections Managing digital assets in CloudCannon: a guide to smart asset storage Understanding CloudCannon's branching workflows and Projects: a complete guide What is a static website? CloudCannon’s 2024 wrapped Getting started with CloudCannon and Astro: WYSIWYG blogging Jamstack vs. WordPress: reasons to make the change The top five static site generators for 2025 (and when to use them!) Free Jekyll themes for 2025: ten great community options Eleventy (11ty) vs. Hugo How to set up WYSIWYG editing with MkDocs Material The rise of static-first websites: why major brands are making the switch Watching your Core Web Vitals on Jamstack Understanding the difference between static, dynamic, and hybrid websites
Make content editing more visual: upgraded Editable Regions
2025-12-03 · via CloudCannon Blog

For content teams working with static sites, the gap between what you see and what you edit has always been frustratingly wide. They update a markdown file, commit their changes, wait for the build, and then see if their heading looks right. CloudCannon’s visual editing has helped close that gap for years, and our upgraded Editable Regions improve the experience further.

What editable regions can do for your workflow Direct link to this section

Editable Regions transform CloudCannon’s Visual Editor from a preview tool into a proper editing environment. When an editor is looking at their site in CloudCannon, yellow boxes appear around editable content — click into them, and they’re editing directly on the page. No context-switching between content files, sidebars, and the rendered output. No mental translation from code to design.

For developers, implementing Editable Regions is straightforward, provided that your content and layouts are sufficiently separated. Add a couple of HTML attributes to any DOM element in your templates, or insert a web component, and that content becomes visually editable. Here’s what it looks like in practice:

<h1 data-editable="text" data-prop="title">{title}</h1>

Those two attributes — data-editable and data-prop — turn a page title into something your content team can edit directly in CloudCannon’s Visual Editor. You can make entire collections of content files visually editable within minutes.

Five types of Editable Regions Direct link to this section

CloudCannon supports five distinct types of Editable Regions, each designed for specific content needs:

Text Editable Regions let your team edit text values from front matter, content, or HTML with either plain text or rich text formatting. If you’re working with headings, paragraphs, or any text-based content, this is your primary tool.

Image Editable Regions handle everything image-related. Upload from local storage, select from your repository or DAM, and manage image metadata like alt text and titles — all without leaving the Visual Editor.

Source Editable Regions give you direct access to edit rich text stored as HTML, providing more control when you need to work with formatted content at the markup level.

Array Editable Regions let you manipulate array values stored in front matter. Add items, remove them, reorder them — perfect for buttons, lists, galleries, or any repeating content structure generated by your templating.

Component Editable Regions allow you to work with more complex, modular content structures, giving you the flexibility to edit component-based architectures visually.

Why this matters for your team Direct link to this section

The benefit here isn’t just convenience — it’s about reducing friction in your content workflow. When your content team can see their changes in context immediately, they make better decisions. They catch layout issues before they go live. They understand how their content actually works within your design system.

For developers, Editable Regions mean faster initial setup time, and fewer “can you just change this heading?” requests. Set up your templates once with the appropriate data attributes, and your content team has direct access to everything they need.

CloudCannon’s approach to visual editing respects the structure of your static site while making it accessible to non-technical team members. You’re not compromising on your build process or code quality — you’re simply making the editing experience match the sophistication of your output.

Setting up Editable Regions Direct link to this section

Setting up Editable Regions is straightforward once you understand the basic patterns to follow. The video below demonstrates how to add the necessary HTML attributes to your templates, starting with a simple text region and progressing through more complex scenarios. You'll see how to make headings, paragraphs, images, and arrays editable, and watch those yellow editing boxes appear in CloudCannon's Visual Editor as each region is configured. By the end, you'll have a clear sense of how to transform your static site templates into a fully visual editing experience.

Our documentation includes a complete setup guide for visual editing, along with reference documentation covering all available HTML attributes for configuration.