-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SDK: Unable to Edit Unpublished Page in Angular Example (#30542)
This pull request includes several updates to the `DotCMSPagesComponent` in the Angular example application. The changes primarily focus on integrating editor-related functionality and improving code formatting. ### Editor Integration: * Added `DOTCMS_CLIENT_TOKEN` import and injected it into the `DotCMSPagesComponent` to enable editor-related functionalities. [[1]](diffhunk://#diff-db19dde961c6af3dbddd86db7544e4ea4ff42baae9095cee4e3017c1d4dcb395L20-R26) [[2]](diffhunk://#diff-db19dde961c6af3dbddd86db7544e4ea4ff42baae9095cee4e3017c1d4dcb395R66-R85) * Implemented a new method `#listenToEditorChanges` to handle editor changes and update the component state accordingly. ### Code Formatting: * Reformatted the import statements for better readability and maintainability. * Adjusted the method signature formatting for `#setPageContent` to be consistent with the rest of the codebase. ### Video https://github.com/user-attachments/assets/7ee487ce-412f-4504-8ff1-f92dac86beee --------- Co-authored-by: Jalinson Diaz <[email protected]>
- Loading branch information
1 parent
d3b8f06
commit 74e0c68
Showing
2 changed files
with
30 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters