-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
FrameworkIssues related to broader framework topics, especially as it relates to javascriptIssues related to broader framework topics, especially as it relates to javascript
Description
In some places, we need to build and redirect to wp-admin URLs. In order to achieve this, we'll have to provide the baseUrl of wp-admin to JS.
We're already building URLs to the gutenberg editor by parsing the current URL and appending a query string but this not enough to navigate to other wp-admin pages. (see #862 (comment))
How do you think we should do this? append the base URL to the settings endpoint? provide a global JS variable while initializing the Editor?
Metadata
Metadata
Assignees
Labels
FrameworkIssues related to broader framework topics, especially as it relates to javascriptIssues related to broader framework topics, especially as it relates to javascript