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