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

推荐订阅源

Microsoft Azure Blog
Microsoft Azure Blog
有赞技术团队
有赞技术团队
IT之家
IT之家
博客园 - 聂微东
Jina AI
Jina AI
Hugging Face - Blog
Hugging Face - Blog
Last Week in AI
Last Week in AI
Apple Machine Learning Research
Apple Machine Learning Research
WordPress大学
WordPress大学
小众软件
小众软件
爱范儿
爱范儿
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
Visual Studio Blog
雷峰网
雷峰网
酷 壳 – CoolShell
酷 壳 – CoolShell
阮一峰的网络日志
阮一峰的网络日志
宝玉的分享
宝玉的分享
博客园 - 三生石上(FineUI控件)
大猫的无限游戏
大猫的无限游戏
博客园 - Franky
量子位
月光博客
月光博客
博客园 - 【当耐特】
博客园 - 叶小钗

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 Make content editing more visual: upgraded Editable Regions 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
Editor Link Modals
2018-07-18 · via CloudCannon Blog

Front matter is a great way to structure content and metadata for a Jekyll website. We've made some updates to allow you to further integrate your front matter into your editing experience.

The right sidebar is the default place to edit your front matter in the Visual and Content Editors. CloudCannon builds an easy to use interface around each of your fields, controlled by an intuitive naming scheme. With larger sets of front matter, it's sometimes difficult for editors to connect where the changes appear. Editor Links help bridge this context gap.

Editor Links are contextual pointers to front matter fields and other pages in the Visual Editor. The default behaviour of a front matter Editor Link is to highlight the associated front matter field in the sidebar. For example, an Edit Title button that highlights the page.title field so editors know where to change it.

Editor Links can be styled to fit the brand of your site, and are not displayed on your live site.

Example front matter Editor Link

Modals Direct link to this section

We've added the option to have Editor Links open front matter fields in a modal pop up. Use this option to keep your editors inside the Visual Editor where context is at its peak.

Modals display the linked field only and provide more screen space than the sidebar. This is particularly useful with Rich Text fields.

Example modal front matter Editor Link

Open Editor Links in a modal by setting the data-cms-editor-link-style attribute to modal, or by hiding them in the sidebar.

<a href="cloudcannon:#title" data-cms-editor-link-style="modal">Edit the title</a>

CloudCannon adds the cms-editor-link-dirty class to Editor Links after changes are made using the modal style. Use this to add styles indicating that changes are pending in the editor.

Hiding fields Direct link to this section

You can hide specific fields in the sidebar to prevent changes from editors, or to move front matter editing into modals.

Editor Links pointing to hidden fields will open in a modal as they can't be highlighted in the sidebar.

Hide fields by prefixing the key with an underscore (e.g. _hidden_text) or with editing options (e.g. setting _options.layout.hidden to true).


See our official documentation for more details on setting up your first Editor Link.