Skip to content

Enabling One-Click-Edit#

One-Click-Edit is a powerful browser extension provided by Imperia that allows editors to easily edit documents when visiting the corresponding web page. This chapter will guide you on how to incorporate the necessary elements into your Imperia templates to enable the One-Click-Edit functionality.

Adding into Template#

<!DOCTYPE html>
<html lang="de">
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><!--XX-title--></title>
  <link rel="stylesheet" href="/imperia/css/dist/bamboo.min.css">
  <!--IMPERIA:ONECLICKEDIT-->
</head> 

<!-- Rest of the imperia Template -->

In this example of an imperia template, the necessary markup is included to enable the One-Click-Edit (OCE) functionality. The <!--IMPERIA:ONECLICKEDIT--> comment serves as a placeholder for Imperia to inject the required code and configuration related to the OCE browser extension.

This integration provides a seamless editing experience for content authors, empowering them to efficiently manage and update content within the Imperia CMS.