ivovalchev/edit-this-page

✏️ Bolt 4 extension to add Edit page button for Editors on frontend pages

Installs: 2 528

Dependents: 0

Suggesters: 0

Security: 0

Stars: 4

Watchers: 2

Forks: 2

Open Issues: 3

Language:Twig

Type:bolt-extension

v1.3.1 2022-10-11 07:47 UTC

This package is auto-updated.

Last update: 2024-04-11 10:47:49 UTC


README

Bolt 4 extension to add Edit page button for Editors on frontend pages.

Installation

composer require ivovalchev/edit-this-page

Configuration

By default, the Edit button will appear in the bottom right corner of a record page. To override this setting, edit config/extensions/ivovalchev-editthispageextension.yaml:

position: bottom-right # top-left top-right bottom-left bottom-right

Custom styles

By default, the Edit button will take the styles of a button in your theme. To apply specific styles, you can use the following css selector, e.g.:

.bolt-edit-this-page button {
    background-color: orange;
}