getLivePreviewUrl() #16434
-
Like This would be a great addition for casual users, as this is one of the most user friendly parts of the cp. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I just added a new You can render links to it like so: {% if canSave(entry) %}
<a href="{{ cpUrl("preview/#{entry.id}") }}">Edit this entry</a>
{% endif %} |
Beta Was this translation helpful? Give feedback.
I just added a new
preview/<elementId>
control panel route for Craft 5.6, which renders a standalone Live Preview editor for an element (#16441).You can render links to it like so: