Skip to content

Commit

Permalink
- update universal editor docs
Browse files Browse the repository at this point in the history
* fix CR
  • Loading branch information
irenelagno committed May 3, 2024
1 parent a3ca82e commit b621368
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pages/services/aem-universal-editor/api/modal/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ function ExtensionRegistration() {
label: 'Modal Dialog',
icon: 'PublishSchedule',
onClick: async () => {
console.log('Button has been pressed.');
// absolute or relative path
const url: "/index.html#/modal";
console.log('Button has been pressed.');
const url = "/index.html#/modal"; // absolute or relative path
guestConnection.host.modal.showUrl({
title: 'Modal Dialog: ',
url,
Expand Down

0 comments on commit b621368

Please sign in to comment.