How to programmatically open a URL in the FE sidebar?

Created on 13 October 2024, 2 months ago

Problem/Motivation

I've recently been working on the Fullcalendar module , and in particular the ability to have different methods for an editor to create a new event via double-click to a day or time in the calendar. If it wouldn't be a lot of work, I would like to support opening the form in the Frontend Editing sidebar.

Proposed resolution

I don't really know if there's an existing JS method meant to support this, or if something else would need to be done for the sidebar element to be available.

I see that frontend_editing.js defines a frontendEditing behavior, but this seems intended to work on a link element. Is there anything similar that would operate if passed the URL to the edit form?

💬 Support request
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada mandclu

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024